Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitOnOff.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/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001145/0.001145, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.154/1.154, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007855/0.007855, allocations: 1.935 MB / 272.5 MB, free: 10.05 MB / 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: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 66.05 kB / 378.9 MB, free: 51.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05803/0.05936, allocations: 47.14 MB / 426 MB, free: 19.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.002923/0.06232, allocations: 3.392 MB / 429.4 MB, free: 16.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.06322, allocations: 0.8773 MB / 430.3 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.06335, allocations: 8 kB / 430.3 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.06349, allocations: 63.36 kB / 430.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.06368, allocations: 142.7 kB / 430.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.06393, allocations: 123.7 kB / 430.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.06426, allocations: 0.5173 MB / 431.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.06444, allocations: 148.8 kB / 431.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.06458, allocations: 199.2 kB / 431.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.06474, allocations: 199.1 kB / 431.7 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.06479, allocations: 44 kB / 431.7 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.527e-05/0.06487, allocations: 48 kB / 431.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.06492, allocations: 95.62 kB / 431.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.06504, allocations: 222.9 kB / 432.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.06532, allocations: 470.4 kB / 432.5 MB, free: 13.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.06533, allocations: 3.984 kB / 432.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.06534, allocations: 0 / 432.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.06535, allocations: 0 / 432.6 MB, free: 13.41 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009452/0.0663, allocations: 0.7323 MB / 433.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.322e-05/0.06633, allocations: 15.89 kB / 433.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.0664, allocations: 48.38 kB / 433.3 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.06665, allocations: 315.4 kB / 433.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.06668, allocations: 25.03 kB / 433.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.06672, allocations: 39.94 kB / 433.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.06717, allocations: 298 kB / 434 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.06719, allocations: 0 / 434 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.06722, allocations: 16 kB / 434 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.06723, allocations: 8 kB / 434 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.06766, allocations: 238.5 kB / 434.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.06869, allocations: 0.9168 MB / 435.2 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.06912, allocations: 271.2 kB / 435.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.06932, allocations: 113.3 kB / 435.6 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.06935, allocations: 4.219 kB / 435.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.06963, allocations: 187.4 kB / 435.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.06964, allocations: 7.984 kB / 435.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001798/0.07144, allocations: 1.212 MB / 437 MB, free: 8.738 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.07147, allocations: 55.41 kB / 437 MB, free: 8.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.07167, allocations: 308.5 kB / 437.3 MB, free: 8.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.0717, allocations: 33.7 kB / 437.4 MB, free: 8.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.07177, allocations: 192.6 kB / 437.5 MB, free: 8.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.07182, allocations: 118.4 kB / 437.7 MB, free: 8.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/0.07191, allocations: 77.92 kB / 437.7 MB, free: 7.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.07196, allocations: 346.8 kB / 438.1 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.07217, allocations: 114.4 kB / 438.2 MB, free: 7.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.0724, allocations: 153.6 kB / 438.3 MB, free: 7.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.0728, allocations: 278 kB / 438.6 MB, free: 7.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.07281, allocations: 0 / 438.6 MB, free: 7.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005172/0.07333, allocations: 389.6 kB / 439 MB, free: 6.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.07336, allocations: 33.7 kB / 439 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.07337, allocations: 0 / 439 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.07339, allocations: 7.984 kB / 439 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.07367, allocations: 71.97 kB / 439.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.07368, allocations: 4 kB / 439.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.0739, allocations: 23.97 kB / 439.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.07393, allocations: 12 kB / 439.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002538/0.07418, allocations: 220.5 kB / 439.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001986/0.07439, allocations: 141.1 kB / 439.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003694/0.07477, allocations: 283.9 kB / 439.8 MB, free: 5.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.07478, allocations: 0 / 439.8 MB, free: 5.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0004937/0.07527, allocations: 382.6 kB / 440.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.0753, allocations: 49.59 kB / 440.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.0753, allocations: 0 / 440.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-06/0.07531, allocations: 0 / 440.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.07556, allocations: 67.91 kB / 440.3 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.07557, allocations: 7.984 kB / 440.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.07577, allocations: 27.97 kB / 440.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.07579, allocations: 12 kB / 440.3 MB, free: 5.254 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (controller.on,$PRE.controller.on,opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 6.288e-05/0.07586, allocations: 196.7 kB / 440.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.0759, allocations: 47.56 kB / 440.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.07642, allocations: 336.8 kB / 440.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.07643, allocations: 4 kB / 440.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.07644, allocations: 0 / 440.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.07644, allocations: 3.984 kB / 440.9 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008736/0.07732, allocations: 0.8813 MB / 441.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.07734, allocations: 3.984 kB / 441.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.07765, allocations: 83.83 kB / 441.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.07767, allocations: 4 kB / 441.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.07769, allocations: 8 kB / 441.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.0777, allocations: 160 / 441.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.0777, allocations: 11.94 kB / 441.9 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.07839, allocations: 0.5865 MB / 442.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.861e-05/0.0785, allocations: 140.6 kB / 442.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.07855, allocations: 12 kB / 442.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.07879, allocations: 27.97 kB / 442.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.07886, allocations: 31.89 kB / 442.7 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.07888, allocations: 12 kB / 442.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.07902, allocations: 223.1 kB / 442.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07902, allocations: 3.938 kB / 442.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.07942, allocations: 148 kB / 443 MB, free: 2.375 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.338e-05/0.07951, allocations: 111.2 kB / 443.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007355/0.08025, allocations: 0.5457 MB / 443.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.08026, allocations: 4.062 kB / 443.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.08051, allocations: 151.8 kB / 443.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.08091, allocations: 61.08 kB / 443.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.08208, allocations: 0.9646 MB / 444.9 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.08232, allocations: 0.7962 MB / 445.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.08243, allocations: 31.44 kB / 445.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08243, allocations: 0 / 445.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of Templates: time 0.005503/0.08794, allocations: 4.446 MB / 450.1 MB, free: 11.15 MB / 334.1 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile (rm -f MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitOnOff.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitOnOff.sim & ./MEV_MEV.Test.TestCylinderUnitOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)