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.001518/0.001518, allocations: 108 kB / 15.6 MB, free: 132 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.002061/0.002061, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.374/1.374, allocations: 205.1 MB / 222.4 MB, free: 4.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008852/0.008853, allocations: 1.933 MB / 271.7 MB, free: 3.359 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.001351/0.001351, allocations: 75.91 kB / 329.8 MB, free: 32.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07192/0.07329, allocations: 47.13 MB / 377 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.005253/0.07859, allocations: 3.653 MB / 380.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.08053, allocations: 0.9164 MB / 381.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.08076, allocations: 4 kB / 381.5 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.081, allocations: 67.28 kB / 381.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.08139, allocations: 150.7 kB / 381.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.08184, allocations: 127.8 kB / 381.9 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006515/0.08251, allocations: 0.5446 MB / 382.4 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.08283, allocations: 181.9 kB / 382.6 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.08313, allocations: 195.2 kB / 382.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.08343, allocations: 226.9 kB / 383 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.355e-05/0.0835, allocations: 44 kB / 383.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.08363, allocations: 56 kB / 383.1 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/0.08374, allocations: 103.6 kB / 383.2 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.08397, allocations: 234.9 kB / 383.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.08448, allocations: 0.4984 MB / 383.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.0845, allocations: 0 / 383.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.08451, allocations: 0 / 383.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.08452, allocations: 4 kB / 383.9 MB, free: 10.61 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.001297/0.08582, allocations: 0.7629 MB / 384.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.08587, allocations: 19.89 kB / 384.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.08604, allocations: 48.38 kB / 384.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.08648, allocations: 331.2 kB / 385.1 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.08652, allocations: 29.38 kB / 385.1 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.0866, allocations: 40.12 kB / 385.2 MB, free: 9.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.08722, allocations: 322.5 kB / 385.5 MB, free: 8.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.08725, allocations: 4 kB / 385.5 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.0873, allocations: 12 kB / 385.5 MB, free: 8.965 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.08732, allocations: 12 kB / 385.5 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005719/0.08789, allocations: 263.8 kB / 385.8 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.08975, allocations: 1.132 MB / 386.9 MB, free: 7.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.09033, allocations: 271.3 kB / 387.2 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.09061, allocations: 117.3 kB / 387.3 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.09065, allocations: 4.234 kB / 387.3 MB, free: 7.105 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.09108, allocations: 167.7 kB / 387.4 MB, free: 6.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/0.09109, allocations: 0 / 387.4 MB, free: 6.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.002424/0.09352, allocations: 1.22 MB / 388.7 MB, free: 5.621 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.09357, allocations: 59.41 kB / 388.7 MB, free: 5.551 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.09391, allocations: 349.5 kB / 389.1 MB, free: 5.203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.09397, allocations: 33.7 kB / 389.1 MB, free: 5.164 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.09411, allocations: 212.5 kB / 389.3 MB, free: 4.953 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.944e-05/0.09421, allocations: 118.3 kB / 389.4 MB, free: 4.836 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.09432, allocations: 66.06 kB / 389.5 MB, free: 4.762 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.09448, allocations: 350.8 kB / 389.8 MB, free: 4.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.09476, allocations: 114.4 kB / 389.9 MB, free: 4.297 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.09514, allocations: 158.5 kB / 390.1 MB, free: 4.129 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/0.09569, allocations: 296.9 kB / 390.4 MB, free: 3.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.0957, allocations: 3.938 kB / 390.4 MB, free: 3.816 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000708/0.09642, allocations: 394.7 kB / 390.8 MB, free: 3.418 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.09647, allocations: 37.64 kB / 390.8 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.09648, allocations: 8.031 kB / 390.8 MB, free: 3.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.0965, allocations: 4 kB / 390.8 MB, free: 3.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.09692, allocations: 83.89 kB / 390.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.09694, allocations: 7.984 kB / 390.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.09721, allocations: 19.92 kB / 390.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.09725, allocations: 12 kB / 390.9 MB, free: 3.242 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003615/0.09762, allocations: 228.9 kB / 391.2 MB, free: 3.016 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002899/0.09792, allocations: 150.7 kB / 391.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004999/0.09843, allocations: 285.3 kB / 391.6 MB, free: 2.559 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.09844, allocations: 0 / 391.6 MB, free: 2.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007222/0.09917, allocations: 394.7 kB / 392 MB, free: 2.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.0992, allocations: 29.7 kB / 392 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.09921, allocations: 0 / 392 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-06/0.09922, allocations: 4 kB / 392 MB, free: 2.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.09957, allocations: 87.83 kB / 392.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.09959, allocations: 4 kB / 392.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.09984, allocations: 15.98 kB / 392.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.09988, allocations: 24.02 kB / 392.1 MB, free: 1.992 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.0001256/0.1, allocations: 201.1 kB / 392.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.1001, allocations: 35.53 kB / 392.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/0.1008, allocations: 321.3 kB / 392.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1008, allocations: 4 kB / 392.7 MB, free: 1.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1008, allocations: 0 / 392.7 MB, free: 1.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.1008, allocations: 7.922 kB / 392.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.1021, allocations: 0.8801 MB / 393.6 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1021, allocations: 0 / 393.6 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.1025, allocations: 88 kB / 393.7 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1025, allocations: 4 kB / 393.7 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.1025, allocations: 8 kB / 393.7 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1025, allocations: 4 kB / 393.7 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1025, allocations: 4 kB / 393.7 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009645/0.1035, allocations: 0.5614 MB / 394.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.1037, allocations: 140.6 kB / 394.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.1038, allocations: 11.94 kB / 394.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.104, allocations: 23.97 kB / 394.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.1041, allocations: 27.97 kB / 394.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.1041, allocations: 12 kB / 394.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.1044, allocations: 243.2 kB / 394.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1044, allocations: 3.938 kB / 394.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005422/0.1049, allocations: 152 kB / 394.8 MB, free: 15.16 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.0001385/0.1051, allocations: 115.1 kB / 395 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.1062, allocations: 0.5618 MB / 395.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1062, allocations: 0 / 395.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.1065, allocations: 148.3 kB / 395.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.107, allocations: 62.59 kB / 395.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.1089, allocations: 0.9905 MB / 396.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.1092, allocations: 0.8079 MB / 397.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002167/0.1095, allocations: 46.92 kB / 397.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.1096, allocations: 31.44 kB / 397.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1096, allocations: 0 / 397.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of Templates: time 0.008232/0.1178, allocations: 4.215 MB / 401.8 MB, free: 8.098 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)