Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05475/0.05475, allocations: 11.85 MB / 281.6 MB, free: 9.441 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 71.41 kB / 341.9 MB, free: 21.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07943/0.08174, allocations: 49.22 MB / 391.2 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.003731/0.0855, allocations: 2.632 MB / 393.8 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.08671, allocations: 0.7057 MB / 394.5 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.08685, allocations: 4 kB / 394.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.087, allocations: 27.7 kB / 394.5 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.08735, allocations: 107.2 kB / 394.6 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.08752, allocations: 51.92 kB / 394.7 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.08779, allocations: 246.8 kB / 394.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.08794, allocations: 61.58 kB / 395 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.08809, allocations: 87.7 kB / 395.1 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.08826, allocations: 103.5 kB / 395.2 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.08829, allocations: 16 kB / 395.2 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.0884, allocations: 31.98 kB / 395.2 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.08844, allocations: 39.83 kB / 395.2 MB, free: 492 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.984e-05/0.08855, allocations: 99.55 kB / 395.3 MB, free: 392 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.08879, allocations: 207.5 kB / 395.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.0888, allocations: 0 / 395.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.08881, allocations: 0 / 395.5 MB, free: 184 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.08882, allocations: 0 / 395.5 MB, free: 184 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006216/0.08945, allocations: 0.5081 MB / 396.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.08949, allocations: 11.89 kB / 396.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.08954, allocations: 54.73 kB / 396.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.465e-05/0.08964, allocations: 20.75 kB / 396.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.08986, allocations: 224 kB / 396.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.08989, allocations: 16.38 kB / 396.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.08993, allocations: 19.94 kB / 396.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.09024, allocations: 187.7 kB / 396.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.09026, allocations: 0 / 396.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.09029, allocations: 4 kB / 396.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.0903, allocations: 7.984 kB / 396.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.09055, allocations: 124.9 kB / 396.7 MB, free: 14.9 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.09168, allocations: 0.9296 MB / 397.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.09196, allocations: 162.7 kB / 397.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.09209, allocations: 52.84 kB / 397.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.09212, allocations: 15.97 kB / 397.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.09215, allocations: 30.56 kB / 397.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.09215, allocations: 0 / 397.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001725/0.09388, allocations: 0.7543 MB / 398.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.09394, allocations: 85.11 kB / 398.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.09409, allocations: 178.7 kB / 398.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.09412, allocations: 33.64 kB / 398.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.09419, allocations: 120.3 kB / 399.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.09424, allocations: 71 kB / 399.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.09433, allocations: 37.7 kB / 399.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.09443, allocations: 322.8 kB / 399.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.09459, allocations: 72.81 kB / 399.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.09474, allocations: 92.25 kB / 399.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.09507, allocations: 214.2 kB / 399.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.09509, allocations: 0 / 399.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003976/0.09549, allocations: 230.9 kB / 400.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.09553, allocations: 37.64 kB / 400.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.09554, allocations: 0 / 400.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.09556, allocations: 4 kB / 400.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.09584, allocations: 63.92 kB / 400.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.09586, allocations: 4 kB / 400.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.09599, allocations: 11.98 kB / 400.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.09601, allocations: 8 kB / 400.2 MB, free: 11.09 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.09621, allocations: 168.3 kB / 400.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.09626, allocations: 23.73 kB / 400.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.09672, allocations: 253.2 kB / 400.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.09673, allocations: 7.938 kB / 400.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.09674, allocations: 3.984 kB / 400.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.09675, allocations: 0 / 400.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.09746, allocations: 0.574 MB / 401.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.09748, allocations: 4 kB / 401.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.09774, allocations: 55.97 kB / 401.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.09775, allocations: 0 / 401.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.09777, allocations: 4 kB / 401.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.09778, allocations: 3.938 kB / 401.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.09779, allocations: 0 / 401.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.09836, allocations: 404.8 kB / 401.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.09846, allocations: 116.9 kB / 401.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.09849, allocations: 0 / 401.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.09864, allocations: 12 kB / 401.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.09869, allocations: 19.97 kB / 401.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.09871, allocations: 4 kB / 401.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.09882, allocations: 135.2 kB / 402 MB, free: 9.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09883, allocations: 0 / 402 MB, free: 9.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.09913, allocations: 52 kB / 402 MB, free: 9.145 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008336/0.09998, allocations: 0.9522 MB / 403 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004112/0.1004, allocations: 219.2 kB / 403.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1004, allocations: 4.25 kB / 403.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.1006, allocations: 139.3 kB / 403.3 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1009, allocations: 35.91 kB / 403.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.1036, allocations: 2.313 MB / 405.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1038, allocations: 0.7325 MB / 406.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.104, allocations: 29.92 kB / 406.4 MB, free: 4.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.1041, allocations: 63.41 kB / 406.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1041, allocations: 0 / 406.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.1257, allocations: 4.735 MB / 411.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/8.667, allocations: 7.938 kB / 411.2 MB, free: 15.76 MB / 318.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTestOpenTank.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)