Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") translateModel(MEV.Test.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 104.7 kB / 16.41 MB, free: 6.5 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.001115/0.001115, allocations: 187 kB / 17.34 MB, free: 5.742 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.159/1.159, 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.007539/0.007539, allocations: 1.931 MB / 272.5 MB, free: 10.06 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.001322/0.001322, allocations: 71 kB / 378.9 MB, free: 52.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05902/0.06035, allocations: 47.13 MB / 426 MB, free: 20.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003135/0.06351, allocations: 3.678 MB / 429.7 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009696/0.0645, allocations: 0.9007 MB / 430.6 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.06465, allocations: 11.94 kB / 430.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.0648, allocations: 67.34 kB / 430.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.065, allocations: 146.7 kB / 430.8 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.06527, allocations: 131.8 kB / 431 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.06561, allocations: 0.5446 MB / 431.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.06581, allocations: 181.9 kB / 431.7 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.06596, allocations: 203.2 kB / 431.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.06613, allocations: 219 kB / 432.1 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.06618, allocations: 55.94 kB / 432.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.06627, allocations: 52 kB / 432.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.06633, allocations: 99.61 kB / 432.3 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.06646, allocations: 238.9 kB / 432.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.06677, allocations: 0.5061 MB / 433 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.06678, allocations: 0 / 433 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.06679, allocations: 0 / 433 MB, free: 13.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.0668, allocations: 0 / 433 MB, free: 13.04 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.0009662/0.06777, allocations: 0.7669 MB / 433.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.48e-05/0.0678, allocations: 11.89 kB / 433.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/0.06788, allocations: 52.36 kB / 433.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.06818, allocations: 331.3 kB / 434.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.06821, allocations: 29.38 kB / 434.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.06826, allocations: 48.11 kB / 434.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.06874, allocations: 322.5 kB / 434.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.06876, allocations: 0 / 434.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.06879, allocations: 16 kB / 434.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.06881, allocations: 8 kB / 434.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.06926, allocations: 255.9 kB / 434.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.07054, allocations: 1.116 MB / 436 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.071, allocations: 292.4 kB / 436.3 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.0712, allocations: 117.3 kB / 436.4 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.07123, allocations: 4.234 kB / 436.4 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000273/0.07151, allocations: 171.7 kB / 436.5 MB, free: 9.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.923e-06/0.07152, allocations: 0 / 436.5 MB, free: 9.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001819/0.07335, allocations: 1.208 MB / 437.8 MB, free: 8.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.07338, allocations: 63.34 kB / 437.8 MB, free: 7.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.07361, allocations: 345.6 kB / 438.2 MB, free: 7.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.07364, allocations: 33.7 kB / 438.2 MB, free: 7.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/0.07372, allocations: 212.4 kB / 438.4 MB, free: 7.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.07378, allocations: 114.3 kB / 438.5 MB, free: 7.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-05/0.07386, allocations: 73.98 kB / 438.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.07392, allocations: 346.8 kB / 438.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.07414, allocations: 118.4 kB / 439 MB, free: 6.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.07437, allocations: 162.4 kB / 439.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.07478, allocations: 293 kB / 439.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.07479, allocations: 3.938 kB / 439.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005376/0.07533, allocations: 394.6 kB / 439.9 MB, free: 5.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.07536, allocations: 38.64 kB / 439.9 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.07537, allocations: 3.984 kB / 439.9 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.07539, allocations: 4 kB / 439.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.07572, allocations: 87.92 kB / 440 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.07573, allocations: 0 / 440 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.07594, allocations: 23.92 kB / 440 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.07597, allocations: 20 kB / 440 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002636/0.07624, allocations: 228.9 kB / 440.3 MB, free: 5.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002009/0.07645, allocations: 142.8 kB / 440.4 MB, free: 5.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003738/0.07683, allocations: 289.3 kB / 440.7 MB, free: 4.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.033e-06/0.07684, allocations: 3.984 kB / 440.7 MB, free: 4.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005091/0.07736, allocations: 386.9 kB / 441.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.07738, allocations: 29.7 kB / 441.1 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-06/0.07739, allocations: 0 / 441.1 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-06/0.07739, allocations: 4 kB / 441.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.07769, allocations: 83.89 kB / 441.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.0777, allocations: 11.88 kB / 441.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.0779, allocations: 19.98 kB / 441.2 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.07792, allocations: 11.94 kB / 441.2 MB, free: 4.418 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * 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 6.727e-05/0.07799, allocations: 216 kB / 441.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.07803, allocations: 35.53 kB / 441.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.07854, allocations: 325.5 kB / 441.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.07855, allocations: 4 kB / 441.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.07856, allocations: 0 / 441.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.07857, allocations: 3.938 kB / 441.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000865/0.07944, allocations: 0.8806 MB / 442.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.07945, allocations: 0 / 442.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.07978, allocations: 75.89 kB / 442.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.07979, allocations: 0 / 442.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.07981, allocations: 8 kB / 442.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.07982, allocations: 8.109 kB / 442.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.07983, allocations: 4 kB / 442.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.08051, allocations: 0.5701 MB / 443.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.08062, allocations: 144.7 kB / 443.5 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.08067, allocations: 8 kB / 443.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.0809, allocations: 15.98 kB / 443.5 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.08096, allocations: 27.95 kB / 443.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.08098, allocations: 12 kB / 443.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.08114, allocations: 243.2 kB / 443.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08115, allocations: 0 / 443.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004076/0.08156, allocations: 167.9 kB / 443.9 MB, free: 1.562 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.697e-05/0.08165, allocations: 103.2 kB / 444 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007232/0.08238, allocations: 0.5424 MB / 444.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.0824, allocations: 384 / 444.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.08262, allocations: 148.3 kB / 444.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.08305, allocations: 65.34 kB / 444.8 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.08439, allocations: 1.023 MB / 445.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.08473, allocations: 0.8118 MB / 446.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.412e-05/0.08483, allocations: 31.44 kB / 446.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.08484, allocations: 7.938 kB / 446.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of Templates: time 0.005771/0.09061, allocations: 4.663 MB / 451.3 MB, free: 10.06 MB / 334.1 MB make -j1 -f MEV_MEV.Test.TestBellJarLinearControl.makefile (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & ./MEV_MEV.Test.TestBellJarLinearControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)