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.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.0009891/0.0009891, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001008/0.001008, allocations: 177 kB / 23.5 MB, free: 1.047 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8908/0.8908, allocations: 158.6 MB / 185.3 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.005426/0.005426, allocations: 1.443 MB / 239 MB, free: 13.73 MB / 234.7 MB " [Timeout remaining time 180] 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.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(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 304.6 MB, free: 61.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.666e-05, allocations: 3.5 kB / 304.6 MB, free: 61.35 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003469/0.003496, allocations: 3.394 MB / 308 MB, free: 59.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.004999, allocations: 0.8502 MB / 308.9 MB, free: 58.53 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.005181, allocations: 9.312 kB / 308.9 MB, free: 58.53 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.005343, allocations: 57.09 kB / 308.9 MB, free: 58.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.005589, allocations: 162.4 kB / 309.1 MB, free: 58.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.005944, allocations: 124.2 kB / 309.2 MB, free: 58.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.006426, allocations: 0.5378 MB / 309.7 MB, free: 58.01 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.006647, allocations: 103.9 kB / 309.8 MB, free: 57.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.006993, allocations: 290.5 kB / 310.1 MB, free: 57.83 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.007218, allocations: 156.8 kB / 310.3 MB, free: 57.78 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.007278, allocations: 45.25 kB / 310.3 MB, free: 57.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.776e-05/0.007376, allocations: 52.72 kB / 310.4 MB, free: 57.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.00744, allocations: 93.8 kB / 310.5 MB, free: 57.7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.00759, allocations: 154.1 kB / 310.6 MB, free: 57.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.008001, allocations: 331.9 kB / 310.9 MB, free: 57.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.008006, allocations: 1.469 kB / 310.9 MB, free: 57.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.008007, allocations: 0 / 310.9 MB, free: 57.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.008016, allocations: 0 / 310.9 MB, free: 57.47 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009198/0.008936, allocations: 0.7639 MB / 311.7 MB, free: 56.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.008972, allocations: 8.875 kB / 311.7 MB, free: 56.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.009083, allocations: 79.08 kB / 311.8 MB, free: 56.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.009357, allocations: 252.6 kB / 312 MB, free: 56.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.009384, allocations: 27.14 kB / 312.1 MB, free: 56.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.009432, allocations: 32.47 kB / 312.1 MB, free: 56.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.00979, allocations: 290 kB / 312.4 MB, free: 56.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.009804, allocations: 4.422 kB / 312.4 MB, free: 56.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.009829, allocations: 14.41 kB / 312.4 MB, free: 56.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.009841, allocations: 7.906 kB / 312.4 MB, free: 56.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.01005, allocations: 118.2 kB / 312.5 MB, free: 56.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009739/0.01103, allocations: 0.7737 MB / 313.3 MB, free: 55.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.01129, allocations: 171.7 kB / 313.5 MB, free: 55.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.01138, allocations: 63.16 kB / 313.5 MB, free: 55.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.0114, allocations: 5.672 kB / 313.5 MB, free: 55.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.01159, allocations: 194.2 kB / 313.7 MB, free: 55.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.01159, allocations: 1.25 kB / 313.7 MB, free: 55.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001232/0.01282, allocations: 0.8678 MB / 314.6 MB, free: 55.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.01285, allocations: 63.31 kB / 314.7 MB, free: 54.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.01303, allocations: 314.9 kB / 315 MB, free: 54.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.01305, allocations: 34.2 kB / 315 MB, free: 54.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.01312, allocations: 245 kB / 315.2 MB, free: 54.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.01317, allocations: 129.9 kB / 315.4 MB, free: 54.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.01325, allocations: 73.25 kB / 315.4 MB, free: 54.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.0133, allocations: 0.5112 MB / 315.9 MB, free: 53.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.01342, allocations: 86.86 kB / 316 MB, free: 53.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.01354, allocations: 131.7 kB / 316.2 MB, free: 53.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.01375, allocations: 192.1 kB / 316.3 MB, free: 53.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01375, allocations: 0 / 316.3 MB, free: 53.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003386/0.01409, allocations: 319.2 kB / 316.7 MB, free: 53.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.01412, allocations: 35.95 kB / 316.7 MB, free: 53.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01412, allocations: 0 / 316.7 MB, free: 53.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.01414, allocations: 7.062 kB / 316.7 MB, free: 53.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.01436, allocations: 67.66 kB / 316.8 MB, free: 53.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.01436, allocations: 2.25 kB / 316.8 MB, free: 53.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01447, allocations: 20.89 kB / 316.8 MB, free: 53.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.01449, allocations: 9.188 kB / 316.8 MB, free: 53.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000147/0.01464, allocations: 221.3 kB / 317 MB, free: 53.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001008/0.01474, allocations: 131.5 kB / 317.1 MB, free: 52.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001685/0.01491, allocations: 188.8 kB / 317.3 MB, free: 52.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.01491, allocations: 0 / 317.3 MB, free: 52.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0002653/0.01517, allocations: 308.3 kB / 317.6 MB, free: 52.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.01519, allocations: 33.7 kB / 317.7 MB, free: 52.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-06/0.01519, allocations: 0 / 317.7 MB, free: 52.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-06/0.01519, allocations: 4 kB / 317.7 MB, free: 52.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.01534, allocations: 79.95 kB / 317.7 MB, free: 52.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.01534, allocations: 7.938 kB / 317.7 MB, free: 52.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/0.01544, allocations: 19.98 kB / 317.8 MB, free: 52.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.01545, allocations: 12 kB / 317.8 MB, free: 52.21 MB / 282.7 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 7.653e-05/0.01552, allocations: 288 kB / 318.1 MB, free: 51.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.01556, allocations: 39.81 kB / 318.1 MB, free: 51.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.01584, allocations: 246.4 kB / 318.3 MB, free: 51.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01585, allocations: 7.938 kB / 318.3 MB, free: 51.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01585, allocations: 0 / 318.3 MB, free: 51.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01586, allocations: 11.92 kB / 318.4 MB, free: 51.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.01648, allocations: 0.7124 MB / 319.1 MB, free: 50.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01649, allocations: 0 / 319.1 MB, free: 50.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.01668, allocations: 71.89 kB / 319.1 MB, free: 50.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01668, allocations: 4 kB / 319.1 MB, free: 50.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.0167, allocations: 12 kB / 319.2 MB, free: 50.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01671, allocations: 4 kB / 319.2 MB, free: 50.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01671, allocations: 4.141 kB / 319.2 MB, free: 50.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.01709, allocations: 0.4991 MB / 319.7 MB, free: 50.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.01718, allocations: 67.75 kB / 319.7 MB, free: 50.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.01721, allocations: 8 kB / 319.7 MB, free: 50.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.01732, allocations: 20.03 kB / 319.8 MB, free: 50.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.01739, allocations: 35.92 kB / 319.8 MB, free: 50.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.0174, allocations: 12 kB / 319.8 MB, free: 50.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.404e-05/0.0175, allocations: 215 kB / 320 MB, free: 49.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0175, allocations: 0 / 320 MB, free: 49.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003271/0.01782, allocations: 155.8 kB / 320.2 MB, free: 49.7 MB / 282.7 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 0.0001118/0.01794, allocations: 116.2 kB / 320.3 MB, free: 49.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.01834, allocations: 459.2 kB / 320.7 MB, free: 49.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01834, allocations: 4 kB / 320.7 MB, free: 49.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.01846, allocations: 108.8 kB / 320.8 MB, free: 48.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.01877, allocations: 66.11 kB / 320.9 MB, free: 48.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.02002, allocations: 0.8477 MB / 321.8 MB, free: 48.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.838e-05/0.02007, allocations: 101.8 kB / 321.9 MB, free: 47.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.02019, allocations: 46.92 kB / 321.9 MB, free: 47.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.02026, allocations: 28.5 kB / 321.9 MB, free: 47.82 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02026, allocations: 0 / 321.9 MB, free: 47.82 MB / 282.7 MB Notification: Performance of Templates: time 0.005434/0.02569, allocations: 3.948 MB / 325.9 MB, free: 43.92 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile [Timeout 660] (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=240 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.730586685007438]