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.0009057/0.0009057, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.0009657/0.0009657, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.8866/0.8866, allocations: 158.6 MB / 185.2 MB, free: 2.801 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.007616/0.007616, allocations: 1.432 MB / 239 MB, free: 13.5 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.944e-06/1.944e-06, allocations: 0 / 305.1 MB, free: 60.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.268e-05, allocations: 2.312 kB / 305.1 MB, free: 60.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003411/0.003433, allocations: 3.366 MB / 308.4 MB, free: 58.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.004968, allocations: 0.8573 MB / 309.3 MB, free: 58.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.005151, allocations: 9.438 kB / 309.3 MB, free: 58.05 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.005299, allocations: 63.8 kB / 309.3 MB, free: 58.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.005563, allocations: 151.6 kB / 309.5 MB, free: 57.9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.005907, allocations: 127 kB / 309.6 MB, free: 57.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.006361, allocations: 0.5353 MB / 310.2 MB, free: 57.53 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.006533, allocations: 104.5 kB / 310.3 MB, free: 57.47 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.006856, allocations: 297.3 kB / 310.5 MB, free: 57.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.007058, allocations: 157.6 kB / 310.7 MB, free: 57.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.007109, allocations: 45.25 kB / 310.7 MB, free: 57.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.007207, allocations: 55.55 kB / 310.8 MB, free: 57.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.007263, allocations: 85.77 kB / 310.9 MB, free: 57.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.007382, allocations: 159 kB / 311 MB, free: 57.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.007745, allocations: 328.9 kB / 311.4 MB, free: 56.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.007747, allocations: 0 / 311.4 MB, free: 56.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007749, allocations: 0.5156 kB / 311.4 MB, free: 56.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.007754, allocations: 0 / 311.4 MB, free: 56.99 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.0008018/0.008556, allocations: 0.7675 MB / 312.1 MB, free: 56.38 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.008588, allocations: 10.19 kB / 312.1 MB, free: 56.38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.008674, allocations: 73.31 kB / 312.2 MB, free: 56.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.008881, allocations: 257.9 kB / 312.5 MB, free: 56.12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.0089, allocations: 23.09 kB / 312.5 MB, free: 56.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.008935, allocations: 34.31 kB / 312.5 MB, free: 56.1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.009186, allocations: 260.1 kB / 312.8 MB, free: 55.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.009195, allocations: 13.27 kB / 312.8 MB, free: 55.94 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.009213, allocations: 11.03 kB / 312.8 MB, free: 55.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.009221, allocations: 8.375 kB / 312.8 MB, free: 55.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.009364, allocations: 95.12 kB / 312.9 MB, free: 55.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.01015, allocations: 0.7304 MB / 313.6 MB, free: 55.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.01032, allocations: 149.8 kB / 313.8 MB, free: 55.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/0.01038, allocations: 58.91 kB / 313.8 MB, free: 55.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.0104, allocations: 5.984 kB / 313.8 MB, free: 55.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.01055, allocations: 190.5 kB / 314 MB, free: 55.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.362e-06/0.01056, allocations: 0 / 314 MB, free: 55.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008438/0.0114, allocations: 0.7458 MB / 314.8 MB, free: 54.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.626e-05/0.01142, allocations: 60.03 kB / 314.8 MB, free: 54.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.01156, allocations: 313.4 kB / 315.1 MB, free: 54.35 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.01158, allocations: 40.23 kB / 315.2 MB, free: 54.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.01165, allocations: 245.2 kB / 315.4 MB, free: 54.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.0117, allocations: 129.1 kB / 315.5 MB, free: 53.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.01177, allocations: 75.33 kB / 315.6 MB, free: 53.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.01183, allocations: 0.5143 MB / 316.1 MB, free: 53.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.01189, allocations: 72.83 kB / 316.2 MB, free: 53.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.01197, allocations: 116.8 kB / 316.3 MB, free: 53.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.0121, allocations: 174.4 kB / 316.5 MB, free: 53.13 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0121, allocations: 4 kB / 316.5 MB, free: 53.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002203/0.01232, allocations: 304.4 kB / 316.8 MB, free: 52.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.01235, allocations: 33.7 kB / 316.8 MB, free: 52.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01235, allocations: 0 / 316.8 MB, free: 52.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.01236, allocations: 4 kB / 316.8 MB, free: 52.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.01253, allocations: 71.91 kB / 316.9 MB, free: 52.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.01253, allocations: 4.562 kB / 316.9 MB, free: 52.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.01262, allocations: 15.98 kB / 316.9 MB, free: 52.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.01263, allocations: 12 kB / 316.9 MB, free: 52.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.674e-05/0.01273, allocations: 201.1 kB / 317.1 MB, free: 52.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.559e-05/0.0128, allocations: 119.4 kB / 317.2 MB, free: 52.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001047/0.0129, allocations: 172.7 kB / 317.4 MB, free: 52.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-07/0.0129, allocations: 0 / 317.4 MB, free: 52.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0001788/0.01308, allocations: 294.1 kB / 317.7 MB, free: 51.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.01309, allocations: 33.7 kB / 317.7 MB, free: 51.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-06/0.01309, allocations: 4 kB / 317.7 MB, free: 51.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-06/0.01309, allocations: 0 / 317.7 MB, free: 51.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.01322, allocations: 67.97 kB / 317.8 MB, free: 51.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.01322, allocations: 11.98 kB / 317.8 MB, free: 51.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.0133, allocations: 19.94 kB / 317.8 MB, free: 51.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.0133, allocations: 4 kB / 317.8 MB, free: 51.73 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.434e-05/0.01337, allocations: 295.9 kB / 318.1 MB, free: 51.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.0134, allocations: 43.81 kB / 318.2 MB, free: 51.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.01359, allocations: 220.1 kB / 318.4 MB, free: 51.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01359, allocations: 4 kB / 318.4 MB, free: 51.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.0136, allocations: 3.938 kB / 318.4 MB, free: 51.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.0136, allocations: 0 / 318.4 MB, free: 51.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.01405, allocations: 0.6583 MB / 319 MB, free: 50.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01405, allocations: 7.984 kB / 319 MB, free: 50.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.01421, allocations: 79.83 kB / 319.1 MB, free: 50.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01422, allocations: 0 / 319.1 MB, free: 50.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.01423, allocations: 8 kB / 319.1 MB, free: 50.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01423, allocations: 4 kB / 319.1 MB, free: 50.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01423, allocations: 7.984 kB / 319.1 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.01449, allocations: 479.3 kB / 319.6 MB, free: 49.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.01456, allocations: 63.7 kB / 319.7 MB, free: 49.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.01458, allocations: 12 kB / 319.7 MB, free: 49.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.01468, allocations: 15.98 kB / 319.7 MB, free: 49.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.01472, allocations: 31.94 kB / 319.7 MB, free: 49.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01473, allocations: 16 kB / 319.8 MB, free: 49.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.619e-05/0.01479, allocations: 203 kB / 319.9 MB, free: 49.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01479, allocations: 0 / 319.9 MB, free: 49.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.01506, allocations: 148 kB / 320.1 MB, free: 49.36 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 7.729e-05/0.01514, allocations: 119.1 kB / 320.2 MB, free: 49.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.01539, allocations: 423.2 kB / 320.6 MB, free: 48.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.0154, allocations: 0 / 320.6 MB, free: 48.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.01548, allocations: 104.8 kB / 320.7 MB, free: 48.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.01574, allocations: 70.91 kB / 320.8 MB, free: 48.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.01671, allocations: 0.8477 MB / 321.6 MB, free: 47.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.01675, allocations: 101.8 kB / 321.7 MB, free: 47.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.01687, allocations: 42.94 kB / 321.8 MB, free: 47.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.01699, allocations: 138.2 kB / 321.9 MB, free: 47.4 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01699, allocations: 0 / 321.9 MB, free: 47.4 MB / 282.7 MB Notification: Performance of Templates: time 0.005062/0.02205, allocations: 4.321 MB / 326.2 MB, free: 43.13 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.8913262961432338]