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.001396/0.001396, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001608/0.001608, allocations: 219.3 kB / 23.01 MB, free: 4.566 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.528/1.528, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.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.009102/0.009102, allocations: 1.97 MB / 288 MB, free: 3.871 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 75.47 kB / 403 MB, free: 50.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07665/0.07891, allocations: 49.7 MB / 452.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003433/0.08234, allocations: 3.435 MB / 456.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.08352, allocations: 0.8849 MB / 457.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.08368, allocations: 4 kB / 457.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.08385, allocations: 71.34 kB / 457.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.08407, allocations: 146.8 kB / 457.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.08437, allocations: 127.7 kB / 457.4 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.08474, allocations: 0.5134 MB / 457.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.08495, allocations: 109.4 kB / 458 MB, free: 468 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.08513, allocations: 207.2 kB / 458.2 MB, free: 260 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.08534, allocations: 203.1 kB / 458.4 MB, free: 56 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.08538, allocations: 40 kB / 458.5 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.08552, allocations: 51.98 kB / 458.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.074e-05/0.08561, allocations: 87.69 kB / 458.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.08584, allocations: 222.9 kB / 458.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006158/0.08646, allocations: 478.1 kB / 459.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.08646, allocations: 0 / 459.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.08646, allocations: 0 / 459.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.08647, allocations: 0 / 459.3 MB, free: 15.19 MB / 334.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.001435/0.0879, allocations: 0.6761 MB / 460 MB, free: 14.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.08795, allocations: 12.03 kB / 460 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.996e-05/0.08805, allocations: 44.66 kB / 460 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.08852, allocations: 265.2 kB / 460.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.08856, allocations: 29.03 kB / 460.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.08862, allocations: 35.89 kB / 460.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.08929, allocations: 294 kB / 460.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.08931, allocations: 4 kB / 460.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.08934, allocations: 8 kB / 460.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.08935, allocations: 8 kB / 460.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.08995, allocations: 242.5 kB / 460.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.09161, allocations: 0.8824 MB / 461.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.09221, allocations: 247.2 kB / 462 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.09246, allocations: 106.9 kB / 462.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.09249, allocations: 4.234 kB / 462.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004136/0.09291, allocations: 191.5 kB / 462.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.09291, allocations: 0 / 462.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002564/0.09547, allocations: 1.093 MB / 463.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.09554, allocations: 59.41 kB / 463.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.09591, allocations: 304.5 kB / 463.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.09595, allocations: 37.64 kB / 463.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.0961, allocations: 192.8 kB / 464 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.09621, allocations: 126.9 kB / 464.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.09634, allocations: 74.03 kB / 464.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.09653, allocations: 346.8 kB / 464.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.09684, allocations: 114.4 kB / 464.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.09715, allocations: 153.8 kB / 464.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.09773, allocations: 277.8 kB / 465 MB, free: 9.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.09773, allocations: 0 / 465 MB, free: 9.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007319/0.09846, allocations: 382.1 kB / 465.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/0.09851, allocations: 33.7 kB / 465.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.09852, allocations: 3.984 kB / 465.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.09854, allocations: 0 / 465.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.09889, allocations: 75.95 kB / 465.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.0989, allocations: 8 kB / 465.5 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.09915, allocations: 27.97 kB / 465.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.09918, allocations: 8 kB / 465.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003812/0.09956, allocations: 220.5 kB / 465.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003014/0.09986, allocations: 148.9 kB / 465.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005169/0.1004, allocations: 272.1 kB / 466.2 MB, free: 7.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.1004, allocations: 4 kB / 466.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007152/0.1011, allocations: 382.5 kB / 466.6 MB, free: 7.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.1011, allocations: 41.62 kB / 466.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.1011, allocations: 4.062 kB / 466.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.1011, allocations: 4 kB / 466.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.1014, allocations: 71.91 kB / 466.7 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1014, allocations: 4 kB / 466.7 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.1017, allocations: 27.91 kB / 466.7 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.1017, allocations: 12 kB / 466.7 MB, free: 7.41 MB / 334.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 0.000165/0.1018, allocations: 196.2 kB / 466.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.1019, allocations: 47.7 kB / 467 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007235/0.1026, allocations: 332.7 kB / 467.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1026, allocations: 4 kB / 467.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1026, allocations: 0 / 467.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1026, allocations: 0 / 467.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.104, allocations: 0.8464 MB / 468.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.104, allocations: 0 / 468.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.1044, allocations: 79.83 kB / 468.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1044, allocations: 0 / 468.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1045, allocations: 12 kB / 468.2 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.1045, allocations: 7.984 kB / 468.2 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1045, allocations: 4.094 kB / 468.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.1055, allocations: 0.5829 MB / 468.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.1057, allocations: 63.81 kB / 468.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.1057, allocations: 8 kB / 468.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.106, allocations: 23.97 kB / 468.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/0.1061, allocations: 43.81 kB / 469 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.1061, allocations: 8 kB / 469 MB, free: 5.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.1064, allocations: 223.1 kB / 469.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1064, allocations: 4 kB / 469.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.1069, allocations: 148 kB / 469.3 MB, free: 4.684 MB / 334.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.0001742/0.107, allocations: 111.1 kB / 469.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1081, allocations: 0.5144 MB / 470 MB, free: 4.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1081, allocations: 4.25 kB / 470 MB, free: 4.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.1084, allocations: 147.8 kB / 470.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.109, allocations: 61.14 kB / 470.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.1109, allocations: 0.985 MB / 471.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.1113, allocations: 0.7962 MB / 472 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.1115, allocations: 39.42 kB / 472 MB, free: 1.922 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1115, allocations: 0 / 472 MB, free: 1.922 MB / 334.1 MB Notification: Performance of Templates: time 0.007699/0.1192, allocations: 4.423 MB / 476.4 MB, free: 13.49 MB / 350.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: 7.53435201686807] Failed to read output from testmodel.py, exit status != 0: 0.1271171011030674 0.14285920300000002 0.053347291000000005 Calling exit ...