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.001128/0.001128, allocations: 106.1 kB / 16.41 MB, free: 6.496 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.00115/0.00115, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.334/1.334, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008792/0.008792, allocations: 1.928 MB / 272.5 MB, free: 10.08 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.001473/0.001473, allocations: 66.02 kB / 378.9 MB, free: 51.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08464/0.08612, allocations: 47.13 MB / 426 MB, free: 20 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.00373/0.0899, allocations: 3.678 MB / 429.7 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.09118, allocations: 0.9007 MB / 430.6 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.09138, allocations: 11.94 kB / 430.6 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.09155, allocations: 71.34 kB / 430.7 MB, free: 15.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.09179, allocations: 142.7 kB / 430.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.0921, allocations: 131.7 kB / 431 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.09251, allocations: 0.5524 MB / 431.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.09275, allocations: 181.9 kB / 431.7 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.09293, allocations: 203.2 kB / 431.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.09312, allocations: 223 kB / 432.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.09318, allocations: 44 kB / 432.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.09329, allocations: 56 kB / 432.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.09335, allocations: 103.6 kB / 432.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.0935, allocations: 234.8 kB / 432.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.09388, allocations: 0.51 MB / 433 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.09389, allocations: 0 / 433 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.0939, allocations: 0 / 433 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.09391, allocations: 0 / 433 MB, free: 12.95 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.001076/0.09499, allocations: 0.763 MB / 433.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.09503, allocations: 11.89 kB / 433.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.84e-05/0.09511, allocations: 48.38 kB / 433.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.09545, allocations: 331.3 kB / 434.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.09548, allocations: 29.38 kB / 434.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.09554, allocations: 44.12 kB / 434.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.09607, allocations: 330.5 kB / 434.6 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.0961, allocations: 0 / 434.6 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.09614, allocations: 16 kB / 434.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.09615, allocations: 8 kB / 434.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/0.09663, allocations: 259.8 kB / 434.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.09815, allocations: 1.12 MB / 436 MB, free: 9.852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007429/0.09891, allocations: 276.5 kB / 436.3 MB, free: 9.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.09923, allocations: 125.3 kB / 436.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.09927, allocations: 240 / 436.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003961/0.09968, allocations: 171.7 kB / 436.5 MB, free: 9.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.733e-06/0.09969, allocations: 0 / 436.5 MB, free: 9.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.002206/0.1019, allocations: 1.216 MB / 437.8 MB, free: 7.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.1019, allocations: 59.41 kB / 437.8 MB, free: 7.895 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1022, allocations: 345.6 kB / 438.2 MB, free: 7.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1022, allocations: 33.7 kB / 438.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.1023, allocations: 216.4 kB / 438.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.1024, allocations: 114.3 kB / 438.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.1025, allocations: 69.98 kB / 438.6 MB, free: 7.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.1026, allocations: 350.7 kB / 438.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.1028, allocations: 118.4 kB / 439 MB, free: 6.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.103, allocations: 162.4 kB / 439.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.1035, allocations: 293 kB / 439.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1035, allocations: 0 / 439.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005728/0.1041, allocations: 398.6 kB / 439.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.1041, allocations: 30.64 kB / 439.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1041, allocations: 7.938 kB / 439.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1041, allocations: 0 / 439.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.1045, allocations: 87.88 kB / 440 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1045, allocations: 8.094 kB / 440 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.1047, allocations: 19.92 kB / 440 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.1048, allocations: 16 kB / 440 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002866/0.1051, allocations: 220.9 kB / 440.3 MB, free: 5.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002173/0.1053, allocations: 150.7 kB / 440.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003959/0.1057, allocations: 285.3 kB / 440.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.1057, allocations: 4 kB / 440.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005365/0.1062, allocations: 382.9 kB / 441.1 MB, free: 4.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1063, allocations: 41.69 kB / 441.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.1063, allocations: 0 / 441.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.1063, allocations: 4 kB / 441.1 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.1066, allocations: 91.83 kB / 441.2 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1066, allocations: 11.92 kB / 441.2 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1068, allocations: 15.98 kB / 441.2 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.1069, allocations: 15.94 kB / 441.2 MB, free: 4.332 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 8.787e-05/0.107, allocations: 208.1 kB / 441.4 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.107, allocations: 39.53 kB / 441.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005502/0.1076, allocations: 325.4 kB / 441.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1076, allocations: 4 kB / 441.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1076, allocations: 0 / 441.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1076, allocations: 3.938 kB / 441.8 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000986/0.1086, allocations: 0.869 MB / 442.7 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1086, allocations: 4 kB / 442.7 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.1089, allocations: 75.89 kB / 442.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.109, allocations: 4 kB / 442.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.109, allocations: 8 kB / 442.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.109, allocations: 4 kB / 442.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.109, allocations: 4.125 kB / 442.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/0.1097, allocations: 0.5701 MB / 443.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.1098, allocations: 140.7 kB / 443.5 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.1099, allocations: 8 kB / 443.5 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.1102, allocations: 23.98 kB / 443.5 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.1102, allocations: 27.91 kB / 443.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1103, allocations: 11.98 kB / 443.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.1104, allocations: 239.2 kB / 443.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1104, allocations: 7.938 kB / 443.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004769/0.1109, allocations: 156 kB / 443.9 MB, free: 1.492 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.0001181/0.1111, allocations: 111.2 kB / 444 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007967/0.1119, allocations: 0.5385 MB / 444.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1119, allocations: 0 / 444.6 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.1121, allocations: 152.6 kB / 444.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.1126, allocations: 73.28 kB / 444.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.1142, allocations: 1.016 MB / 445.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1146, allocations: 0.8079 MB / 446.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1147, allocations: 35.42 kB / 446.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1147, allocations: 3.938 kB / 446.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Templates: time 0.007212/0.1219, allocations: 4.62 MB / 451.3 MB, free: 10.03 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)