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.00136/0.00136, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001606/0.001606, allocations: 217.7 kB / 22.25 MB, free: 4.855 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.395/1.395, allocations: 207.7 MB / 233.1 MB, free: 9.961 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.009808/0.009808, allocations: 1.978 MB / 287.3 MB, free: 3.699 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.002345/0.002345, allocations: 77.47 kB / 402.3 MB, free: 50.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0697/0.07204, allocations: 49.7 MB / 452 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.005494/0.07754, allocations: 3.143 MB / 455.1 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.07964, allocations: 0.846 MB / 456 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.08001, allocations: 4 kB / 456 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.08028, allocations: 63.36 kB / 456 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005284/0.08081, allocations: 150.7 kB / 456.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.08129, allocations: 127.8 kB / 456.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006398/0.08193, allocations: 0.5134 MB / 456.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.08219, allocations: 105.3 kB / 456.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.0825, allocations: 199.2 kB / 457.1 MB, free: 424 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.08287, allocations: 183.1 kB / 457.3 MB, free: 240 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.08295, allocations: 44 kB / 457.3 MB, free: 196 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.08311, allocations: 48 kB / 457.4 MB, free: 148 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.08319, allocations: 91.62 kB / 457.5 MB, free: 56 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.08353, allocations: 187.2 kB / 457.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008736/0.0844, allocations: 474.1 kB / 458.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.0844, allocations: 4 kB / 458.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.08441, allocations: 0 / 458.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.08442, allocations: 0 / 458.1 MB, free: 15.4 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.00205/0.08647, allocations: 0.68 MB / 458.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.08652, allocations: 12.03 kB / 458.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.08666, allocations: 44.66 kB / 458.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007219/0.08738, allocations: 253.3 kB / 459.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.08743, allocations: 29.03 kB / 459.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.38e-05/0.08753, allocations: 39.89 kB / 459.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009779/0.0885, allocations: 349.4 kB / 459.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.08853, allocations: 0 / 459.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.08857, allocations: 12 kB / 459.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.08859, allocations: 15.92 kB / 459.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008073/0.08939, allocations: 234.5 kB / 459.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.09161, allocations: 0.7387 MB / 460.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009105/0.09252, allocations: 255.1 kB / 460.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.0929, allocations: 110.9 kB / 460.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.09294, allocations: 4.234 kB / 460.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006192/0.09356, allocations: 226.9 kB / 461.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/0.09356, allocations: 4 kB / 461.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.003808/0.09737, allocations: 1.085 MB / 462.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.09744, allocations: 59.41 kB / 462.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.09792, allocations: 276.2 kB / 462.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.09798, allocations: 37.7 kB / 462.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.0982, allocations: 196.8 kB / 462.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.09837, allocations: 123 kB / 462.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.09857, allocations: 78.02 kB / 462.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.09879, allocations: 334.8 kB / 463.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.09927, allocations: 144.1 kB / 463.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/0.0998, allocations: 187.5 kB / 463.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/0.1007, allocations: 277.8 kB / 463.8 MB, free: 9.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1007, allocations: 0 / 463.8 MB, free: 9.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001225/0.1019, allocations: 411.9 kB / 464.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.102, allocations: 33.64 kB / 464.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.102, allocations: 4 kB / 464.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.102, allocations: 4.062 kB / 464.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.1025, allocations: 75.89 kB / 464.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.1025, allocations: 7.938 kB / 464.4 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.1029, allocations: 15.98 kB / 464.4 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.1029, allocations: 19.98 kB / 464.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005825/0.1035, allocations: 246.2 kB / 464.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000457/0.104, allocations: 178.6 kB / 464.8 MB, free: 8.352 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007864/0.1048, allocations: 280.1 kB / 465.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.1048, allocations: 0 / 465.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001177/0.1059, allocations: 404.2 kB / 465.5 MB, free: 7.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.106, allocations: 37.69 kB / 465.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.106, allocations: 3.938 kB / 465.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.106, allocations: 8.062 kB / 465.5 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.1065, allocations: 67.91 kB / 465.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1065, allocations: 0 / 465.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.1069, allocations: 27.97 kB / 465.6 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.1069, allocations: 12 kB / 465.6 MB, free: 7.488 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.0002279/0.1072, allocations: 196.2 kB / 465.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.1073, allocations: 47.69 kB / 465.9 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.1084, allocations: 335.7 kB / 466.2 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.1084, allocations: 4 kB / 466.2 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1084, allocations: 7.875 kB / 466.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1084, allocations: 0 / 466.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.1105, allocations: 0.7495 MB / 467 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1105, allocations: 0 / 467 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.1111, allocations: 84.05 kB / 467 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.1111, allocations: 0 / 467 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.1111, allocations: 11.94 kB / 467.1 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/0.1111, allocations: 4 kB / 467.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1111, allocations: 0 / 467.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.1126, allocations: 0.5788 MB / 467.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.1128, allocations: 59.81 kB / 467.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.1129, allocations: 16 kB / 467.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.1133, allocations: 31.97 kB / 467.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.1134, allocations: 31.89 kB / 467.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.1135, allocations: 12 kB / 467.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003225/0.1138, allocations: 195.1 kB / 468 MB, free: 5.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1138, allocations: 0 / 468 MB, free: 5.043 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008704/0.1147, allocations: 144 kB / 468.1 MB, free: 4.902 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.0002188/0.1149, allocations: 115.4 kB / 468.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.1165, allocations: 0.5841 MB / 468.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1165, allocations: 0 / 468.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000498/0.117, allocations: 147.8 kB / 469 MB, free: 4.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000701/0.1177, allocations: 49.52 kB / 469 MB, free: 3.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.1204, allocations: 0.9596 MB / 470 MB, free: 2.961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1207, allocations: 199.6 kB / 470.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002936/0.121, allocations: 42.94 kB / 470.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.1212, allocations: 31.42 kB / 470.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1212, allocations: 0 / 470.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of Templates: time 0.01446/0.1356, allocations: 4.365 MB / 474.6 MB, free: 14.3 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: 4.651637090370059] Failed to read output from testmodel.py, exit status != 0: 0.1451539732515812 0.164777123 0.077100022 Calling exit ...