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.0009784/0.0009784, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001199/0.001199, allocations: 169 kB / 23.02 MB, free: 1.543 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.8146/0.8146, allocations: 158.6 MB / 184.9 MB, free: 2.91 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.005974/0.005974, allocations: 1.443 MB / 238.7 MB, free: 13.65 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 1.503e-06/1.503e-06, allocations: 1.406 kB / 304.6 MB, free: 61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.626e-05, allocations: 4.188 kB / 304.6 MB, free: 60.99 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003069/0.003086, allocations: 3.388 MB / 308 MB, free: 58.76 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004366, allocations: 0.8603 MB / 308.9 MB, free: 58.17 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.004535, allocations: 4.844 kB / 308.9 MB, free: 58.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.004689, allocations: 59.75 kB / 308.9 MB, free: 58.13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.004932, allocations: 160.3 kB / 309.1 MB, free: 58.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.005279, allocations: 126.5 kB / 309.2 MB, free: 57.94 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004278/0.005707, allocations: 0.5385 MB / 309.7 MB, free: 57.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.00588, allocations: 108.7 kB / 309.9 MB, free: 57.58 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.006161, allocations: 294.8 kB / 310.1 MB, free: 57.46 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.006354, allocations: 152.3 kB / 310.3 MB, free: 57.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.006405, allocations: 45.23 kB / 310.3 MB, free: 57.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.93e-05/0.006494, allocations: 52.89 kB / 310.4 MB, free: 57.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.006548, allocations: 90.06 kB / 310.5 MB, free: 57.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.006682, allocations: 153.6 kB / 310.6 MB, free: 57.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.007017, allocations: 333.5 kB / 310.9 MB, free: 57.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.007019, allocations: 0 / 310.9 MB, free: 57.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007019, allocations: 0 / 310.9 MB, free: 57.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.007027, allocations: 0 / 310.9 MB, free: 57.11 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.0008338/0.00786, allocations: 0.7631 MB / 311.7 MB, free: 56.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.007897, allocations: 9.672 kB / 311.7 MB, free: 56.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.007999, allocations: 75.17 kB / 311.8 MB, free: 56.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.008247, allocations: 264.9 kB / 312.1 MB, free: 56.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.008272, allocations: 26.34 kB / 312.1 MB, free: 56.22 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.008318, allocations: 34.23 kB / 312.1 MB, free: 56.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.008635, allocations: 283.5 kB / 312.4 MB, free: 56.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.008649, allocations: 0 / 312.4 MB, free: 56.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.008671, allocations: 15.56 kB / 312.4 MB, free: 56.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.008682, allocations: 8 kB / 312.4 MB, free: 56.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.008876, allocations: 123.5 kB / 312.5 MB, free: 56.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008968/0.009773, allocations: 0.7705 MB / 313.3 MB, free: 55.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.01001, allocations: 160.8 kB / 313.5 MB, free: 55.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/0.0101, allocations: 63.22 kB / 313.5 MB, free: 55.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.01012, allocations: 5.922 kB / 313.5 MB, free: 55.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.01032, allocations: 194.9 kB / 313.7 MB, free: 55.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.893e-06/0.01032, allocations: 4 kB / 313.7 MB, free: 55.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001198/0.01152, allocations: 0.8694 MB / 314.6 MB, free: 54.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.01154, allocations: 58.45 kB / 314.6 MB, free: 54.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.01171, allocations: 307.4 kB / 314.9 MB, free: 54.35 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.01173, allocations: 32.48 kB / 315 MB, free: 54.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.0118, allocations: 249.2 kB / 315.2 MB, free: 54.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.01185, allocations: 125.8 kB / 315.3 MB, free: 53.97 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/0.01192, allocations: 82.33 kB / 315.4 MB, free: 53.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.01197, allocations: 0.5081 MB / 315.9 MB, free: 53.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.854e-05/0.01207, allocations: 90.3 kB / 316 MB, free: 53.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.01217, allocations: 131.2 kB / 316.2 MB, free: 53.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.01236, allocations: 184.5 kB / 316.3 MB, free: 53.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01236, allocations: 0 / 316.3 MB, free: 53.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003022/0.01266, allocations: 321.8 kB / 316.6 MB, free: 52.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.01268, allocations: 33.64 kB / 316.7 MB, free: 52.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01268, allocations: 8.047 kB / 316.7 MB, free: 52.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.0127, allocations: 7.938 kB / 316.7 MB, free: 52.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.01288, allocations: 75.89 kB / 316.8 MB, free: 52.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.01289, allocations: 4.938 kB / 316.8 MB, free: 52.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.55e-05/0.01298, allocations: 19.98 kB / 316.8 MB, free: 52.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.013, allocations: 8 kB / 316.8 MB, free: 52.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001219/0.01312, allocations: 213 kB / 317 MB, free: 52.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.501e-05/0.01322, allocations: 127.5 kB / 317.1 MB, free: 52.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001534/0.01337, allocations: 192.8 kB / 317.3 MB, free: 52.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.11e-07/0.01337, allocations: 0 / 317.3 MB, free: 52.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000245/0.01362, allocations: 308.3 kB / 317.6 MB, free: 51.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01363, allocations: 41.69 kB / 317.7 MB, free: 51.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.01363, allocations: 4 kB / 317.7 MB, free: 51.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-06/0.01363, allocations: 4 kB / 317.7 MB, free: 51.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.01378, allocations: 67.91 kB / 317.7 MB, free: 51.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.01378, allocations: 6.125 kB / 317.7 MB, free: 51.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.01386, allocations: 23.98 kB / 317.8 MB, free: 51.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.01387, allocations: 16.06 kB / 317.8 MB, free: 51.69 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.565e-05/0.01395, allocations: 280 kB / 318.1 MB, free: 51.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.01398, allocations: 43.81 kB / 318.1 MB, free: 51.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.01424, allocations: 248 kB / 318.3 MB, free: 51.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01424, allocations: 7.938 kB / 318.3 MB, free: 51.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01425, allocations: 3.938 kB / 318.4 MB, free: 51.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01425, allocations: 3.984 kB / 318.4 MB, free: 51.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.0148, allocations: 0.7242 MB / 319.1 MB, free: 50.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01481, allocations: 4.031 kB / 319.1 MB, free: 50.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.01499, allocations: 67.91 kB / 319.1 MB, free: 50.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.01499, allocations: 7.984 kB / 319.2 MB, free: 50.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.01501, allocations: 8 kB / 319.2 MB, free: 50.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01501, allocations: 4 kB / 319.2 MB, free: 50.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01501, allocations: 0 / 319.2 MB, free: 50.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.01535, allocations: 0.4991 MB / 319.7 MB, free: 49.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.01542, allocations: 63.77 kB / 319.7 MB, free: 49.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.01545, allocations: 8 kB / 319.7 MB, free: 49.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01556, allocations: 23.98 kB / 319.8 MB, free: 49.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.01561, allocations: 31.94 kB / 319.8 MB, free: 49.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.01562, allocations: 12 kB / 319.8 MB, free: 49.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.171e-05/0.01571, allocations: 215 kB / 320 MB, free: 49.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01571, allocations: 0 / 320 MB, free: 49.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.01599, allocations: 151.9 kB / 320.2 MB, free: 49.19 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 9.581e-05/0.01609, allocations: 107.2 kB / 320.3 MB, free: 49.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.01646, allocations: 467.2 kB / 320.7 MB, free: 48.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01646, allocations: 0 / 320.7 MB, free: 48.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.01656, allocations: 108.8 kB / 320.8 MB, free: 48.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.01685, allocations: 61.77 kB / 320.9 MB, free: 48.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.01794, allocations: 0.86 MB / 321.8 MB, free: 47.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.01799, allocations: 101.8 kB / 321.9 MB, free: 47.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.0181, allocations: 42.94 kB / 321.9 MB, free: 47.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.01816, allocations: 32.44 kB / 321.9 MB, free: 47.3 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01816, allocations: 0 / 321.9 MB, free: 47.3 MB / 282.7 MB Notification: Performance of Templates: time 0.005157/0.02331, allocations: 4.137 MB / 326.1 MB, free: 43.21 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.6279093329794705]