Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008964/0.0008964, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9475/0.9475, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03559/0.03559, allocations: 8.719 MB / 269 MB, free: 4.414 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple") translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 288.1 MB, free: 1.301 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.537e-05, allocations: 5.828 kB / 288.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple): time 0.1083/0.1083, allocations: 9.188 MB / 297.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006386/0.1147, allocations: 4.961 MB / 302.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007247/0.1154, allocations: 43.34 kB / 302.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008277/0.1162, allocations: 0.6073 MB / 302.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.1178, allocations: 1.306 MB / 304.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.1198, allocations: 1.526 MB / 305.7 MB, free: 9.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.1221, allocations: 3.586 MB / 309.3 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005871/0.1227, allocations: 0.4896 MB / 309.8 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.1243, allocations: 1.767 MB / 311.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008205/0.1251, allocations: 1.114 MB / 312.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.1253, allocations: 247.9 kB / 312.9 MB, free: 4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.1258, allocations: 495.7 kB / 313.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.1261, allocations: 0.6694 MB / 314.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.1266, allocations: 0.896 MB / 315 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.1279, allocations: 2.219 MB / 317.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1279, allocations: 0 / 317.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1279, allocations: 4 kB / 317.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.1279, allocations: 0 / 317.2 MB, free: 15.71 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.002422/0.1304, allocations: 2.852 MB / 320 MB, free: 12.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1304, allocations: 12.03 kB / 320.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.1308, allocations: 320.6 kB / 320.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.132, allocations: 1.049 MB / 321.4 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.1321, allocations: 345 kB / 321.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.1323, allocations: 179.9 kB / 321.9 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1334, allocations: 1.165 MB / 323.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.1335, allocations: 0 / 323.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.1336, allocations: 64 kB / 323.2 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.1336, allocations: 36 kB / 323.2 MB, free: 9.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/0.1344, allocations: 0.6877 MB / 323.9 MB, free: 8.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004212/0.1386, allocations: 3.122 MB / 327 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009666/0.1395, allocations: 0.9287 MB / 327.9 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/0.14, allocations: 487.5 kB / 328.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.838e-05/0.1401, allocations: 45.28 kB / 328.4 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005769/0.1407, allocations: 0.7592 MB / 329.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=165): time 2.835e-06/0.1407, allocations: 0 / 329.2 MB, free: 3.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=187): time 0.004985/0.1456, allocations: 4.498 MB / 333.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/0.1457, allocations: 283 kB / 334 MB, free: 14.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.1468, allocations: 1.343 MB / 335.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.159e-05/0.1469, allocations: 61.7 kB / 335.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.1472, allocations: 0.6261 MB / 336 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.1475, allocations: 0.6544 MB / 336.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003052/0.1478, allocations: 315.3 kB / 337 MB, free: 11.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.1478, allocations: 301.1 kB / 337.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.1482, allocations: 393.5 kB / 337.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.1487, allocations: 0.7975 MB / 338.4 MB, free: 9.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.15, allocations: 1.686 MB / 340.1 MB, free: 7.402 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.15, allocations: 7.938 kB / 340.1 MB, free: 7.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.001099/0.1511, allocations: 1.282 MB / 341.4 MB, free: 6.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.1512, allocations: 229.6 kB / 341.6 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1512, allocations: 8 kB / 341.7 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1512, allocations: 12 kB / 341.7 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.1522, allocations: 459.3 kB / 342.1 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1522, allocations: 19.94 kB / 342.1 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.1526, allocations: 63.91 kB / 342.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.1527, allocations: 55.97 kB / 342.3 MB, free: 5.129 MB / 298.7 MB Warning: Assuming fixed start value for the following 6 variables: reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = throttleValve.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] doubleActingCylinder.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) \"fraction of flow allowed by cushion\" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) \"fraction of flow allowed by cushion\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder.cylinderChamberHead.empty,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 8 * 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.0004626/0.1531, allocations: 471.8 kB / 342.7 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.1533, allocations: 183.8 kB / 342.9 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.1548, allocations: 1.512 MB / 344.4 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.1548, allocations: 20 kB / 344.4 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1548, allocations: 4 kB / 344.4 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.1548, allocations: 11.97 kB / 344.4 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.1579, allocations: 2.789 MB / 347.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.1579, allocations: 8 kB / 347.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/0.1588, allocations: 411.9 kB / 347.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.209e-05/0.1589, allocations: 32.78 kB / 347.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/0.1589, allocations: 51.97 kB / 347.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005692/0.1595, allocations: 1.196 MB / 348.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1595, allocations: 7.938 kB / 348.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.1612, allocations: 2.072 MB / 351 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.1616, allocations: 254.4 kB / 351.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.1617, allocations: 43.98 kB / 351.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.1621, allocations: 51.98 kB / 351.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.1623, allocations: 153.6 kB / 351.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/0.1623, allocations: 51.97 kB / 351.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005988/0.1629, allocations: 0.7054 MB / 352.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1629, allocations: 0 / 352.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007695/0.1637, allocations: 0.5154 MB / 352.8 MB, free: 9.965 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (reliefValve.valvePosition,doubleActingCylinder.cushionHead.reliefValve.valvePosition,doubleActingCylinder.cushionHead.flowFraction,doubleActingCylinder.cushionRod.reliefValve.valvePosition,doubleActingCylinder.cushionRod.flowFraction,doubleActingCylinder.damper.s_rel,doubleActingCylinder.damper.v_rel,doubleActingCylinder.leakage_Head2Env.port_b.p,doubleActingCylinder.leakage_Rod2Env.port_b.p,throttleValve.port_b.p,j1.volumeClosed.port[2].p) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty) * Number of discrete states: 2 ($whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/0.1649, allocations: 0.6069 MB / 353.4 MB, free: 9.621 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.166, allocations: 1.653 MB / 355 MB, free: 7.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/0.1661, allocations: 16 kB / 355 MB, free: 7.754 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.1668, allocations: 1.263 MB / 356.3 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.168, allocations: 0.63 MB / 356.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.1721, allocations: 3.96 MB / 360.9 MB, free: 1.645 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1725, allocations: 440.9 kB / 361.3 MB, free: 1.188 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007612/0.1732, allocations: 327.6 kB / 361.6 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.1743, allocations: 0.6044 MB / 362.2 MB, free: 256 kB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1743, allocations: 0 / 362.2 MB, free: 256 kB / 314.7 MB Notification: Performance of Templates: time 0.03984/0.2142, allocations: 36.4 MB / 398.6 MB, free: 12.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5217040181159973]