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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 111.1 kB / 16.42 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 191.8 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007704/0.007704, allocations: 1.939 MB / 272.5 MB, free: 10.07 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 69.42 kB / 378.9 MB, free: 51.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05778/0.05917, allocations: 47.13 MB / 426 MB, free: 19.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003069/0.06226, allocations: 3.409 MB / 429.5 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.06343, allocations: 0.8695 MB / 430.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.06364, allocations: 4 kB / 430.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.06381, allocations: 59.42 kB / 430.4 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.06406, allocations: 146.7 kB / 430.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.06435, allocations: 115.8 kB / 430.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.06471, allocations: 0.5134 MB / 431.2 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.0649, allocations: 156.8 kB / 431.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.06508, allocations: 195.2 kB / 431.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.06528, allocations: 207.1 kB / 431.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.06534, allocations: 40 kB / 431.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.555e-05/0.06544, allocations: 56 kB / 431.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.0655, allocations: 87.62 kB / 431.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.06564, allocations: 226.9 kB / 432.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.06597, allocations: 466.4 kB / 432.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.06598, allocations: 0 / 432.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.06599, allocations: 0 / 432.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.066, allocations: 4 kB / 432.6 MB, free: 13.41 MB / 318.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.001006/0.06701, allocations: 0.7362 MB / 433.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.06705, allocations: 11.89 kB / 433.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.06713, allocations: 52.38 kB / 433.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.06741, allocations: 315.4 kB / 433.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.06744, allocations: 25.03 kB / 433.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.06749, allocations: 35.94 kB / 433.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.06796, allocations: 294 kB / 434 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.06799, allocations: 0 / 434 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.06802, allocations: 19.94 kB / 434 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.06803, allocations: 8 kB / 434 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.06847, allocations: 238.5 kB / 434.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.06956, allocations: 0.9168 MB / 435.2 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.07, allocations: 269.5 kB / 435.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.0702, allocations: 113.3 kB / 435.6 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.07023, allocations: 4.234 kB / 435.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.07052, allocations: 191.3 kB / 435.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.07054, allocations: 4 kB / 435.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001877/0.07242, allocations: 1.216 MB / 437 MB, free: 8.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.07245, allocations: 63.39 kB / 437 MB, free: 8.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.07266, allocations: 308.5 kB / 437.3 MB, free: 8.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.07269, allocations: 33.7 kB / 437.4 MB, free: 8.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.07277, allocations: 188.6 kB / 437.6 MB, free: 8.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.07283, allocations: 122.3 kB / 437.7 MB, free: 7.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.07292, allocations: 69.98 kB / 437.7 MB, free: 7.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.07297, allocations: 346.8 kB / 438.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.07319, allocations: 114.4 kB / 438.2 MB, free: 7.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.07341, allocations: 161.5 kB / 438.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.07382, allocations: 270.1 kB / 438.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.07383, allocations: 4 kB / 438.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005269/0.07436, allocations: 385.7 kB / 439 MB, free: 6.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.07439, allocations: 29.7 kB / 439 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.0744, allocations: 0 / 439 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.07441, allocations: 4 kB / 439 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.07473, allocations: 79.95 kB / 439.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.07474, allocations: 3.938 kB / 439.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.07497, allocations: 31.97 kB / 439.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.075, allocations: 12 kB / 439.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002648/0.07527, allocations: 216.5 kB / 439.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001998/0.07548, allocations: 145.1 kB / 439.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00038/0.07587, allocations: 279.9 kB / 439.8 MB, free: 5.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.07588, allocations: 0 / 439.8 MB, free: 5.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005074/0.07639, allocations: 382.6 kB / 440.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.07642, allocations: 49.59 kB / 440.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.07642, allocations: 0 / 440.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-06/0.07643, allocations: 4 kB / 440.2 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.0767, allocations: 71.91 kB / 440.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.07671, allocations: 0 / 440.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.07693, allocations: 23.97 kB / 440.3 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.07696, allocations: 12 kB / 440.3 MB, free: 5.25 MB / 318.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 7.109e-05/0.07703, allocations: 204.7 kB / 440.5 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.07707, allocations: 39.56 kB / 440.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005217/0.0776, allocations: 336.8 kB / 440.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.07762, allocations: 0 / 440.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.07762, allocations: 0 / 440.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.07773, allocations: 140.6 kB / 441 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.07778, allocations: 8 kB / 441 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.078, allocations: 31.91 kB / 441.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.07808, allocations: 31.91 kB / 441.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007572/0.07884, allocations: 432.5 kB / 441.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007074/0.07956, allocations: 0.6273 MB / 442.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002166/0.07979, allocations: 148.1 kB / 442.3 MB, free: 3.219 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.07993, allocations: 219.1 kB / 442.5 MB, free: 3.008 MB / 318.1 MB Notification: Performance of Backend: time 2.1e-07/0.07994, allocations: 0 / 442.5 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000841/0.08078, allocations: 0.5364 MB / 443 MB, free: 2.441 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009983/0.08179, allocations: 1.268 MB / 444.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of Templates: time 0.008796/0.0906, allocations: 5.551 MB / 449.8 MB, free: 11.56 MB / 334.1 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile (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)