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.008213/0.008213, allocations: 101.7 kB / 15.73 MB, free: 6.035 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.001737/0.001737, allocations: 198.8 kB / 16.67 MB, free: 5.969 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.808/1.808, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.02093/0.02093, allocations: 1.939 MB / 271.8 MB, free: 3.254 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.002472/0.002472, allocations: 67.91 kB / 378.2 MB, free: 444 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1484, allocations: 47.13 MB / 425.4 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.3512/0.4997, allocations: 3.659 MB / 429 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.5028, allocations: 0.9067 MB / 429.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006801/0.5036, allocations: 5.562 kB / 429.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.5041, allocations: 65.77 kB / 430 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008846/0.505, allocations: 153.6 kB / 430.2 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007961/0.5058, allocations: 135.8 kB / 430.3 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.5071, allocations: 0.5499 MB / 430.8 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005259/0.5076, allocations: 180.1 kB / 431 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.5082, allocations: 209.8 kB / 431.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005835/0.5088, allocations: 214.4 kB / 431.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.509, allocations: 53.53 kB / 431.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.5093, allocations: 55.62 kB / 431.5 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.5095, allocations: 95.45 kB / 431.6 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005779/0.5101, allocations: 241.1 kB / 431.9 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.5113, allocations: 0.507 MB / 432.4 MB, free: 8.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5113, allocations: 0 / 432.4 MB, free: 8.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5113, allocations: 0 / 432.4 MB, free: 8.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.5113, allocations: 1.438 kB / 432.4 MB, free: 8.32 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.002544/0.5139, allocations: 0.7619 MB / 433.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.331e-05/0.514, allocations: 13.95 kB / 433.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.5143, allocations: 49.34 kB / 433.2 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009317/0.5152, allocations: 331.4 kB / 433.5 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.464e-05/0.5153, allocations: 34.44 kB / 433.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.5154, allocations: 42.98 kB / 433.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.5165, allocations: 329.4 kB / 433.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.5166, allocations: 1.844 kB / 433.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.5167, allocations: 18.2 kB / 433.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.5167, allocations: 9.688 kB / 434 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008745/0.5176, allocations: 256.9 kB / 434.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.5205, allocations: 1.112 MB / 435.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/0.5213, allocations: 278.9 kB / 435.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.5216, allocations: 121.1 kB / 435.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.5217, allocations: 8.297 kB / 435.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004617/0.5221, allocations: 171.5 kB / 435.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.936e-06/0.5222, allocations: 0 / 435.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.002519/0.5247, allocations: 1.214 MB / 437.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.5247, allocations: 60.12 kB / 437.2 MB, free: 5.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.5251, allocations: 340.9 kB / 437.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.5252, allocations: 36.42 kB / 437.5 MB, free: 5.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.5253, allocations: 217.5 kB / 437.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.663e-05/0.5254, allocations: 119.6 kB / 437.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.5255, allocations: 79.55 kB / 437.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.5256, allocations: 346 kB / 438.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.5259, allocations: 119.2 kB / 438.4 MB, free: 4.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.5262, allocations: 158.7 kB / 438.5 MB, free: 4.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.5268, allocations: 286.7 kB / 438.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5268, allocations: 2.812 kB / 438.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007338/0.5275, allocations: 400.2 kB / 439.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.5276, allocations: 32.17 kB / 439.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5276, allocations: 1.875 kB / 439.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.5276, allocations: 2.812 kB / 439.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.528, allocations: 88.22 kB / 439.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.5281, allocations: 7.188 kB / 439.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.5284, allocations: 23.73 kB / 439.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.5284, allocations: 9.688 kB / 439.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003782/0.5288, allocations: 227 kB / 439.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002981/0.5291, allocations: 157.2 kB / 439.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000618/0.5297, allocations: 282.6 kB / 440 MB, free: 3.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.5297, allocations: 0.5312 kB / 440 MB, free: 3.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008575/0.5306, allocations: 390.6 kB / 440.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.5306, allocations: 32.17 kB / 440.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.5306, allocations: 1.344 kB / 440.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.5307, allocations: 2.281 kB / 440.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.531, allocations: 84.72 kB / 440.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5311, allocations: 3.719 kB / 440.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.5313, allocations: 20.33 kB / 440.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.5314, allocations: 12.94 kB / 440.6 MB, free: 3.281 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 0.0001549/0.5315, allocations: 209.3 kB / 440.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.5316, allocations: 41.38 kB / 440.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006463/0.5322, allocations: 321.5 kB / 441.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.5322, allocations: 3.344 kB / 441.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5323, allocations: 0.7969 kB / 441.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.5323, allocations: 5.531 kB / 441.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.5336, allocations: 0.8683 MB / 442 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5336, allocations: 1.531 kB / 442 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.534, allocations: 79.97 kB / 442.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.534, allocations: 2.406 kB / 442.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.5341, allocations: 8.203 kB / 442.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.5341, allocations: 11.62 kB / 442.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5341, allocations: 1.5 kB / 442.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008677/0.535, allocations: 0.5677 MB / 442.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.5351, allocations: 145.1 kB / 442.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.5352, allocations: 10.7 kB / 442.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.5354, allocations: 19.02 kB / 442.8 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.5355, allocations: 31.02 kB / 442.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.5356, allocations: 13.8 kB / 442.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.5359, allocations: 242.4 kB / 443.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5359, allocations: 4 kB / 443.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006522/0.5365, allocations: 150.8 kB / 443.3 MB, free: 1.688 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 0.0001559/0.5367, allocations: 109.1 kB / 443.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.5378, allocations: 0.5441 MB / 443.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5378, allocations: 4.125 kB / 443.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.5381, allocations: 147.7 kB / 444.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.5387, allocations: 70.11 kB / 444.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.5405, allocations: 0.9905 MB / 445.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.5409, allocations: 0.8046 MB / 445.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.5411, allocations: 46.06 kB / 446 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.727e-05/0.5412, allocations: 30.28 kB / 446 MB, free: 15.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5412, allocations: 0 / 446 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Templates: time 0.01165/0.5529, allocations: 4.299 MB / 450.3 MB, free: 14.7 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)