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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.004047/0.004047, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006731/0.006731, allocations: 1.935 MB / 17.78 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.4 MB / 224.4 MB, free: 11.98 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.0008366/0.0008366, allocations: 86.19 kB / 273.3 MB, free: 11.01 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 11.98 kB / 331.8 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09274/0.09307, allocations: 48.09 MB / 379.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3003/0.3935, allocations: 80.88 MB / 460.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003901/0.3939, allocations: 75.97 kB / 460.9 MB, free: 6.57 MB / 330.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.03399/0.428, allocations: 7.619 MB / 468.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.428, allocations: 0 / 468.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.488e-05/0.4281, allocations: 8 kB / 468.5 MB, free: 14.94 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002181/0.4303, allocations: 0.6944 MB / 469.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.4304, allocations: 8.031 kB / 469.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.4306, allocations: 47.44 kB / 469.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007793/0.4314, allocations: 322.1 kB / 469.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.4315, allocations: 29 kB / 469.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4316, allocations: 40 kB / 469.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.4328, allocations: 326.4 kB / 470 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.4329, allocations: 4 kB / 470 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.375e-05/0.4329, allocations: 8 kB / 470 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.433, allocations: 12 kB / 470 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.434, allocations: 271.8 kB / 470.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00323/0.4373, allocations: 1.048 MB / 471.3 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.4384, allocations: 275 kB / 471.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/0.4384, allocations: 11.98 kB / 471.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/0.4391, allocations: 176.3 kB / 471.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 7.494e-06/0.4392, allocations: 0 / 471.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.004434/0.4436, allocations: 1.258 MB / 473 MB, free: 10.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.4437, allocations: 63.39 kB / 473.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/0.4444, allocations: 283.7 kB / 473.3 MB, free: 9.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/0.4444, allocations: 33.7 kB / 473.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.4447, allocations: 208.5 kB / 473.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.4449, allocations: 122.3 kB / 473.7 MB, free: 9.457 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.445, allocations: 4 kB / 473.7 MB, free: 9.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.4452, allocations: 346.8 kB / 474 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.4456, allocations: 112.8 kB / 474.1 MB, free: 8.992 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.4462, allocations: 150.7 kB / 474.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.4467, allocations: 165.6 kB / 474.5 MB, free: 8.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.4467, allocations: 7.891 kB / 474.5 MB, free: 8.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001264/0.448, allocations: 402.8 kB / 474.9 MB, free: 8.254 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002965/0.4483, allocations: 386 kB / 475.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.4484, allocations: 3.984 kB / 475.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.4484, allocations: 8 kB / 475.2 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.4491, allocations: 87.89 kB / 475.3 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.4491, allocations: 0 / 475.3 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.4496, allocations: 23.98 kB / 475.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.4496, allocations: 8 kB / 475.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4497, allocations: 10.75 kB / 475.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001126/0.4508, allocations: 357.4 kB / 475.7 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4508, allocations: 0 / 475.7 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.4508, allocations: 4 kB / 475.7 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.4515, allocations: 83.89 kB / 475.8 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.4515, allocations: 7.984 kB / 475.8 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.4519, allocations: 24.08 kB / 475.8 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.452, allocations: 12 kB / 475.9 MB, free: 7.223 MB / 346.7 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 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003655/0.4523, allocations: 242.7 kB / 476.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.4525, allocations: 31.62 kB / 476.1 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.4536, allocations: 341.8 kB / 476.5 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.4536, allocations: 4 kB / 476.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4537, allocations: 0 / 476.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4537, allocations: 7.922 kB / 476.5 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.456, allocations: 0.9042 MB / 477.4 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.4561, allocations: 4 kB / 477.4 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.4568, allocations: 84.03 kB / 477.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.4568, allocations: 4 kB / 477.5 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/0.4568, allocations: 11.95 kB / 477.5 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/0.4569, allocations: 4 kB / 477.5 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4569, allocations: 0 / 477.5 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.4587, allocations: 0.6531 MB / 478.1 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.459, allocations: 140.6 kB / 478.3 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4591, allocations: 8 kB / 478.3 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.4596, allocations: 31.97 kB / 478.3 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.4597, allocations: 39.84 kB / 478.3 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.4598, allocations: 8 kB / 478.4 MB, free: 4.547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004417/0.4603, allocations: 227.1 kB / 478.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4603, allocations: 0 / 478.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001059/0.4613, allocations: 156 kB / 478.7 MB, free: 4.176 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002825/0.4616, allocations: 123.1 kB / 478.8 MB, free: 4.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.4634, allocations: 0.5466 MB / 479.4 MB, free: 3.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4634, allocations: 8.062 kB / 479.4 MB, free: 3.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.464, allocations: 155.8 kB / 479.6 MB, free: 3.312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.4647, allocations: 62.92 kB / 479.6 MB, free: 3.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.4678, allocations: 1.18 MB / 480.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/0.4685, allocations: 0.8118 MB / 481.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003987/0.4689, allocations: 46.94 kB / 481.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.4691, allocations: 27.44 kB / 481.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of SimCode: time 6.32e-07/0.4691, allocations: 4 kB / 481.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of Templates: time 0.01396/0.4831, allocations: 3.84 MB / 485.5 MB, free: 13.27 MB / 362.7 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)