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.001353/0.001353, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001435/0.001435, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.309/1.309, allocations: 158.6 MB / 184.8 MB, free: 6.168 MB / 174.1 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.008584/0.008584, allocations: 1.434 MB / 238.4 MB, free: 1.684 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.002219/0.002219, allocations: 67.91 kB / 353.4 MB, free: 19.21 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08837/0.09059, allocations: 49.67 MB / 403.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004963/0.09555, allocations: 3.124 MB / 406.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.09726, allocations: 0.8538 MB / 407 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.09743, allocations: 7.938 kB / 407.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.09761, allocations: 59.42 kB / 407.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.09791, allocations: 150.7 kB / 407.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.09826, allocations: 119.8 kB / 407.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006161/0.09888, allocations: 0.5212 MB / 407.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.09912, allocations: 105.3 kB / 408 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.09939, allocations: 199.2 kB / 408.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.09967, allocations: 179 kB / 408.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.09974, allocations: 44 kB / 408.4 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.09986, allocations: 48 kB / 408.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.09998, allocations: 95.61 kB / 408.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.1002, allocations: 187.2 kB / 408.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006083/0.1008, allocations: 478.1 kB / 409.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1008, allocations: 0 / 409.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1008, allocations: 0 / 409.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.1008, allocations: 0 / 409.2 MB, free: 11.21 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.001473/0.1023, allocations: 0.68 MB / 409.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1023, allocations: 8.031 kB / 409.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.1024, allocations: 48.66 kB / 409.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.103, allocations: 253.3 kB / 410.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.103, allocations: 25.03 kB / 410.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.1031, allocations: 39.89 kB / 410.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.1037, allocations: 357.4 kB / 410.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.1037, allocations: 4 kB / 410.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.1038, allocations: 16 kB / 410.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1038, allocations: 8 kB / 410.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.1044, allocations: 234.5 kB / 410.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.1059, allocations: 0.7426 MB / 411.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.1065, allocations: 251.2 kB / 411.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.1068, allocations: 109.3 kB / 412 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1068, allocations: 4.234 kB / 412 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004318/0.1072, allocations: 230.9 kB / 412.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/0.1072, allocations: 0 / 412.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002658/0.1099, allocations: 1.081 MB / 413.3 MB, free: 6.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.11, allocations: 59.41 kB / 413.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.1103, allocations: 276.2 kB / 413.6 MB, free: 6.602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.1103, allocations: 33.7 kB / 413.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1105, allocations: 204.8 kB / 413.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.1106, allocations: 123 kB / 413.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.1108, allocations: 74.02 kB / 414 MB, free: 6.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.111, allocations: 338.8 kB / 414.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.1113, allocations: 144.1 kB / 414.5 MB, free: 5.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.1116, allocations: 179.8 kB / 414.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/0.1122, allocations: 277.8 kB / 414.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1122, allocations: 0 / 414.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007933/0.113, allocations: 415.9 kB / 415.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.1131, allocations: 37.58 kB / 415.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1131, allocations: 0 / 415.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1131, allocations: 4 kB / 415.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.1134, allocations: 79.83 kB / 415.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1135, allocations: 4.062 kB / 415.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.1137, allocations: 19.98 kB / 415.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.1137, allocations: 12 kB / 415.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004051/0.1141, allocations: 250.3 kB / 415.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003295/0.1145, allocations: 175 kB / 415.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005425/0.115, allocations: 280.1 kB / 416.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.115, allocations: 0 / 416.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007637/0.1158, allocations: 408.1 kB / 416.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.1158, allocations: 41.59 kB / 416.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1158, allocations: 7.922 kB / 416.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/0.1158, allocations: 4 kB / 416.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.1161, allocations: 67.91 kB / 416.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.1161, allocations: 8.062 kB / 416.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.1164, allocations: 27.97 kB / 416.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1164, allocations: 8 kB / 416.7 MB, free: 3.293 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.0001529/0.1165, allocations: 200.2 kB / 416.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.1166, allocations: 39.7 kB / 417 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007311/0.1173, allocations: 335.7 kB / 417.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1173, allocations: 4 kB / 417.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.1174, allocations: 8 kB / 417.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1174, allocations: 0 / 417.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.1187, allocations: 0.7533 MB / 418.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1187, allocations: 4 kB / 418.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.1191, allocations: 75.89 kB / 418.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1191, allocations: 4 kB / 418.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1192, allocations: 12.16 kB / 418.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.1192, allocations: 4 kB / 418.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1192, allocations: 0 / 418.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1203, allocations: 0.5788 MB / 418.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.1204, allocations: 59.81 kB / 418.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.1205, allocations: 8 kB / 418.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.1207, allocations: 27.97 kB / 418.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.1208, allocations: 35.89 kB / 418.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.1209, allocations: 19.98 kB / 418.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.1211, allocations: 187.1 kB / 419.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1211, allocations: 4 kB / 419.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005215/0.1216, allocations: 148 kB / 419.2 MB, free: 0.707 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.0001647/0.1218, allocations: 111.4 kB / 419.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.1229, allocations: 0.5763 MB / 419.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1229, allocations: 4 kB / 419.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.1232, allocations: 147.8 kB / 420.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.1237, allocations: 57.45 kB / 420.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1256, allocations: 0.9673 MB / 421.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.1258, allocations: 195.7 kB / 421.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.126, allocations: 38.94 kB / 421.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.1261, allocations: 36.48 kB / 421.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1261, allocations: 0 / 421.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of Templates: time 0.009355/0.1354, allocations: 3.912 MB / 425.3 MB, free: 10.56 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 -s ida -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.491228583035991] Failed to read output from testmodel.py, exit status != 0: 0.14310078090056777 0.31403040200000004 0.210126628 Calling exit ...