Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.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: translateModel(OpenHydraulics.DevelopmentTests.LossyPumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.LossyPumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 115.2 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.412/1.412, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05696/0.05696, allocations: 11.85 MB / 282.4 MB, free: 228 kB / 222.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.00171/0.00171, allocations: 73.16 kB / 393 MB, free: 45.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08329/0.08501, allocations: 49.22 MB / 442.2 MB, free: 2.082 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Continuous.mo:900:5-900:57:writable] Warning: Parameter idealPump1.swashPlatePD.yMax has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.LossyPumpTestSimple): time 0.00858/0.09363, allocations: 7.182 MB / 449.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005009/0.09868, allocations: 2.101 MB / 451.5 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.1003, allocations: 31.88 kB / 451.5 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008988/0.1012, allocations: 198 kB / 451.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.1036, allocations: 0.5579 MB / 452.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.1052, allocations: 0.5226 MB / 452.8 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0032/0.1084, allocations: 2.146 MB / 455 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.1096, allocations: 0.7224 MB / 455.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.111, allocations: 0.7475 MB / 456.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.1123, allocations: 0.8325 MB / 457.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004151/0.1128, allocations: 172 kB / 457.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006747/0.1134, allocations: 212 kB / 457.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004537/0.1139, allocations: 378.7 kB / 458 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.1152, allocations: 0.8322 MB / 458.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.1179, allocations: 1.971 MB / 460.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1179, allocations: 0 / 460.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1179, allocations: 0 / 460.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.443e-05/0.118, allocations: 0 / 460.8 MB, free: 15.4 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.003901/0.1219, allocations: 1.712 MB / 462.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.122, allocations: 11.89 kB / 462.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000474/0.1225, allocations: 163.1 kB / 462.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.1239, allocations: 0.8561 MB / 463.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.124, allocations: 115.9 kB / 463.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.1242, allocations: 116 kB / 463.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.1266, allocations: 1.261 MB / 465 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/0.1266, allocations: 7.906 kB / 465.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.1268, allocations: 48 kB / 465.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.1268, allocations: 27.98 kB / 465.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.1287, allocations: 0.9728 MB / 466.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007711/0.1364, allocations: 5.5 MB / 471.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.1379, allocations: 0.8095 MB / 472.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.1387, allocations: 378.6 kB / 472.8 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/0.1387, allocations: 8.656 kB / 472.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008093/0.1396, allocations: 490 kB / 473.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=76): time 3.035e-06/0.1396, allocations: 0 / 473.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.008306/0.1479, allocations: 3.579 MB / 476.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.148, allocations: 162.9 kB / 477 MB, free: 14.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.1494, allocations: 0.9736 MB / 478 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.425e-05/0.1495, allocations: 45.7 kB / 478 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.15, allocations: 0.558 MB / 478.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/0.1503, allocations: 291.8 kB / 478.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.1506, allocations: 166.6 kB / 479 MB, free: 12.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1507, allocations: 349.9 kB / 479.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007278/0.1515, allocations: 379.5 kB / 479.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/0.1523, allocations: 0.5828 MB / 480.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004478/0.1568, allocations: 1.787 MB / 482.1 MB, free: 8.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.1569, allocations: 4 kB / 482.1 MB, free: 8.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002258/0.1591, allocations: 1.156 MB / 483.3 MB, free: 7.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.1592, allocations: 37.7 kB / 483.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.1592, allocations: 11.94 kB / 483.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.1595, allocations: 141.9 kB / 483.5 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008791/0.1604, allocations: 219.6 kB / 483.7 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/0.1635, allocations: 3.326 MB / 487 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.1646, allocations: 75.84 kB / 487.1 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.1647, allocations: 39.98 kB / 487.1 MB, free: 3.613 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real accumulator.liquidChamber.port[1].p:VARIABLE(flow=false min = 0.0 start = idealPump1.fluidPower2MechRotVar.p_init unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [1] accumulator.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001308/0.1661, allocations: 0.6308 MB / 487.7 MB, free: 2.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008176/0.1669, allocations: 0.5594 MB / 488.3 MB, free: 2.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004296/0.1712, allocations: 1.763 MB / 490.1 MB, free: 444 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.098e-05/0.1712, allocations: 7.875 kB / 490.1 MB, free: 436 kB / 366.1 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002425/0.1737, allocations: 1.132 MB / 491.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.1737, allocations: 33.7 kB / 491.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.1738, allocations: 15.92 kB / 491.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.174, allocations: 138 kB / 491.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008413/0.1749, allocations: 211.7 kB / 491.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.1781, allocations: 3.337 MB / 494.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.1793, allocations: 71.91 kB / 495 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.1794, allocations: 40 kB / 495 MB, free: 11.15 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real accumulator.liquidChamber.port[1].p:VARIABLE(flow=false min = 0.0 start = idealPump1.fluidPower2MechRotVar.p_init unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [1] accumulator.damper.v_rel:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.prefer ) "Relative velocity (= der(s_rel))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 11 (idealPump1.mechanicalPumpLosses.free,accumulator.gasChamber.empty,accumulator.liquidChamber.empty,idealPump1.mechanicalPumpLosses.mode,$PRE.idealPump1.mechanicalPumpLosses.mode,idealPump1.mechanicalPumpLosses.locked,idealPump1.mechanicalPumpLosses.startBackward,$PRE.idealPump1.mechanicalPumpLosses.startBackward,idealPump1.mechanicalPumpLosses.startForward,$PRE.idealPump1.mechanicalPumpLosses.startForward,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000523/0.1799, allocations: 279.7 kB / 495.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/0.1803, allocations: 126.5 kB / 495.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.1825, allocations: 0.9581 MB / 496.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.1825, allocations: 3.984 kB / 496.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.1825, allocations: 8 kB / 496.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006728/0.1832, allocations: 275.6 kB / 496.7 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003179/0.1835, allocations: 35.86 kB / 496.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007762/0.1843, allocations: 59.94 kB / 496.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.1845, allocations: 80.91 kB / 496.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002544/0.1871, allocations: 1.229 MB / 498.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00285/0.1899, allocations: 1.618 MB / 499.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007128/0.1907, allocations: 395.8 kB / 0.4884 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001196/0.1919, allocations: 0.6748 MB / 0.489 GB, free: 5.32 MB / 382.1 MB Notification: Performance of Backend: time 4.6e-07/0.1919, allocations: 0 / 0.489 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004352/0.1963, allocations: 1.739 MB / 0.4907 GB, free: 3.508 MB / 382.1 MB Notification: Invalid unit expression 'N/ (m/s)'. Notification: Performance of SimCode: time 0.005381/0.2017, allocations: 2.942 MB / 0.4936 GB, free: 0.5 MB / 382.1 MB Notification: Performance of Templates: time 0.03903/0.2407, allocations: 23.62 MB / 0.5167 GB, free: 8.992 MB / 414.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.LossyPumpTestSimple.pipe 2>&1)