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.001021/0.001021, allocations: 92.39 kB / 16.02 MB, free: 80 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.001339/0.001339, allocations: 176.3 kB / 16.92 MB, free: 6.652 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.47/1.47, allocations: 205.4 MB / 223.1 MB, free: 5.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008235/0.008235, allocations: 1.928 MB / 273.3 MB, free: 3.527 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.0005148/0.0005148, allocations: 12 kB / 332.1 MB, free: 33.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07044/0.07097, allocations: 48.1 MB / 380.2 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.004535/0.07555, allocations: 3.87 MB / 384.1 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.07746, allocations: 0.9786 MB / 385.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.07785, allocations: 8 kB / 385.1 MB, free: 12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.07805, allocations: 51.59 kB / 385.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.07843, allocations: 126.9 kB / 385.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.07878, allocations: 111.9 kB / 385.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000598/0.07939, allocations: 0.5133 MB / 385.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.07968, allocations: 161.4 kB / 386.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.07994, allocations: 163.2 kB / 386.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.08022, allocations: 187 kB / 386.4 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.08028, allocations: 20 kB / 386.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.08039, allocations: 31.94 kB / 386.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.08046, allocations: 67.69 kB / 386.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.0807, allocations: 232.5 kB / 386.7 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.08108, allocations: 375 kB / 387.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.0811, allocations: 0 / 387.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08111, allocations: 0 / 387.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.08113, allocations: 4 kB / 387.1 MB, free: 9.969 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001262/0.08239, allocations: 0.6929 MB / 387.8 MB, free: 9.223 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.08244, allocations: 12.03 kB / 387.8 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.431e-05/0.08254, allocations: 48.38 kB / 387.9 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.08293, allocations: 331.3 kB / 388.2 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.08297, allocations: 29.38 kB / 388.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.08304, allocations: 40.12 kB / 388.3 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.08373, allocations: 334.5 kB / 388.6 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.08376, allocations: 0 / 388.6 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.0838, allocations: 16 kB / 388.6 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.08382, allocations: 8 kB / 388.6 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.08445, allocations: 267.8 kB / 388.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.08635, allocations: 1.132 MB / 390 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.08699, allocations: 291.2 kB / 390.3 MB, free: 6.633 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.0873, allocations: 121.3 kB / 390.4 MB, free: 6.512 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.08734, allocations: 4.234 kB / 390.4 MB, free: 6.508 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004115/0.08775, allocations: 179.6 kB / 390.6 MB, free: 6.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 3.306e-06/0.08777, allocations: 0 / 390.6 MB, free: 6.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.002571/0.09035, allocations: 1.251 MB / 391.8 MB, free: 4.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.0904, allocations: 59.34 kB / 391.9 MB, free: 4.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.09076, allocations: 345.6 kB / 392.2 MB, free: 4.566 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.09081, allocations: 37.7 kB / 392.3 MB, free: 4.523 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.09096, allocations: 216.4 kB / 392.5 MB, free: 4.309 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.573e-05/0.09106, allocations: 114.3 kB / 392.6 MB, free: 4.195 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.09114, allocations: 37.7 kB / 392.6 MB, free: 4.152 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.09128, allocations: 350.7 kB / 393 MB, free: 3.801 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.09158, allocations: 116.8 kB / 393.1 MB, free: 3.684 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.09191, allocations: 166.5 kB / 393.2 MB, free: 3.508 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.09251, allocations: 301 kB / 393.5 MB, free: 3.195 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.09252, allocations: 4 kB / 393.5 MB, free: 3.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00078/0.09331, allocations: 414.7 kB / 393.9 MB, free: 2.773 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.683e-05/0.09342, allocations: 137.3 kB / 394.1 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.09344, allocations: 4 kB / 394.1 MB, free: 2.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.09346, allocations: 3.938 kB / 394.1 MB, free: 2.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.09389, allocations: 99.81 kB / 394.2 MB, free: 2.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.09391, allocations: 4 kB / 394.2 MB, free: 2.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.09418, allocations: 19.98 kB / 394.2 MB, free: 2.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.09421, allocations: 12 kB / 394.2 MB, free: 2.477 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.09423, allocations: 4 kB / 394.2 MB, free: 2.473 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00071/0.09494, allocations: 349.4 kB / 394.6 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.09496, allocations: 0 / 394.6 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.09497, allocations: 4 kB / 394.6 MB, free: 2.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.09535, allocations: 87.89 kB / 394.7 MB, free: 2.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.09537, allocations: 3.938 kB / 394.7 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.09561, allocations: 28.08 kB / 394.7 MB, free: 2.004 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.09565, allocations: 8 kB / 394.7 MB, free: 1.996 MB / 286.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 0.0002057/0.09586, allocations: 248.9 kB / 394.9 MB, free: 1.742 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.09592, allocations: 39.53 kB / 395 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007111/0.09663, allocations: 333.3 kB / 395.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.09665, allocations: 4 kB / 395.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.09666, allocations: 0 / 395.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.09667, allocations: 3.984 kB / 395.3 MB, free: 1.363 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.09799, allocations: 0.892 MB / 396.2 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.09801, allocations: 0 / 396.2 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.09842, allocations: 79.89 kB / 396.3 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.09844, allocations: 11.92 kB / 396.3 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.09847, allocations: 12.12 kB / 396.3 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.09848, allocations: 0 / 396.3 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.09849, allocations: 4 kB / 396.3 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.09951, allocations: 0.5655 MB / 396.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.09968, allocations: 144.6 kB / 397 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.09975, allocations: 15.94 kB / 397 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.1, allocations: 35.97 kB / 397.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.1001, allocations: 23.97 kB / 397.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.1002, allocations: 12 kB / 397.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.1004, allocations: 239.2 kB / 397.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1004, allocations: 0 / 397.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005334/0.101, allocations: 152 kB / 397.5 MB, free: 15.07 MB / 302.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 0.0001417/0.1011, allocations: 111.2 kB / 397.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.1022, allocations: 0.5735 MB / 398.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1022, allocations: 0 / 398.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.1025, allocations: 151.7 kB / 398.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.1031, allocations: 77.84 kB / 398.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1051, allocations: 1.269 MB / 399.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1055, allocations: 0.8117 MB / 400.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.1056, allocations: 27.44 kB / 400.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1056, allocations: 4 kB / 400.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Templates: time 0.007537/0.1131, allocations: 4.512 MB / 405 MB, free: 7.43 MB / 302.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)