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.001445/0.001445, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.401/1.401, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01567/0.01567, allocations: 1.924 MB / 271.7 MB, free: 3.379 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: 67.89 kB / 329.8 MB, free: 32.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07291/0.07444, allocations: 47.14 MB / 377 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004679/0.07915, allocations: 3.385 MB / 380.4 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.08108, allocations: 0.8699 MB / 381.2 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003625/0.08147, allocations: 7.938 kB / 381.2 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.08174, allocations: 59.42 kB / 381.3 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.08223, allocations: 146.7 kB / 381.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.08267, allocations: 119.8 kB / 381.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006406/0.08333, allocations: 0.5095 MB / 382.1 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.08361, allocations: 152.8 kB / 382.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.0839, allocations: 191.2 kB / 382.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.08418, allocations: 207 kB / 382.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.08427, allocations: 47.94 kB / 382.6 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.08442, allocations: 44 kB / 382.7 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.08452, allocations: 91.69 kB / 382.8 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.08476, allocations: 222.9 kB / 383 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.08529, allocations: 470.5 kB / 383.5 MB, free: 11.13 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.0853, allocations: 0 / 383.5 MB, free: 11.13 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.08531, allocations: 0 / 383.5 MB, free: 11.13 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.054e-05/0.08535, allocations: 0 / 383.5 MB, free: 11.13 MB / 286.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.001416/0.08677, allocations: 0.7517 MB / 384.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.08681, allocations: 11.89 kB / 384.2 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.08693, allocations: 44.47 kB / 384.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.08732, allocations: 311.4 kB / 384.6 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.08735, allocations: 21.03 kB / 384.6 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.08742, allocations: 43.92 kB / 384.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.08802, allocations: 294 kB / 384.9 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.08805, allocations: 3.906 kB / 384.9 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.0881, allocations: 16 kB / 384.9 MB, free: 9.547 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.08811, allocations: 8 kB / 384.9 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.0887, allocations: 238.5 kB / 385.2 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.09043, allocations: 0.9323 MB / 386.1 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.09104, allocations: 263.2 kB / 386.4 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.09133, allocations: 121.3 kB / 386.5 MB, free: 7.934 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.09136, allocations: 4.234 kB / 386.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/0.09187, allocations: 187.4 kB / 386.7 MB, free: 7.734 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 2.365e-06/0.09188, allocations: 4 kB / 386.7 MB, free: 7.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002559/0.09445, allocations: 1.22 MB / 387.9 MB, free: 6.422 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.09451, allocations: 55.41 kB / 388 MB, free: 6.355 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.09485, allocations: 304.6 kB / 388.3 MB, free: 6.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.0949, allocations: 33.7 kB / 388.3 MB, free: 6.012 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.09505, allocations: 192.6 kB / 388.5 MB, free: 5.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.165e-05/0.09515, allocations: 118.4 kB / 388.6 MB, free: 5.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.09529, allocations: 66.08 kB / 388.7 MB, free: 5.633 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.09542, allocations: 350.8 kB / 389 MB, free: 5.281 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.0957, allocations: 114.4 kB / 389.1 MB, free: 5.168 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.096, allocations: 149.6 kB / 389.3 MB, free: 5.012 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.09656, allocations: 285.8 kB / 389.5 MB, free: 4.715 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.09657, allocations: 3.938 kB / 389.5 MB, free: 4.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007099/0.09729, allocations: 385.7 kB / 389.9 MB, free: 4.324 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.09734, allocations: 34.33 kB / 389.9 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.09735, allocations: 0 / 389.9 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.09738, allocations: 12 kB / 390 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.09773, allocations: 71.89 kB / 390 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.09775, allocations: 4 kB / 390 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.09803, allocations: 23.97 kB / 390.1 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.09806, allocations: 16 kB / 390.1 MB, free: 4.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003563/0.09843, allocations: 224.5 kB / 390.3 MB, free: 3.938 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002705/0.09871, allocations: 141.1 kB / 390.4 MB, free: 3.793 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005006/0.09922, allocations: 280 kB / 390.7 MB, free: 3.504 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.09923, allocations: 0 / 390.7 MB, free: 3.504 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006836/0.09992, allocations: 370.8 kB / 391.1 MB, free: 3.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.09997, allocations: 49.62 kB / 391.1 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.09997, allocations: 0 / 391.1 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-06/0.09998, allocations: 0 / 391.1 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.1003, allocations: 67.91 kB / 391.2 MB, free: 3.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1003, allocations: 4 kB / 391.2 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.1006, allocations: 27.97 kB / 391.2 MB, free: 2.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.1006, allocations: 12 kB / 391.2 MB, free: 2.965 MB / 286.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 0.0001414/0.1008, allocations: 203.3 kB / 391.4 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.1008, allocations: 39.56 kB / 391.5 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007119/0.1015, allocations: 336.6 kB / 391.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1016, allocations: 4 kB / 391.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1016, allocations: 0 / 391.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1016, allocations: 3.984 kB / 391.8 MB, free: 2.379 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.1029, allocations: 0.877 MB / 392.7 MB, free: 1.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1029, allocations: 4 kB / 392.7 MB, free: 1.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.1033, allocations: 79.88 kB / 392.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.1033, allocations: 8.156 kB / 392.8 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.1034, allocations: 8 kB / 392.8 MB, free: 1.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1034, allocations: 4 kB / 392.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1034, allocations: 3.938 kB / 392.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1044, allocations: 0.5852 MB / 393.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.1046, allocations: 136.7 kB / 393.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.1046, allocations: 15.94 kB / 393.5 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.1049, allocations: 23.97 kB / 393.5 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.105, allocations: 35.89 kB / 393.6 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.105, allocations: 16 kB / 393.6 MB, free: 476 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.1053, allocations: 219 kB / 393.8 MB, free: 256 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1053, allocations: 0 / 393.8 MB, free: 256 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005137/0.1058, allocations: 148 kB / 393.9 MB, free: 108 kB / 286.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.0001483/0.1059, allocations: 111.1 kB / 394.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.1071, allocations: 0.5695 MB / 394.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1071, allocations: 0 / 394.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.1074, allocations: 155.8 kB / 394.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.108, allocations: 68.59 kB / 394.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1097, allocations: 0.9466 MB / 395.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.1101, allocations: 0.7962 MB / 396.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.1104, allocations: 46.92 kB / 396.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.492e-05/0.1105, allocations: 27.44 kB / 396.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1105, allocations: 0 / 396.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Templates: time 0.008252/0.1187, allocations: 4.21 MB / 400.9 MB, free: 9.082 MB / 302.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)