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.002245/0.002245, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002753/0.002753, allocations: 225.7 kB / 22.25 MB, free: 3.57 MB / 13.93 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 1.728/1.728, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] 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.06679/0.06679, allocations: 11.34 MB / 323.8 MB, free: 6.773 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: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003616/0.003616, allocations: 73.92 kB / 451.2 MB, free: 35.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09413/0.09775, allocations: 55.96 MB / 0.4953 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple): time 0.01223/0.11, allocations: 8.307 MB / 0.5034 GB, free: 2.832 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.1201, allocations: 4.726 MB / 0.508 GB, free: 14.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.1218, allocations: 43.69 kB / 0.5081 GB, free: 14.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.1233, allocations: 0.6057 MB / 0.5087 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.1265, allocations: 1.255 MB / 0.5099 GB, free: 12.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.1302, allocations: 1.565 MB / 0.5114 GB, free: 10.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005291/0.1355, allocations: 3.476 MB / 0.5148 GB, free: 7.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009831/0.1365, allocations: 475.1 kB / 0.5153 GB, free: 6.645 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.1385, allocations: 1.206 MB / 0.5164 GB, free: 5.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.1404, allocations: 1.241 MB / 0.5176 GB, free: 4.188 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004157/0.1408, allocations: 248 kB / 0.5179 GB, free: 3.945 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.1419, allocations: 475.8 kB / 0.5183 GB, free: 3.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007406/0.1426, allocations: 0.6578 MB / 0.519 GB, free: 2.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.144, allocations: 1.069 MB / 0.52 GB, free: 1.746 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004889/0.1489, allocations: 3.616 MB / 0.5236 GB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1489, allocations: 0 / 0.5236 GB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1489, allocations: 0 / 0.5236 GB, free: 14.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.575e-05/0.1489, allocations: 0 / 0.5236 GB, free: 14.12 MB / 394.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.005428/0.1543, allocations: 2.935 MB / 0.5264 GB, free: 11.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1544, allocations: 15.98 kB / 0.5264 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006332/0.155, allocations: 303.1 kB / 0.5267 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/0.1581, allocations: 1.537 MB / 0.5282 GB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/0.1584, allocations: 340.7 kB / 0.5286 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.1587, allocations: 167.9 kB / 0.5287 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003663/0.1624, allocations: 1.846 MB / 0.5305 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.1624, allocations: 0 / 0.5305 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.1626, allocations: 67.98 kB / 0.5306 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/0.1626, allocations: 36 kB / 0.5306 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/0.1663, allocations: 1.818 MB / 0.5324 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.1773, allocations: 4.98 MB / 0.5373 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003181/0.1805, allocations: 1.636 MB / 0.5389 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.1822, allocations: 0.8742 MB / 0.5397 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.1824, allocations: 37.28 kB / 0.5397 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001981/0.1843, allocations: 1.095 MB / 0.5408 GB, free: 11.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 4.408e-06/0.1843, allocations: 0 / 0.5408 GB, free: 11.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.0164/0.2007, allocations: 7.098 MB / 0.5477 GB, free: 4.504 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002319/0.201, allocations: 291.1 kB / 0.548 GB, free: 4.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003441/0.2044, allocations: 1.923 MB / 0.5499 GB, free: 2.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.2046, allocations: 61.69 kB / 0.55 GB, free: 2.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.2056, allocations: 0.9235 MB / 0.5509 GB, free: 1.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007262/0.2063, allocations: 0.6545 MB / 0.5515 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005857/0.2069, allocations: 315.5 kB / 0.5518 GB, free: 264 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.175/0.3819, allocations: 308.9 kB / 0.5521 GB, free: 54.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.3836, allocations: 0.8009 MB / 0.5529 GB, free: 54.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.3851, allocations: 1.213 MB / 0.5541 GB, free: 53.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.3967, allocations: 4.386 MB / 0.5583 GB, free: 51.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.3967, allocations: 1.156 kB / 0.5583 GB, free: 51.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.003638/0.4003, allocations: 2.333 MB / 0.5606 GB, free: 50.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.012e-05/0.4004, allocations: 225.1 kB / 0.5608 GB, free: 50.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.4004, allocations: 6.594 kB / 0.5608 GB, free: 50.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/0.4004, allocations: 14.38 kB / 0.5609 GB, free: 50.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.4022, allocations: 423.6 kB / 0.5613 GB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/0.4022, allocations: 20.3 kB / 0.5613 GB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.4032, allocations: 67.05 kB / 0.5613 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.4034, allocations: 75.88 kB / 0.5614 GB, free: 50 MB / 410.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 = j1.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 (throttleValve.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.cushionRestriction.data.zetaLaminarKnown,reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder.cylinderChamberHead.empty,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2) * 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.001185/0.4046, allocations: 0.8231 MB / 0.5622 GB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/0.405, allocations: 221.4 kB / 0.5624 GB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004181/0.4092, allocations: 2.494 MB / 0.5649 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/0.4092, allocations: 20.03 kB / 0.5649 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.4092, allocations: 1.766 kB / 0.5649 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.4092, allocations: 10.22 kB / 0.5649 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007315/0.4165, allocations: 4.587 MB / 0.5694 GB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.4166, allocations: 7.375 kB / 0.5694 GB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/0.4183, allocations: 377.9 kB / 0.5697 GB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/0.4184, allocations: 39.64 kB / 0.5698 GB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.4185, allocations: 53.53 kB / 0.5698 GB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007602/0.4193, allocations: 1.316 MB / 0.5711 GB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4193, allocations: 8.656 kB / 0.5711 GB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004502/0.4238, allocations: 3.625 MB / 0.5747 GB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/0.4246, allocations: 403.2 kB / 0.5751 GB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.4248, allocations: 43.84 kB / 0.5751 GB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/0.4257, allocations: 63.19 kB / 0.5752 GB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/0.4259, allocations: 148.3 kB / 0.5753 GB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.426, allocations: 78.81 kB / 0.5754 GB, free: 41.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001555/0.4276, allocations: 1.327 MB / 0.5767 GB, free: 40.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4276, allocations: 0 / 0.5767 GB, free: 40.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001347/0.4289, allocations: 0.5166 MB / 0.5772 GB, free: 40.34 MB / 410.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.002813/0.4317, allocations: 0.5317 MB / 0.5777 GB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002801/0.4345, allocations: 2.421 MB / 0.5801 GB, free: 37.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4345, allocations: 3.938 kB / 0.5801 GB, free: 37.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.4361, allocations: 1.665 MB / 0.5817 GB, free: 35.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.4383, allocations: 0.6114 MB / 0.5823 GB, free: 35.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006881/0.4452, allocations: 4.839 MB / 0.587 GB, free: 30.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009297/0.4462, allocations: 1.017 MB / 0.588 GB, free: 29.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001471/0.4476, allocations: 383.5 kB / 0.5884 GB, free: 28.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/0.4481, allocations: 199.4 kB / 0.5886 GB, free: 28.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4481, allocations: 0 / 0.5886 GB, free: 28.76 MB / 410.7 MB Notification: Performance of Templates: time 0.04969/0.4978, allocations: 35.97 MB / 0.6237 GB, free: 9.195 MB / 426.7 MB " [Timeout remaining time 659] 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.481197651010007]