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.001274/0.001274, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00148/0.00148, allocations: 173.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.383/1.383, allocations: 158.6 MB / 184.2 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] 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.008335/0.008335, allocations: 1.424 MB / 237.9 MB, free: 1.711 MB / 222.1 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.192e-06/1.192e-06, allocations: 0 / 353 MB, free: 19.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.329e-05, allocations: 2.281 kB / 353 MB, free: 19.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003299/0.003322, allocations: 3.132 MB / 356.1 MB, free: 16.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.004696, allocations: 0.8502 MB / 357 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.004969, allocations: 4 kB / 357 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.005161, allocations: 63.36 kB / 357 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.005467, allocations: 158.6 kB / 357.2 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.005796, allocations: 127.7 kB / 357.3 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.006245, allocations: 0.5326 MB / 357.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.006443, allocations: 105.3 kB / 357.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.00677, allocations: 295.3 kB / 358.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.006971, allocations: 155.5 kB / 358.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.007032, allocations: 40 kB / 358.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.697e-05/0.007129, allocations: 47.98 kB / 358.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.007187, allocations: 95.66 kB / 358.6 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.007324, allocations: 159.6 kB / 358.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.007711, allocations: 482.5 kB / 359.2 MB, free: 12.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.007715, allocations: 0 / 359.2 MB, free: 12.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.007716, allocations: 0 / 359.2 MB, free: 12.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.007727, allocations: 0 / 359.2 MB, free: 12.97 MB / 286.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.001147/0.008875, allocations: 0.6722 MB / 359.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.008906, allocations: 12.03 kB / 359.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.538e-05/0.008991, allocations: 44.66 kB / 359.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.009342, allocations: 252.5 kB / 360.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.009367, allocations: 32.97 kB / 360.2 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.009417, allocations: 28.38 kB / 360.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.00995, allocations: 357.8 kB / 360.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.009969, allocations: 3.953 kB / 360.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.01, allocations: 12 kB / 360.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.01001, allocations: 8 kB / 360.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.01052, allocations: 234.5 kB / 360.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.0117, allocations: 0.7426 MB / 361.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.01219, allocations: 254.9 kB / 361.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.0124, allocations: 113.3 kB / 361.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.01243, allocations: 4.234 kB / 361.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/0.01277, allocations: 234.8 kB / 362.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.01277, allocations: 0 / 362.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002114/0.01488, allocations: 1.087 MB / 363.2 MB, free: 8.711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.01492, allocations: 55.41 kB / 363.3 MB, free: 8.645 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.01511, allocations: 276.2 kB / 363.6 MB, free: 8.367 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.01514, allocations: 41.7 kB / 363.6 MB, free: 8.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.01522, allocations: 200.7 kB / 363.8 MB, free: 8.121 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.01527, allocations: 119.1 kB / 363.9 MB, free: 8.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.135e-05/0.01537, allocations: 74.03 kB / 364 MB, free: 7.926 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.01541, allocations: 338.8 kB / 364.3 MB, free: 7.586 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.01566, allocations: 144.1 kB / 364.5 MB, free: 7.438 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.01591, allocations: 175.9 kB / 364.6 MB, free: 7.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.01636, allocations: 285.6 kB / 364.9 MB, free: 6.953 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.01636, allocations: 4 kB / 364.9 MB, free: 6.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006021/0.01696, allocations: 407.9 kB / 365.3 MB, free: 6.535 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.01698, allocations: 33.69 kB / 365.4 MB, free: 6.496 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01699, allocations: 4 kB / 365.4 MB, free: 6.492 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.01701, allocations: 3.938 kB / 365.4 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.01732, allocations: 79.91 kB / 365.4 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.01733, allocations: 0 / 365.4 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.01757, allocations: 23.97 kB / 365.5 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.01759, allocations: 16 kB / 365.5 MB, free: 6.371 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003011/0.0179, allocations: 246.3 kB / 365.7 MB, free: 6.121 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002678/0.01816, allocations: 179 kB / 365.9 MB, free: 5.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004204/0.01858, allocations: 276.3 kB / 366.2 MB, free: 5.645 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.542e-06/0.01858, allocations: 0 / 366.2 MB, free: 5.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000566/0.01915, allocations: 400.2 kB / 366.6 MB, free: 5.234 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.01917, allocations: 40.67 kB / 366.6 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.01917, allocations: 0 / 366.6 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/0.01917, allocations: 4 kB / 366.6 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.01945, allocations: 67.89 kB / 366.7 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.01945, allocations: 12 kB / 366.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.01968, allocations: 23.98 kB / 366.7 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.0197, allocations: 12 kB / 366.7 MB, free: 5.074 MB / 286.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 8.281e-05/0.01978, allocations: 210.7 kB / 366.9 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.01982, allocations: 35.77 kB / 367 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000587/0.02041, allocations: 324 kB / 367.3 MB, free: 4.504 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.02041, allocations: 7.938 kB / 367.3 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.02042, allocations: 4 kB / 367.3 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.02042, allocations: 3.984 kB / 367.3 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.0214, allocations: 0.7521 MB / 368 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.0214, allocations: 0 / 368 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.02175, allocations: 79.89 kB / 368.1 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/0.02176, allocations: 4.156 kB / 368.1 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.02179, allocations: 19.92 kB / 368.1 MB, free: 3.582 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.02179, allocations: 4 kB / 368.1 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02179, allocations: 0 / 368.1 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.02259, allocations: 0.5749 MB / 368.7 MB, free: 2.969 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.02271, allocations: 63.81 kB / 368.8 MB, free: 2.906 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.02276, allocations: 8 kB / 368.8 MB, free: 2.898 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.02302, allocations: 27.97 kB / 368.8 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.0231, allocations: 35.94 kB / 368.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.02312, allocations: 12 kB / 368.9 MB, free: 2.824 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.02326, allocations: 199.1 kB / 369.1 MB, free: 2.629 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02326, allocations: 3.938 kB / 369.1 MB, free: 2.625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004535/0.02371, allocations: 143.9 kB / 369.2 MB, free: 2.484 MB / 286.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 0.0001255/0.02384, allocations: 111.1 kB / 369.3 MB, free: 2.367 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008382/0.02468, allocations: 0.5805 MB / 369.9 MB, free: 1.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.02468, allocations: 0 / 369.9 MB, free: 1.75 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.02497, allocations: 147.8 kB / 370 MB, free: 1.605 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.02545, allocations: 53.5 kB / 370.1 MB, free: 1.555 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.02686, allocations: 0.8544 MB / 370.9 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.02699, allocations: 191.7 kB / 371.1 MB, free: 460 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.02715, allocations: 42.94 kB / 371.2 MB, free: 412 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.02723, allocations: 32.5 kB / 371.2 MB, free: 380 kB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.02723, allocations: 0 / 371.2 MB, free: 380 kB / 286.1 MB Notification: Performance of Templates: time 0.009058/0.03629, allocations: 3.896 MB / 375.1 MB, free: 12.48 MB / 302.1 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=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.26682636141777] Failed to read output from testmodel.py, exit status != 0: 0.04513176530599594 0.067069328 0.056219879 Calling exit ...