Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarOpenLoop.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: "" <> buildModelFMU(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007557/0.007557, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.00191/0.00191, allocations: 192.7 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.394/1.394, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009183/0.009183, allocations: 1.935 MB / 271.8 MB, free: 3.23 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.001638/0.001638, allocations: 68.11 kB / 377.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08086/0.08252, allocations: 47.13 MB / 424.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.1807/0.2633, allocations: 3.161 MB / 428 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2649, allocations: 0.7926 MB / 428.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.2653, allocations: 4.312 kB / 428.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.2655, allocations: 50.06 kB / 428.9 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.2659, allocations: 132.4 kB / 429 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.2662, allocations: 89.69 kB / 429.1 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004958/0.2667, allocations: 429 kB / 429.5 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.267, allocations: 138.5 kB / 429.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.2672, allocations: 149.5 kB / 429.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.2674, allocations: 163.6 kB / 430 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.2675, allocations: 33.22 kB / 430 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.2676, allocations: 47.28 kB / 430 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.2677, allocations: 71.05 kB / 430.1 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2679, allocations: 192.9 kB / 430.3 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.2684, allocations: 394.7 kB / 430.7 MB, free: 9.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2684, allocations: 3.953 kB / 430.7 MB, free: 9.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2684, allocations: 0 / 430.7 MB, free: 9.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.2684, allocations: 1.156 kB / 430.7 MB, free: 9.156 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009837/0.2694, allocations: 0.6372 MB / 431.3 MB, free: 8.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2695, allocations: 18.27 kB / 431.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.416e-05/0.2696, allocations: 65.09 kB / 431.4 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.2696, allocations: 39.61 kB / 431.4 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.2701, allocations: 289.6 kB / 431.7 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2701, allocations: 19.22 kB / 431.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.2701, allocations: 34.92 kB / 431.8 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.2706, allocations: 237 kB / 432 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.2706, allocations: 2.219 kB / 432 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.2707, allocations: 10.69 kB / 432 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.2707, allocations: 10.03 kB / 432 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.271, allocations: 181.6 kB / 432.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.2725, allocations: 0.8979 MB / 433.1 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.2729, allocations: 185.3 kB / 433.3 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2731, allocations: 75.53 kB / 433.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.2731, allocations: 6.953 kB / 433.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.2731, allocations: 37.59 kB / 433.4 MB, free: 7.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 2.104e-06/0.2732, allocations: 0 / 433.4 MB, free: 7.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001755/0.2749, allocations: 0.9833 MB / 434.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.275, allocations: 54.38 kB / 434.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.2753, allocations: 284.1 kB / 434.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2753, allocations: 32 kB / 434.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/0.2754, allocations: 188.1 kB / 434.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.2755, allocations: 93.61 kB / 435 MB, free: 6.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-05/0.2756, allocations: 59.28 kB / 435.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.2756, allocations: 337.3 kB / 435.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.2758, allocations: 79.5 kB / 435.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.276, allocations: 118.2 kB / 435.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.2763, allocations: 200.4 kB / 435.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2763, allocations: 0.8125 kB / 435.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004602/0.2767, allocations: 268 kB / 436.1 MB, free: 5.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2768, allocations: 9.156 kB / 436.1 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2768, allocations: 5.781 kB / 436.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.2768, allocations: 3.172 kB / 436.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.2771, allocations: 62.72 kB / 436.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2771, allocations: 3.375 kB / 436.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.2773, allocations: 9.359 kB / 436.2 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2773, allocations: 7.719 kB / 436.2 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002241/0.2775, allocations: 189.7 kB / 436.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001526/0.2777, allocations: 129.2 kB / 436.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002664/0.278, allocations: 201.2 kB / 436.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.278, allocations: 0 / 436.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0003993/0.2784, allocations: 260.5 kB / 436.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2784, allocations: 5.625 kB / 436.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.2784, allocations: 1.25 kB / 436.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/0.2784, allocations: 6.188 kB / 436.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.2787, allocations: 59.62 kB / 437 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2787, allocations: 10.89 kB / 437 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.2789, allocations: 13.19 kB / 437 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.2789, allocations: 7.344 kB / 437 MB, free: 4.871 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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 9.312e-05/0.279, allocations: 192.7 kB / 437.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.279, allocations: 30.2 kB / 437.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/0.2795, allocations: 231.5 kB / 437.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2795, allocations: 2.938 kB / 437.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2795, allocations: 4 kB / 437.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2795, allocations: 2.219 kB / 437.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.2805, allocations: 0.7294 MB / 438.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2806, allocations: 2.281 kB / 438.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.2809, allocations: 58.77 kB / 438.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.2809, allocations: 6.406 kB / 438.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.2809, allocations: 7.531 kB / 438.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.2809, allocations: 6.281 kB / 438.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.2809, allocations: 6.156 kB / 438.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.2815, allocations: 440 kB / 438.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.2817, allocations: 131.1 kB / 438.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.2817, allocations: 6.922 kB / 438.9 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.2819, allocations: 13.2 kB / 438.9 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.282, allocations: 22.06 kB / 438.9 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.282, allocations: 14.92 kB / 438.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.2822, allocations: 202.8 kB / 439.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2822, allocations: 4 kB / 439.1 MB, free: 3.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005212/0.2827, allocations: 116.7 kB / 439.2 MB, free: 3.449 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000784/0.2835, allocations: 0.9635 MB / 440.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007561/0.2843, allocations: 318.6 kB / 440.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2843, allocations: 0.5312 kB / 440.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.2845, allocations: 94.34 kB / 440.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.2851, allocations: 61.66 kB / 440.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.2888, allocations: 3.097 MB / 443.7 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.2891, allocations: 0.7772 MB / 444.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.2893, allocations: 33.02 kB / 444.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.2895, allocations: 98.88 kB / 444.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2895, allocations: 1.688 kB / 444.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.3183, allocations: 6.033 MB / 450.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/8.751, allocations: 8.906 kB / 450.7 MB, free: 13.81 MB / 334.1 MB (rm -f MEV_MEV.Test.TestBellJarOpenLoop.pipe ; mkfifo MEV_MEV.Test.TestBellJarOpenLoop.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarOpenLoop.pipe >> ../files/MEV_MEV.Test.TestBellJarOpenLoop.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestBellJarOpenLoop_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Test_TestBellJarOpenLoop.fmu > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1)