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.001291/0.001291, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001448/0.001448, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.8565/0.8565, allocations: 158.6 MB / 186 MB, free: 2.805 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.01007/0.01007, allocations: 1.443 MB / 239.8 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.323e-06/1.323e-06, allocations: 0 / 305.8 MB, free: 60.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.982e-05, allocations: 2.312 kB / 305.8 MB, free: 60.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.00344/0.00346, allocations: 3.362 MB / 309.2 MB, free: 58.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.004818, allocations: 0.8573 MB / 310.1 MB, free: 58.06 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.005014, allocations: 8.188 kB / 310.1 MB, free: 58.05 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.005186, allocations: 64.53 kB / 310.1 MB, free: 58.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.005451, allocations: 151.5 kB / 310.3 MB, free: 57.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.005842, allocations: 127.6 kB / 310.4 MB, free: 57.83 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.006325, allocations: 0.535 MB / 310.9 MB, free: 57.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.006525, allocations: 104.8 kB / 311 MB, free: 57.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/0.006878, allocations: 298.3 kB / 311.3 MB, free: 57.35 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.007098, allocations: 151.2 kB / 311.5 MB, free: 57.3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.007154, allocations: 42.62 kB / 311.5 MB, free: 57.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.007282, allocations: 55.23 kB / 311.6 MB, free: 57.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.64e-05/0.007368, allocations: 89.77 kB / 311.7 MB, free: 57.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.00752, allocations: 158.1 kB / 311.8 MB, free: 57.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.007962, allocations: 324.7 kB / 312.1 MB, free: 57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.007966, allocations: 7.312 kB / 312.1 MB, free: 57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.007967, allocations: 0 / 312.1 MB, free: 57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.00798, allocations: 0 / 312.1 MB, free: 57 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.0008974/0.008877, allocations: 0.7609 MB / 312.9 MB, free: 56.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.008914, allocations: 13.41 kB / 312.9 MB, free: 56.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.93e-05/0.009013, allocations: 71.16 kB / 313 MB, free: 56.36 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.009279, allocations: 266.9 kB / 313.3 MB, free: 56.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.009303, allocations: 24.91 kB / 313.3 MB, free: 56.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.009357, allocations: 35.78 kB / 313.3 MB, free: 56.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.009654, allocations: 259.5 kB / 313.6 MB, free: 55.96 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.009669, allocations: 0.8438 kB / 313.6 MB, free: 55.96 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.009689, allocations: 12.5 kB / 313.6 MB, free: 55.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.009698, allocations: 7.719 kB / 313.6 MB, free: 55.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.009847, allocations: 99.83 kB / 313.7 MB, free: 55.94 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.01076, allocations: 0.7323 MB / 314.4 MB, free: 55.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.01095, allocations: 152 kB / 314.6 MB, free: 55.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.01102, allocations: 54.09 kB / 314.6 MB, free: 55.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.01104, allocations: 8.438 kB / 314.6 MB, free: 55.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.0112, allocations: 188.2 kB / 314.8 MB, free: 55.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.0112, allocations: 0 / 314.8 MB, free: 55.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009709/0.01217, allocations: 0.7594 MB / 315.6 MB, free: 54.67 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.0122, allocations: 59.19 kB / 315.6 MB, free: 54.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.01235, allocations: 304.9 kB / 315.9 MB, free: 54.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.01237, allocations: 36.98 kB / 316 MB, free: 54.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.01245, allocations: 245.6 kB / 316.2 MB, free: 54.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.0125, allocations: 130 kB / 316.3 MB, free: 53.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.01258, allocations: 78.31 kB / 316.4 MB, free: 53.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.01264, allocations: 0.514 MB / 316.9 MB, free: 53.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.292e-05/0.01271, allocations: 76.52 kB / 317 MB, free: 53.35 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.622e-05/0.0128, allocations: 118.3 kB / 317.1 MB, free: 53.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.01296, allocations: 166.1 kB / 317.3 MB, free: 53.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01296, allocations: 0 / 317.3 MB, free: 53.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002575/0.01322, allocations: 302.4 kB / 317.6 MB, free: 52.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.01324, allocations: 33.7 kB / 317.6 MB, free: 52.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01325, allocations: 0 / 317.6 MB, free: 52.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.01326, allocations: 8.062 kB / 317.6 MB, free: 52.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.01344, allocations: 75.89 kB / 317.7 MB, free: 52.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.01344, allocations: 4.562 kB / 317.7 MB, free: 52.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.01355, allocations: 19.98 kB / 317.7 MB, free: 52.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.01357, allocations: 8 kB / 317.7 MB, free: 52.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001085/0.01368, allocations: 205 kB / 317.9 MB, free: 52.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.34e-05/0.01374, allocations: 111.4 kB / 318 MB, free: 52.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000107/0.01385, allocations: 168.7 kB / 318.2 MB, free: 52.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.01385, allocations: 4 kB / 318.2 MB, free: 52.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0001996/0.01405, allocations: 290.2 kB / 318.5 MB, free: 51.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.01406, allocations: 41.62 kB / 318.5 MB, free: 51.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.01406, allocations: 3 kB / 318.5 MB, free: 51.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-06/0.01406, allocations: 0 / 318.5 MB, free: 51.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.0142, allocations: 71.91 kB / 318.6 MB, free: 51.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.0142, allocations: 4 kB / 318.6 MB, free: 51.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.884e-05/0.01429, allocations: 23.92 kB / 318.6 MB, free: 51.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.0143, allocations: 8 kB / 318.6 MB, free: 51.75 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 7.009e-05/0.01437, allocations: 288.1 kB / 318.9 MB, free: 51.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.01441, allocations: 47.75 kB / 318.9 MB, free: 51.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.01462, allocations: 220.1 kB / 319.2 MB, free: 51.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.01462, allocations: 4 kB / 319.2 MB, free: 51.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01463, allocations: 3.938 kB / 319.2 MB, free: 51.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.01463, allocations: 7.984 kB / 319.2 MB, free: 51.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.01512, allocations: 0.6505 MB / 319.8 MB, free: 50.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01512, allocations: 4.156 kB / 319.8 MB, free: 50.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.0153, allocations: 79.83 kB / 319.9 MB, free: 50.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-06/0.01531, allocations: 4 kB / 319.9 MB, free: 50.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.01532, allocations: 15.98 kB / 319.9 MB, free: 50.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01532, allocations: 0 / 319.9 MB, free: 50.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01533, allocations: 4 kB / 319.9 MB, free: 50.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.01562, allocations: 475.1 kB / 320.4 MB, free: 49.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.0157, allocations: 63.7 kB / 320.5 MB, free: 49.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.01573, allocations: 12 kB / 320.5 MB, free: 49.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.01583, allocations: 23.98 kB / 320.5 MB, free: 49.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.01589, allocations: 27.94 kB / 320.5 MB, free: 49.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.0159, allocations: 12 kB / 320.5 MB, free: 49.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.53e-05/0.01597, allocations: 210.9 kB / 320.7 MB, free: 49.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01597, allocations: 0 / 320.7 MB, free: 49.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.01629, allocations: 148 kB / 320.9 MB, free: 49.38 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.0001077/0.0164, allocations: 103.2 kB / 321 MB, free: 49.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.01676, allocations: 431.3 kB / 321.4 MB, free: 48.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01676, allocations: 4.062 kB / 321.4 MB, free: 48.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.762e-05/0.01685, allocations: 104.8 kB / 321.5 MB, free: 48.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.01714, allocations: 70.34 kB / 321.6 MB, free: 48.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.0182, allocations: 0.8442 MB / 322.4 MB, free: 47.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.452e-05/0.01825, allocations: 113.7 kB / 322.5 MB, free: 47.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.01837, allocations: 42.94 kB / 322.6 MB, free: 47.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.0185, allocations: 134.2 kB / 322.7 MB, free: 47.42 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0185, allocations: 0 / 322.7 MB, free: 47.42 MB / 282.7 MB Notification: Performance of Templates: time 0.00564/0.02414, allocations: 4.426 MB / 327.1 MB, free: 43.04 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.699706277810037]