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.006932/0.006932, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001596/0.001596, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.641/1.641, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008332/0.008332, allocations: 1.935 MB / 271.8 MB, free: 3.254 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.001523/0.001523, allocations: 71.89 kB / 378.2 MB, free: 424 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1135, allocations: 47.12 MB / 425.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.2226/0.3361, allocations: 3.391 MB / 428.8 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3374, allocations: 0.8701 MB / 429.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.3376, allocations: 12.94 kB / 429.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.3378, allocations: 60.64 kB / 429.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.3381, allocations: 150.3 kB / 429.9 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.3384, allocations: 113.5 kB / 430 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.3389, allocations: 0.521 MB / 430.5 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.3391, allocations: 156.5 kB / 430.6 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.3393, allocations: 194.3 kB / 430.8 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.3395, allocations: 200.5 kB / 431 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.3396, allocations: 41.88 kB / 431.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3397, allocations: 47.89 kB / 431.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.3398, allocations: 93.45 kB / 431.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.34, allocations: 232.9 kB / 431.4 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000495/0.3405, allocations: 474.8 kB / 431.9 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.3405, allocations: 3.938 kB / 431.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3405, allocations: 0 / 431.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3405, allocations: 1.125 kB / 431.9 MB, free: 8.633 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.001149/0.3417, allocations: 0.7316 MB / 432.6 MB, free: 8.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3417, allocations: 12.92 kB / 432.6 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.491e-05/0.3418, allocations: 47.33 kB / 432.7 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.3422, allocations: 319.5 kB / 433 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.3422, allocations: 23.33 kB / 433 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.3423, allocations: 38.73 kB / 433.1 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.3428, allocations: 296.1 kB / 433.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3429, allocations: 1.25 kB / 433.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.3429, allocations: 10.72 kB / 433.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.3429, allocations: 7.875 kB / 433.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.3434, allocations: 240 kB / 433.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3448, allocations: 0.9221 MB / 434.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.3453, allocations: 260.1 kB / 434.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.3456, allocations: 118.6 kB / 434.9 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3456, allocations: 8.641 kB / 434.9 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/0.346, allocations: 185.5 kB / 435.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.346, allocations: 0 / 435.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002176/0.3482, allocations: 1.219 MB / 436.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.3482, allocations: 57.11 kB / 436.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.3485, allocations: 307.1 kB / 436.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3486, allocations: 40.52 kB / 436.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.3487, allocations: 188.1 kB / 436.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.3487, allocations: 119.6 kB / 437 MB, free: 5.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3488, allocations: 71.94 kB / 437.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.3489, allocations: 344.4 kB / 437.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.3492, allocations: 118.3 kB / 437.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.3494, allocations: 155.8 kB / 437.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.3499, allocations: 273.3 kB / 437.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3499, allocations: 0 / 437.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006178/0.3505, allocations: 392 kB / 438.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.3506, allocations: 32.14 kB / 438.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3506, allocations: 1.031 kB / 438.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3506, allocations: 2.125 kB / 438.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.351, allocations: 75.73 kB / 438.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.351, allocations: 6.188 kB / 438.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.3512, allocations: 23.66 kB / 438.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.3512, allocations: 12.97 kB / 438.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002989/0.3516, allocations: 224.4 kB / 438.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002402/0.3518, allocations: 147.8 kB / 438.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004251/0.3522, allocations: 278.8 kB / 439.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.3522, allocations: 4 kB / 439.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006917/0.3529, allocations: 375.3 kB / 439.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.353, allocations: 40.62 kB / 439.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.353, allocations: 1.031 kB / 439.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.353, allocations: 2.75 kB / 439.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.3533, allocations: 72.39 kB / 439.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.3534, allocations: 2.781 kB / 439.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.3536, allocations: 29.59 kB / 439.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.3536, allocations: 12.78 kB / 439.6 MB, free: 3.879 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 9.097e-05/0.3537, allocations: 200.5 kB / 439.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.3538, allocations: 37.64 kB / 439.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006801/0.3545, allocations: 333.1 kB / 440.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3545, allocations: 8.797 kB / 440.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3545, allocations: 0 / 440.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3545, allocations: 2.438 kB / 440.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.3557, allocations: 0.8735 MB / 441.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3557, allocations: 5.562 kB / 441.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.3561, allocations: 79.08 kB / 441.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3561, allocations: 2.938 kB / 441.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.3561, allocations: 8.719 kB / 441.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.3561, allocations: 3.859 kB / 441.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3561, allocations: 13.88 kB / 441.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008464/0.357, allocations: 0.5752 MB / 441.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.3571, allocations: 141.8 kB / 441.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.3572, allocations: 13 kB / 441.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3574, allocations: 28.95 kB / 441.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.3575, allocations: 37.25 kB / 442 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.3576, allocations: 13.09 kB / 442 MB, free: 2.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.3578, allocations: 215.7 kB / 442.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3578, allocations: 0 / 442.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004966/0.3583, allocations: 147.2 kB / 442.3 MB, free: 2.285 MB / 318.1 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.0001252/0.3584, allocations: 113.8 kB / 442.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009088/0.3593, allocations: 0.54 MB / 443 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3593, allocations: 0 / 443 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.3597, allocations: 170.6 kB / 443.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.3602, allocations: 73.64 kB / 443.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.3618, allocations: 0.9343 MB / 444.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.362, allocations: 0.7955 MB / 445 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.3623, allocations: 45.41 kB / 445 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.3623, allocations: 33.61 kB / 445 MB, free: 0.543 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3624, allocations: 0 / 445 MB, free: 0.543 MB / 318.1 MB Notification: Performance of Templates: time 0.008772/0.3711, allocations: 4.298 MB / 449.3 MB, free: 15.39 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)