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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008991/0.0008991, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007136/0.007136, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.2 MB / 221.4 MB, free: 7.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008351/0.0008351, allocations: 81.91 kB / 270.1 MB, free: 7.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.146e-05, allocations: 4 kB / 326 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2789, allocations: 48.06 MB / 374.1 MB, free: 44.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09718/0.3761, allocations: 79.86 MB / 453.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.3765, allocations: 71.97 kB / 454 MB, free: 14.94 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo:395:7-396:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.01982/0.3963, allocations: 6.867 MB / 460.9 MB, free: 8.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3964, allocations: 0 / 460.9 MB, free: 8.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.3964, allocations: 8 kB / 460.9 MB, free: 8.062 MB / 346.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.001148/0.3975, allocations: 0.639 MB / 461.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3976, allocations: 12.03 kB / 461.5 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.529e-05/0.3977, allocations: 43.53 kB / 461.6 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.3981, allocations: 302.2 kB / 461.9 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.3982, allocations: 24.78 kB / 461.9 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.3982, allocations: 35.98 kB / 461.9 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.3988, allocations: 271.8 kB / 462.2 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.3988, allocations: 3.906 kB / 462.2 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.3988, allocations: 16 kB / 462.2 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3989, allocations: 8.219 kB / 462.2 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.3992, allocations: 203 kB / 462.4 MB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.4009, allocations: 0.9604 MB / 463.4 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.4014, allocations: 231.3 kB / 463.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.4016, allocations: 97.33 kB / 463.7 MB, free: 5.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.4016, allocations: 8.172 kB / 463.7 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.402, allocations: 176.8 kB / 463.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.066e-06/0.402, allocations: 0 / 463.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001951/0.4039, allocations: 1.053 MB / 464.9 MB, free: 3.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.404, allocations: 55.41 kB / 465 MB, free: 3.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.4043, allocations: 262.7 kB / 465.2 MB, free: 3.414 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.4044, allocations: 37.7 kB / 465.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.4045, allocations: 192.3 kB / 465.5 MB, free: 3.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.621e-05/0.4046, allocations: 118.4 kB / 465.6 MB, free: 3.062 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.4046, allocations: 4 kB / 465.6 MB, free: 3.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4048, allocations: 342.8 kB / 465.9 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.4049, allocations: 88.81 kB / 466 MB, free: 2.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.4052, allocations: 129.7 kB / 466.1 MB, free: 2.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.4054, allocations: 133.7 kB / 466.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4054, allocations: 0 / 466.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005577/0.406, allocations: 347.8 kB / 466.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.4062, allocations: 304.6 kB / 466.9 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.4062, allocations: 8.047 kB / 466.9 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.4062, allocations: 4 kB / 466.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.4066, allocations: 67.91 kB / 467 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4067, allocations: 0 / 467 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.4069, allocations: 35.97 kB / 467 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.4069, allocations: 11.94 kB / 467 MB, free: 1.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.407, allocations: 8 kB / 467 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004524/0.4074, allocations: 304.8 kB / 467.3 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.4074, allocations: 3.516 kB / 467.3 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.4075, allocations: 7.953 kB / 467.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.4078, allocations: 75.89 kB / 467.4 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.4078, allocations: 0 / 467.4 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.408, allocations: 32.05 kB / 467.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.408, allocations: 12 kB / 467.5 MB, free: 1.121 MB / 346.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 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count,$PRE.controller.on,controller.on) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.4082, allocations: 130.2 kB / 467.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.4083, allocations: 35.61 kB / 467.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.4089, allocations: 296.3 kB / 467.9 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.4089, allocations: 7.953 kB / 467.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4089, allocations: 0 / 467.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4089, allocations: 0 / 467.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.4102, allocations: 0.8622 MB / 468.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4102, allocations: 0 / 468.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.4106, allocations: 80.05 kB / 468.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.4106, allocations: 10.23 kB / 468.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.4106, allocations: 12 kB / 468.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.4106, allocations: 4 kB / 468.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4106, allocations: 0 / 468.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/0.4114, allocations: 0.5827 MB / 469.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.4116, allocations: 140.6 kB / 469.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.4117, allocations: 12 kB / 469.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.4119, allocations: 35.97 kB / 469.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/0.412, allocations: 31.95 kB / 469.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.4121, allocations: 12 kB / 469.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002165/0.4123, allocations: 210.2 kB / 469.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4123, allocations: 0 / 469.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005024/0.4128, allocations: 152 kB / 470.1 MB, free: 14.36 MB / 362.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000184/0.413, allocations: 132 kB / 470.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000824/0.4138, allocations: 0.501 MB / 470.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.4138, allocations: 0 / 470.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.4141, allocations: 147.8 kB / 470.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.4146, allocations: 63.5 kB / 470.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.4159, allocations: 0.6659 MB / 471.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.4163, allocations: 0.8107 MB / 472.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002709/0.4166, allocations: 54.91 kB / 472.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-05/0.4167, allocations: 27.44 kB / 472.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of SimCode: time 4.6e-07/0.4167, allocations: 0 / 472.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of Templates: time 0.008585/0.4253, allocations: 4.094 MB / 476.5 MB, free: 7.82 MB / 362.7 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)