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.0009495/0.0009495, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007865/0.0007865, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8226/0.8226, allocations: 158.6 MB / 185 MB, free: 3.043 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.005985/0.005985, allocations: 1.428 MB / 238.7 MB, free: 13.93 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.843e-06/1.843e-06, allocations: 0 / 353.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.235e-05, allocations: 2.281 kB / 353.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.002584/0.002606, allocations: 3.143 MB / 356.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.003666, allocations: 0.8502 MB / 357.7 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.003811, allocations: 4 kB / 357.7 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.003959, allocations: 59.36 kB / 357.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.004139, allocations: 162.7 kB / 357.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.004412, allocations: 119.7 kB / 358 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.00471, allocations: 0.5404 MB / 358.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.004884, allocations: 109.3 kB / 358.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.005072, allocations: 291.3 kB / 359 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.005205, allocations: 151.5 kB / 359.1 MB, free: 9.961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.005243, allocations: 44 kB / 359.2 MB, free: 9.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.791e-05/0.005311, allocations: 48 kB / 359.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.005354, allocations: 95.66 kB / 359.3 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.179e-05/0.005446, allocations: 151.6 kB / 359.5 MB, free: 9.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.005762, allocations: 486.5 kB / 359.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005765, allocations: 0 / 359.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005765, allocations: 0 / 359.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.005771, allocations: 0 / 359.9 MB, free: 9.152 MB / 282.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.0007868/0.006557, allocations: 0.6684 MB / 360.6 MB, free: 8.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.006594, allocations: 8.031 kB / 360.6 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.006657, allocations: 48.66 kB / 360.7 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.006916, allocations: 260.5 kB / 360.9 MB, free: 8.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.006936, allocations: 28.97 kB / 360.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.006976, allocations: 36.38 kB / 361 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.007324, allocations: 353.7 kB / 361.3 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.00734, allocations: 3.953 kB / 361.3 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.007362, allocations: 12 kB / 361.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.00737, allocations: 11.98 kB / 361.3 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.007698, allocations: 238.5 kB / 361.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008386/0.008537, allocations: 0.7349 MB / 362.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.008861, allocations: 250.9 kB / 362.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.008987, allocations: 101.3 kB / 362.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.009008, allocations: 4.234 kB / 362.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.009229, allocations: 242.9 kB / 362.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.512e-06/0.009231, allocations: 0 / 362.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001328/0.01056, allocations: 1.089 MB / 364 MB, free: 4.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.01059, allocations: 63.33 kB / 364.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.01074, allocations: 276.2 kB / 364.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.01076, allocations: 33.69 kB / 364.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.01083, allocations: 200.7 kB / 364.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.01087, allocations: 119 kB / 364.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.01094, allocations: 74.02 kB / 364.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.926e-05/0.01098, allocations: 338.8 kB / 365.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.01113, allocations: 140.1 kB / 365.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.01128, allocations: 187.8 kB / 365.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.01156, allocations: 277.7 kB / 365.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01156, allocations: 0 / 365.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000371/0.01193, allocations: 411.9 kB / 366.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.01195, allocations: 36.67 kB / 366.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01196, allocations: 0 / 366.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.01197, allocations: 7.938 kB / 366.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.01216, allocations: 83.83 kB / 366.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.01216, allocations: 4 kB / 366.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.01227, allocations: 19.98 kB / 366.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.01228, allocations: 12 kB / 366.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001836/0.01247, allocations: 250.3 kB / 366.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001405/0.01261, allocations: 179 kB / 366.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002502/0.01286, allocations: 272.3 kB / 366.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.01286, allocations: 4 kB / 366.9 MB, free: 1.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003355/0.01319, allocations: 404.2 kB / 367.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.01321, allocations: 37.69 kB / 367.3 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.01321, allocations: 0 / 367.3 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-06/0.01321, allocations: 0 / 367.3 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.01335, allocations: 75.97 kB / 367.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.01335, allocations: 7.938 kB / 367.4 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.01345, allocations: 23.97 kB / 367.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.01346, allocations: 12 kB / 367.5 MB, free: 1.25 MB / 282.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 6.033e-05/0.01352, allocations: 203.8 kB / 367.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.01355, allocations: 35.77 kB / 367.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.0139, allocations: 340 kB / 368 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01391, allocations: 11.94 kB / 368 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01391, allocations: 0 / 368 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01391, allocations: 0 / 368 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006741/0.01459, allocations: 0.7454 MB / 368.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.01459, allocations: 7.938 kB / 368.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.01479, allocations: 68.11 kB / 368.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.0148, allocations: 15.94 kB / 368.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.01481, allocations: 8 kB / 368.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.01481, allocations: 3.938 kB / 368.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01482, allocations: 4 kB / 368.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.01541, allocations: 0.5788 MB / 369.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.133e-05/0.0155, allocations: 59.81 kB / 369.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.01553, allocations: 8 kB / 369.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.01566, allocations: 27.97 kB / 369.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.01574, allocations: 31.95 kB / 369.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.01575, allocations: 8 kB / 369.6 MB, free: 15.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.01588, allocations: 199.1 kB / 369.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01588, allocations: 3.938 kB / 369.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003176/0.0162, allocations: 151.9 kB / 369.9 MB, free: 14.66 MB / 298.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 0.0001259/0.01633, allocations: 111.3 kB / 370.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006269/0.01695, allocations: 0.5841 MB / 370.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01696, allocations: 0 / 370.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.01714, allocations: 143.8 kB / 370.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.01744, allocations: 53.52 kB / 370.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.01854, allocations: 0.8834 MB / 371.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.01866, allocations: 187.7 kB / 371.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.01873, allocations: 32.48 kB / 371.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01874, allocations: 0 / 371.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of Templates: time 0.004622/0.02336, allocations: 4.41 MB / 376.3 MB, free: 8.148 MB / 298.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=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.224874271079898] Failed to read output from testmodel.py, exit status != 0: 0.02812990453094244 0.038474801 0.030051466000000002 Calling exit ...