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.0009626/0.0009626, allocations: 76.94 kB / 19.93 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.001031/0.001031, allocations: 172.9 kB / 23.36 MB, free: 1.125 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.8593/0.8593, allocations: 158.6 MB / 185.2 MB, free: 2.754 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.0135/0.0135, allocations: 1.436 MB / 239 MB, free: 13.56 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.222e-06/1.222e-06, allocations: 0 / 256 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.171e-05, allocations: 2.312 kB / 256 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003013/0.003025, allocations: 3.368 MB / 259.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.004387, allocations: 0.8965 MB / 260.3 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.004538, allocations: 7.938 kB / 260.3 MB, free: 8.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.004671, allocations: 55.42 kB / 260.3 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.00491, allocations: 158.6 kB / 260.5 MB, free: 8.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.00519, allocations: 123.7 kB / 260.6 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.005593, allocations: 0.5365 MB / 261.1 MB, free: 7.379 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.005738, allocations: 106 kB / 261.2 MB, free: 7.266 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.005996, allocations: 299.2 kB / 261.5 MB, free: 6.973 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.006155, allocations: 159.5 kB / 261.7 MB, free: 6.816 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.006196, allocations: 40 kB / 261.7 MB, free: 6.777 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.006261, allocations: 48 kB / 261.8 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.006317, allocations: 95.66 kB / 261.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.006427, allocations: 155.6 kB / 262 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.006699, allocations: 326.8 kB / 262.3 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.006702, allocations: 4 kB / 262.3 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.006702, allocations: 4 kB / 262.3 MB, free: 6.156 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.006706, allocations: 0 / 262.3 MB, free: 6.156 MB / 250.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.0009513/0.007657, allocations: 0.6396 MB / 263 MB, free: 5.488 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.007687, allocations: 12.03 kB / 263 MB, free: 5.477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.007756, allocations: 52.89 kB / 263 MB, free: 5.426 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.007987, allocations: 208.6 kB / 263.3 MB, free: 5.191 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.00801, allocations: 21.03 kB / 263.3 MB, free: 5.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.00805, allocations: 44.34 kB / 263.3 MB, free: 5.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.0083, allocations: 262.5 kB / 263.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.008318, allocations: 11.89 kB / 263.6 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.00834, allocations: 23.92 kB / 263.6 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.008348, allocations: 8 kB / 263.6 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.008459, allocations: 76.55 kB / 263.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.009165, allocations: 0.5362 MB / 264.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.009337, allocations: 127.2 kB / 264.3 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.009392, allocations: 53.23 kB / 264.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.009409, allocations: 8.234 kB / 264.4 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.009563, allocations: 178.9 kB / 264.6 MB, free: 3.785 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.009564, allocations: 0 / 264.6 MB, free: 3.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=36): time 0.001004/0.01057, allocations: 0.7417 MB / 265.3 MB, free: 2.992 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.0106, allocations: 55.41 kB / 265.4 MB, free: 2.926 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.01074, allocations: 262.9 kB / 265.6 MB, free: 2.656 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.01076, allocations: 29.7 kB / 265.7 MB, free: 2.621 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.01083, allocations: 181.2 kB / 265.8 MB, free: 2.438 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.01089, allocations: 126.9 kB / 266 MB, free: 2.312 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.01096, allocations: 70.03 kB / 266 MB, free: 2.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.01104, allocations: 342.8 kB / 266.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.564e-05/0.0111, allocations: 76.16 kB / 266.4 MB, free: 1.812 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.01118, allocations: 104 kB / 266.5 MB, free: 1.699 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.01131, allocations: 165.6 kB / 266.7 MB, free: 1.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01131, allocations: 0 / 266.7 MB, free: 1.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001908/0.0115, allocations: 232.3 kB / 266.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.01153, allocations: 29.7 kB / 267 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01153, allocations: 8 kB / 267 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.01154, allocations: 0 / 267 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.01171, allocations: 83.94 kB / 267.1 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01171, allocations: 7.938 kB / 267.1 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.0118, allocations: 12 kB / 267.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.01181, allocations: 11.98 kB / 267.1 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.861e-05/0.01191, allocations: 154.1 kB / 267.2 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.799e-05/0.01198, allocations: 103 kB / 267.3 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001132/0.01209, allocations: 160.5 kB / 267.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.01209, allocations: 0 / 267.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0001742/0.01226, allocations: 240.4 kB / 267.7 MB, free: 424 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01228, allocations: 33.7 kB / 267.8 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/0.01228, allocations: 3.938 kB / 267.8 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-06/0.01228, allocations: 0 / 267.8 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.01241, allocations: 71.91 kB / 267.8 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.01242, allocations: 4 kB / 267.8 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.01249, allocations: 23.92 kB / 267.9 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.0125, allocations: 8 kB / 267.9 MB, free: 272 kB / 250.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 8.223e-05/0.01258, allocations: 208.1 kB / 268.1 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.01261, allocations: 36.03 kB / 268.1 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.0128, allocations: 176.2 kB / 268.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.0128, allocations: 4 kB / 268.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.0128, allocations: 0 / 268.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01281, allocations: 7.938 kB / 268.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.01328, allocations: 483 kB / 268.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01328, allocations: 0 / 268.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.01345, allocations: 71.89 kB / 268.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01345, allocations: 12.09 kB / 268.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.01347, allocations: 11.98 kB / 268.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01347, allocations: 0 / 268.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01347, allocations: 4 kB / 268.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.01374, allocations: 357 kB / 269.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.01381, allocations: 43.67 kB / 269.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.01384, allocations: 12 kB / 269.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.01393, allocations: 19.98 kB / 269.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.01398, allocations: 31.94 kB / 269.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.01399, allocations: 12 kB / 269.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.01405, allocations: 92.62 kB / 269.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01405, allocations: 0 / 269.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005178/0.01457, allocations: 148 kB / 269.6 MB, free: 14.48 MB / 266.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.019e-05/0.01466, allocations: 96.28 kB / 269.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003031/0.01496, allocations: 405.6 kB / 270 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.01496, allocations: 8 kB / 270.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.01505, allocations: 98.27 kB / 270.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.01528, allocations: 63.12 kB / 270.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.01635, allocations: 0.8051 MB / 271 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.823e-05/0.01641, allocations: 105.7 kB / 271.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.01653, allocations: 42.94 kB / 271.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.01666, allocations: 115.3 kB / 271.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01666, allocations: 0 / 271.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Templates: time 0.005786/0.02245, allocations: 4.285 MB / 275.6 MB, free: 8.395 MB / 266.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.5213058972731233]