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.001317/0.001317, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001338/0.001338, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00885/0.00885, allocations: 1.932 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.001417/0.001417, allocations: 75.89 kB / 331.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2468, allocations: 47.11 MB / 378.4 MB, free: 53.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004644/0.2515, allocations: 3.39 MB / 381.8 MB, free: 51.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.253, allocations: 0.8748 MB / 382.7 MB, free: 51.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.2532, allocations: 4.406 kB / 382.7 MB, free: 51.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.2534, allocations: 56.91 kB / 382.7 MB, free: 51.44 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.2537, allocations: 139.4 kB / 382.9 MB, free: 51.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.254, allocations: 124.6 kB / 383 MB, free: 51.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.2546, allocations: 0.5138 MB / 383.5 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.2549, allocations: 159.5 kB / 383.7 MB, free: 51.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.2551, allocations: 192.6 kB / 383.8 MB, free: 51.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.2554, allocations: 199.8 kB / 384 MB, free: 51.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.849e-05/0.2555, allocations: 43.5 kB / 384.1 MB, free: 51.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.2556, allocations: 48.12 kB / 384.1 MB, free: 51.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.2557, allocations: 98.62 kB / 384.2 MB, free: 50.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.2559, allocations: 221.3 kB / 384.4 MB, free: 50.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.2564, allocations: 470.7 kB / 384.9 MB, free: 50.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2564, allocations: 1.062 kB / 384.9 MB, free: 50.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2564, allocations: 0 / 384.9 MB, free: 50.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.2565, allocations: 0 / 384.9 MB, free: 50.62 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.001309/0.2578, allocations: 0.7422 MB / 385.6 MB, free: 50.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2578, allocations: 16.36 kB / 385.7 MB, free: 50.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/0.2579, allocations: 44.08 kB / 385.7 MB, free: 50.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.2583, allocations: 317.7 kB / 386 MB, free: 49.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.2583, allocations: 21.95 kB / 386 MB, free: 49.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.2584, allocations: 39.33 kB / 386.1 MB, free: 49.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.259, allocations: 293.2 kB / 386.4 MB, free: 49.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.259, allocations: 2.812 kB / 386.4 MB, free: 49.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.259, allocations: 15.83 kB / 386.4 MB, free: 49.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.259, allocations: 8 kB / 386.4 MB, free: 49.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.2596, allocations: 239.4 kB / 386.6 MB, free: 49.49 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.261, allocations: 0.9154 MB / 387.5 MB, free: 48.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.2616, allocations: 269.4 kB / 387.8 MB, free: 48.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.2618, allocations: 118.1 kB / 387.9 MB, free: 48.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.2619, allocations: 9.781 kB / 387.9 MB, free: 48.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.2622, allocations: 185.6 kB / 388.1 MB, free: 48.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.2623, allocations: 0 / 388.1 MB, free: 48.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002186/0.2644, allocations: 1.22 MB / 389.3 MB, free: 47.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.2645, allocations: 56.33 kB / 389.4 MB, free: 47.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.2648, allocations: 306.6 kB / 389.7 MB, free: 47.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.2648, allocations: 41 kB / 389.7 MB, free: 47.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.2649, allocations: 190.7 kB / 389.9 MB, free: 47.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.471e-05/0.265, allocations: 115.6 kB / 390 MB, free: 47.37 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2651, allocations: 72.11 kB / 390.1 MB, free: 47.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.2652, allocations: 339.7 kB / 390.4 MB, free: 47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.2654, allocations: 114.2 kB / 390.5 MB, free: 46.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.2657, allocations: 155.5 kB / 390.7 MB, free: 46.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.2662, allocations: 279.9 kB / 391 MB, free: 46.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2662, allocations: 3.906 kB / 391 MB, free: 46.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006283/0.2668, allocations: 394.7 kB / 391.3 MB, free: 46.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.2669, allocations: 32.28 kB / 391.4 MB, free: 46.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2669, allocations: 4.312 kB / 391.4 MB, free: 46.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2669, allocations: 3.375 kB / 391.4 MB, free: 46.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.2672, allocations: 73.03 kB / 391.5 MB, free: 46.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2673, allocations: 7.203 kB / 391.5 MB, free: 46.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.2675, allocations: 26.38 kB / 391.5 MB, free: 46.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.2675, allocations: 12.33 kB / 391.5 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002992/0.2678, allocations: 222.4 kB / 391.7 MB, free: 46.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002425/0.2681, allocations: 143.5 kB / 391.9 MB, free: 46.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000417/0.2685, allocations: 276 kB / 392.1 MB, free: 46.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.2685, allocations: 1.5 kB / 392.1 MB, free: 46.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006031/0.2691, allocations: 382.6 kB / 392.5 MB, free: 45.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.2692, allocations: 37.91 kB / 392.5 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.2692, allocations: 1.156 kB / 392.5 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.2692, allocations: 2.922 kB / 392.5 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.2695, allocations: 72.36 kB / 392.6 MB, free: 45.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2695, allocations: 6.531 kB / 392.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2697, allocations: 22 kB / 392.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.2697, allocations: 12.91 kB / 392.7 MB, free: 45.89 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.204e-05/0.2698, allocations: 204.6 kB / 392.9 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.2699, allocations: 36.91 kB / 392.9 MB, free: 45.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/0.2705, allocations: 339.1 kB / 393.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2705, allocations: 3.531 kB / 393.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2705, allocations: 0 / 393.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2705, allocations: 2.016 kB / 393.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.2717, allocations: 0.8756 MB / 394.1 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2717, allocations: 7.953 kB / 394.1 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.2721, allocations: 73.97 kB / 394.2 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2721, allocations: 4.062 kB / 394.2 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.2721, allocations: 8.703 kB / 394.2 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2721, allocations: 6.781 kB / 394.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2722, allocations: 5.406 kB / 394.2 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.273, allocations: 0.5793 MB / 394.8 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.2731, allocations: 146.9 kB / 394.9 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.2732, allocations: 15.83 kB / 394.9 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.2735, allocations: 22.81 kB / 395 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.2736, allocations: 33.72 kB / 395 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.2736, allocations: 13.17 kB / 395 MB, free: 44.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.2738, allocations: 216.4 kB / 395.2 MB, free: 44.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2738, allocations: 0 / 395.2 MB, free: 44.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004942/0.2743, allocations: 147.6 kB / 395.4 MB, free: 44.29 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.0001268/0.2744, allocations: 113.1 kB / 395.5 MB, free: 44.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009137/0.2754, allocations: 0.5454 MB / 396 MB, free: 43.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2754, allocations: 0 / 396 MB, free: 43.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.2757, allocations: 158.8 kB / 396.2 MB, free: 43.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.2762, allocations: 66.14 kB / 396.2 MB, free: 43.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2777, allocations: 0.9614 MB / 397.2 MB, free: 43.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.2779, allocations: 0.7999 MB / 398 MB, free: 42.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.2781, allocations: 44.34 kB / 398 MB, free: 42.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.218e-05/0.2782, allocations: 29.05 kB / 398.1 MB, free: 42.55 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2782, allocations: 0 / 398.1 MB, free: 42.55 MB / 318.1 MB Notification: Performance of Templates: time 0.008308/0.2865, allocations: 4.204 MB / 402.3 MB, free: 41.47 MB / 318.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 -s cvode -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)