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.00154/0.00154, allocations: 100.1 kB / 15.88 MB, free: 12 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.001895/0.001895, allocations: 198.5 kB / 16.79 MB, free: 6.809 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.396/1.396, allocations: 205.1 MB / 222.7 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008764/0.008764, allocations: 1.928 MB / 271.9 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.001399/0.001399, allocations: 64.12 kB / 329.8 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07618/0.0776, allocations: 47.15 MB / 376.9 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.005266/0.0829, allocations: 4.271 MB / 381.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.08486, allocations: 0.9785 MB / 382.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.0851, allocations: 8 kB / 382.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.08536, allocations: 51.59 kB / 382.3 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.08565, allocations: 127 kB / 382.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.08599, allocations: 119.8 kB / 382.5 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.08652, allocations: 0.5094 MB / 383 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.0868, allocations: 157.4 kB / 383.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.08702, allocations: 175.2 kB / 383.3 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.08726, allocations: 207 kB / 383.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.08732, allocations: 28 kB / 383.6 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.08744, allocations: 35.98 kB / 383.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.08752, allocations: 75.62 kB / 383.7 MB, free: 11.31 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.08774, allocations: 222.8 kB / 383.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.08809, allocations: 379.1 kB / 384.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.08811, allocations: 8 kB / 384.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.08812, allocations: 0 / 384.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.08813, allocations: 0 / 384.3 MB, free: 10.71 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.001316/0.08945, allocations: 0.763 MB / 385 MB, free: 9.898 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.0895, allocations: 8.031 kB / 385 MB, free: 9.891 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.08961, allocations: 52.38 kB / 385.1 MB, free: 9.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.09001, allocations: 339.1 kB / 385.4 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.09005, allocations: 21.38 kB / 385.4 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.09012, allocations: 48.12 kB / 385.5 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.09077, allocations: 326.4 kB / 385.8 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.0908, allocations: 3.984 kB / 385.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.09084, allocations: 12 kB / 385.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.09087, allocations: 12 kB / 385.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005818/0.09145, allocations: 259.9 kB / 386.1 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.0933, allocations: 1.124 MB / 387.2 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.09391, allocations: 283.3 kB / 387.5 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.09418, allocations: 121.3 kB / 387.6 MB, free: 7.207 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.09423, allocations: 4.234 kB / 387.6 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003783/0.09461, allocations: 163.5 kB / 387.8 MB, free: 7.031 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.09463, allocations: 4 kB / 387.8 MB, free: 7.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.002537/0.09717, allocations: 1.212 MB / 389 MB, free: 5.727 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.09722, allocations: 59.39 kB / 389 MB, free: 5.656 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.09759, allocations: 349.5 kB / 389.4 MB, free: 5.309 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.09763, allocations: 37.7 kB / 389.4 MB, free: 5.266 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.09778, allocations: 212.4 kB / 389.6 MB, free: 5.055 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/0.09787, allocations: 110.3 kB / 389.7 MB, free: 4.945 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.098, allocations: 74.06 kB / 389.8 MB, free: 4.863 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.09814, allocations: 350.7 kB / 390.1 MB, free: 4.512 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.09843, allocations: 114.4 kB / 390.3 MB, free: 4.398 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.09872, allocations: 158.4 kB / 390.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.09927, allocations: 296.9 kB / 390.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.09928, allocations: 4 kB / 390.7 MB, free: 3.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007254/0.1, allocations: 394.7 kB / 391.1 MB, free: 3.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.1001, allocations: 33.8 kB / 391.1 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1001, allocations: 4 kB / 391.1 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1001, allocations: 0 / 391.1 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.1005, allocations: 87.89 kB / 391.2 MB, free: 3.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1005, allocations: 0 / 391.2 MB, free: 3.391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.1008, allocations: 23.92 kB / 391.2 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.1008, allocations: 15.98 kB / 391.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003652/0.1012, allocations: 224.9 kB / 391.5 MB, free: 3.129 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002928/0.1015, allocations: 154.7 kB / 391.6 MB, free: 2.965 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004982/0.102, allocations: 289.3 kB / 391.9 MB, free: 2.664 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.102, allocations: 0 / 391.9 MB, free: 2.664 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006966/0.1027, allocations: 390.6 kB / 392.3 MB, free: 2.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.1028, allocations: 33.7 kB / 392.3 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.1028, allocations: 0 / 392.3 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.1028, allocations: 7.984 kB / 392.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.1031, allocations: 83.89 kB / 392.4 MB, free: 2.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1032, allocations: 7.984 kB / 392.4 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.1034, allocations: 16.08 kB / 392.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.1034, allocations: 19.94 kB / 392.5 MB, free: 2.098 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.0001346/0.1036, allocations: 201.1 kB / 392.7 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.1036, allocations: 39.52 kB / 392.7 MB, free: 1.855 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/0.1043, allocations: 325.3 kB / 393 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1043, allocations: 4 kB / 393 MB, free: 1.527 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1043, allocations: 0 / 393 MB, free: 1.527 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1043, allocations: 11.92 kB / 393 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1056, allocations: 0.8803 MB / 393.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1056, allocations: 0 / 393.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.1061, allocations: 84.02 kB / 394 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1061, allocations: 4 kB / 394 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.1061, allocations: 8 kB / 394 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1061, allocations: 11.88 kB / 394 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1061, allocations: 0 / 394 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009248/0.1071, allocations: 0.5577 MB / 394.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.1072, allocations: 144.6 kB / 394.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.1073, allocations: 11.98 kB / 394.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.1075, allocations: 19.92 kB / 394.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.1076, allocations: 31.97 kB / 394.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.1077, allocations: 15.98 kB / 394.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002471/0.1079, allocations: 235.2 kB / 395 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1079, allocations: 0 / 395 MB, free: 15.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005263/0.1085, allocations: 152 kB / 395.2 MB, free: 15.25 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.0001615/0.1086, allocations: 115.1 kB / 395.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009829/0.1096, allocations: 0.5503 MB / 395.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1096, allocations: 0 / 395.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.1099, allocations: 143.7 kB / 396 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.1105, allocations: 73.91 kB / 396 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.1124, allocations: 1.156 MB / 397.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1128, allocations: 0.8156 MB / 398 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1129, allocations: 31.42 kB / 398 MB, free: 12.27 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1129, allocations: 0 / 398 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Templates: time 0.006837/0.1197, allocations: 4.571 MB / 402.6 MB, free: 7.695 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)