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.000785/0.000785, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0008912/0.0008912, allocations: 165 kB / 23.02 MB, free: 1.555 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.9148/0.9148, allocations: 158.6 MB / 184.9 MB, free: 2.922 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.006695/0.006695, allocations: 1.451 MB / 238.7 MB, free: 13.65 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 2.014e-06/2.014e-06, allocations: 3.938 kB / 304.6 MB, free: 61.01 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.138e-05, allocations: 6.047 kB / 304.6 MB, free: 61.01 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004991/0.005022, allocations: 3.39 MB / 308 MB, free: 58.78 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.007115, allocations: 0.8633 MB / 308.9 MB, free: 58.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.007355, allocations: 5.562 kB / 308.9 MB, free: 58.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.00755, allocations: 63.94 kB / 308.9 MB, free: 58.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.007806, allocations: 147.3 kB / 309.1 MB, free: 58.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.00816, allocations: 128.1 kB / 309.2 MB, free: 57.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004616/0.008622, allocations: 0.543 MB / 309.7 MB, free: 57.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.008838, allocations: 103.9 kB / 309.8 MB, free: 57.6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.00917, allocations: 298.3 kB / 310.1 MB, free: 57.47 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.009385, allocations: 151.4 kB / 310.3 MB, free: 57.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.009441, allocations: 42.62 kB / 310.3 MB, free: 57.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.009536, allocations: 51.48 kB / 310.4 MB, free: 57.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.009595, allocations: 93.52 kB / 310.5 MB, free: 57.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.009735, allocations: 150.7 kB / 310.6 MB, free: 57.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.01015, allocations: 332.4 kB / 310.9 MB, free: 57.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.01015, allocations: 1.031 kB / 310.9 MB, free: 57.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.01016, allocations: 0 / 310.9 MB, free: 57.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.01017, allocations: 0 / 310.9 MB, free: 57.12 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.001089/0.01125, allocations: 0.7708 MB / 311.7 MB, free: 56.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.0113, allocations: 10.03 kB / 311.7 MB, free: 56.51 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.01141, allocations: 71.64 kB / 311.8 MB, free: 56.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.01173, allocations: 259.2 kB / 312 MB, free: 56.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.01176, allocations: 34.59 kB / 312.1 MB, free: 56.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.01182, allocations: 30.56 kB / 312.1 MB, free: 56.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.01219, allocations: 285.5 kB / 312.4 MB, free: 56.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.0122, allocations: 3.031 kB / 312.4 MB, free: 56.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.01222, allocations: 10.97 kB / 312.4 MB, free: 56.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.01224, allocations: 7.25 kB / 312.4 MB, free: 56.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.01245, allocations: 124.4 kB / 312.5 MB, free: 56.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009313/0.01338, allocations: 0.7691 MB / 313.3 MB, free: 55.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.01363, allocations: 162.1 kB / 313.5 MB, free: 55.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.972e-05/0.01372, allocations: 58.62 kB / 313.5 MB, free: 55.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.01374, allocations: 9.688 kB / 313.5 MB, free: 55.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.01393, allocations: 199.5 kB / 313.7 MB, free: 55.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.482e-06/0.01393, allocations: 4 kB / 313.7 MB, free: 55.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.00117/0.0151, allocations: 0.869 MB / 314.6 MB, free: 54.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.01512, allocations: 57.53 kB / 314.6 MB, free: 54.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.01529, allocations: 305.4 kB / 314.9 MB, free: 54.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.01531, allocations: 36.2 kB / 315 MB, free: 54.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.01539, allocations: 253.4 kB / 315.2 MB, free: 54.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.01544, allocations: 117.1 kB / 315.3 MB, free: 53.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.739e-05/0.01551, allocations: 83.08 kB / 315.4 MB, free: 53.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.01557, allocations: 0.5117 MB / 315.9 MB, free: 53.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.01567, allocations: 86.03 kB / 316 MB, free: 53.35 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.01578, allocations: 127.1 kB / 316.1 MB, free: 53.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.01598, allocations: 193 kB / 316.3 MB, free: 53.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01598, allocations: 0 / 316.3 MB, free: 53.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003148/0.01629, allocations: 318.5 kB / 316.6 MB, free: 52.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.01632, allocations: 37.69 kB / 316.7 MB, free: 52.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.01632, allocations: 8.062 kB / 316.7 MB, free: 52.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.01634, allocations: 3.938 kB / 316.7 MB, free: 52.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.01654, allocations: 71.89 kB / 316.8 MB, free: 52.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.01654, allocations: 4 kB / 316.8 MB, free: 52.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.585e-05/0.01664, allocations: 23.92 kB / 316.8 MB, free: 52.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.01666, allocations: 12 kB / 316.8 MB, free: 52.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001219/0.01678, allocations: 209 kB / 317 MB, free: 52.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.058e-05/0.01687, allocations: 127.5 kB / 317.1 MB, free: 52.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001574/0.01703, allocations: 188.8 kB / 317.3 MB, free: 52.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.01703, allocations: 4 kB / 317.3 MB, free: 52.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0002525/0.01728, allocations: 320.2 kB / 317.6 MB, free: 51.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.01729, allocations: 29.7 kB / 317.7 MB, free: 51.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/0.0173, allocations: 0 / 317.7 MB, free: 51.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.0173, allocations: 4 kB / 317.7 MB, free: 51.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01744, allocations: 71.47 kB / 317.7 MB, free: 51.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.01745, allocations: 7.938 kB / 317.7 MB, free: 51.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.298e-05/0.01753, allocations: 19.98 kB / 317.8 MB, free: 51.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.01755, allocations: 18.41 kB / 317.8 MB, free: 51.72 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 8.431e-05/0.01763, allocations: 288 kB / 318.1 MB, free: 51.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.01767, allocations: 43.8 kB / 318.1 MB, free: 51.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.01797, allocations: 251.9 kB / 318.3 MB, free: 51.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01797, allocations: 7.938 kB / 318.4 MB, free: 51.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.01797, allocations: 0 / 318.4 MB, free: 51.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01798, allocations: 0 / 318.4 MB, free: 51.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.01863, allocations: 0.7164 MB / 319.1 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01863, allocations: 4.031 kB / 319.1 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.01883, allocations: 71.89 kB / 319.1 MB, free: 50.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01883, allocations: 4 kB / 319.2 MB, free: 50.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.01885, allocations: 12 kB / 319.2 MB, free: 50.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.01886, allocations: 7.938 kB / 319.2 MB, free: 50.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01886, allocations: 0 / 319.2 MB, free: 50.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.01926, allocations: 0.4952 MB / 319.7 MB, free: 49.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.263e-05/0.01935, allocations: 63.72 kB / 319.7 MB, free: 49.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.01939, allocations: 15.98 kB / 319.7 MB, free: 49.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.0195, allocations: 19.98 kB / 319.8 MB, free: 49.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.01956, allocations: 27.95 kB / 319.8 MB, free: 49.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.01958, allocations: 15.98 kB / 319.8 MB, free: 49.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.921e-05/0.01968, allocations: 215 kB / 320 MB, free: 49.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01968, allocations: 0 / 320 MB, free: 49.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003394/0.02002, allocations: 147.9 kB / 320.2 MB, free: 49.21 MB / 282.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.0001409/0.02016, allocations: 107.2 kB / 320.3 MB, free: 49.1 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004398/0.0206, allocations: 467.2 kB / 320.7 MB, free: 48.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.0206, allocations: 0 / 320.7 MB, free: 48.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.02072, allocations: 112.8 kB / 320.8 MB, free: 48.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.02105, allocations: 61.77 kB / 320.9 MB, free: 48.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.02233, allocations: 0.8562 MB / 321.7 MB, free: 47.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.823e-05/0.02238, allocations: 101.8 kB / 321.8 MB, free: 47.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.02249, allocations: 46.92 kB / 321.9 MB, free: 47.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.02256, allocations: 32.5 kB / 321.9 MB, free: 47.32 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02256, allocations: 0 / 321.9 MB, free: 47.32 MB / 282.7 MB Notification: Performance of Templates: time 0.005549/0.02811, allocations: 3.949 MB / 325.9 MB, free: 43.43 MB / 282.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=240 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.975048123858869]