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.007284/0.007284, allocations: 99.86 kB / 15.73 MB, free: 6.043 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.001932/0.001932, allocations: 202.9 kB / 16.68 MB, free: 5.965 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.411/1.411, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008844/0.008844, allocations: 1.924 MB / 271.8 MB, free: 3.25 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.002145/0.002145, allocations: 64.28 kB / 377.7 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08904/0.09119, allocations: 47.13 MB / 424.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.1636/0.2549, allocations: 3.161 MB / 428 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2561, allocations: 0.7906 MB / 428.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.2562, allocations: 4.312 kB / 428.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.2564, allocations: 53.56 kB / 428.9 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.2567, allocations: 124.3 kB / 429 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.257, allocations: 88.77 kB / 429.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.2573, allocations: 429.3 kB / 429.5 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.2576, allocations: 137.7 kB / 429.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.2577, allocations: 158.1 kB / 429.8 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.2579, allocations: 155.9 kB / 430 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.258, allocations: 34.28 kB / 430 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.2581, allocations: 47.81 kB / 430 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.2582, allocations: 70.3 kB / 430.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.2583, allocations: 188.3 kB / 430.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.2588, allocations: 404.5 kB / 430.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2588, allocations: 0 / 430.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2588, allocations: 1.156 kB / 430.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.2588, allocations: 0.5625 kB / 430.7 MB, free: 9.172 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.0008598/0.2597, allocations: 0.6336 MB / 431.3 MB, free: 8.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2597, allocations: 17.42 kB / 431.3 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.2598, allocations: 61.39 kB / 431.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.2599, allocations: 39.22 kB / 431.4 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.2602, allocations: 302.5 kB / 431.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2603, allocations: 19.81 kB / 431.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.2603, allocations: 29.38 kB / 431.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.2607, allocations: 234.4 kB / 432 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.2608, allocations: 0 / 432 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.2608, allocations: 10.75 kB / 432 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.2608, allocations: 6.406 kB / 432 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.2611, allocations: 180.3 kB / 432.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.2624, allocations: 0.8979 MB / 433.1 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.2628, allocations: 186.8 kB / 433.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.263, allocations: 87.25 kB / 433.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.263, allocations: 3.562 kB / 433.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.263, allocations: 33.7 kB / 433.4 MB, free: 7.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.263, allocations: 0 / 433.4 MB, free: 7.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.00153/0.2646, allocations: 0.9841 MB / 434.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.2646, allocations: 54.44 kB / 434.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.2649, allocations: 281 kB / 434.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2649, allocations: 31.08 kB / 434.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.265, allocations: 189.5 kB / 434.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.265, allocations: 94.27 kB / 435 MB, free: 6.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/0.2651, allocations: 61.19 kB / 435.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.2652, allocations: 338.4 kB / 435.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.2653, allocations: 78.58 kB / 435.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.2655, allocations: 115.3 kB / 435.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.2658, allocations: 202.6 kB / 435.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2658, allocations: 1.938 kB / 435.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003951/0.2662, allocations: 264.1 kB / 436.1 MB, free: 5.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2662, allocations: 14.58 kB / 436.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2663, allocations: 8.969 kB / 436.1 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2663, allocations: 2.812 kB / 436.1 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.2665, allocations: 63.67 kB / 436.1 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2665, allocations: 3.297 kB / 436.1 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.2667, allocations: 12.17 kB / 436.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.2667, allocations: 11.61 kB / 436.2 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001963/0.2669, allocations: 185.4 kB / 436.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001433/0.2671, allocations: 124.4 kB / 436.5 MB, free: 5.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002644/0.2673, allocations: 196.6 kB / 436.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.2674, allocations: 1.438 kB / 436.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0004/0.2678, allocations: 267.5 kB / 436.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.2678, allocations: 5.781 kB / 436.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.2678, allocations: 1.125 kB / 436.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.2678, allocations: 6.25 kB / 436.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.268, allocations: 63.67 kB / 437 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.268, allocations: 3.141 kB / 437 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2682, allocations: 8.984 kB / 437 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.2682, allocations: 6.781 kB / 437 MB, free: 4.891 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 6.754e-05/0.2683, allocations: 201.2 kB / 437.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.2683, allocations: 30.66 kB / 437.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.2687, allocations: 234.6 kB / 437.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2688, allocations: 2.438 kB / 437.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2688, allocations: 1.906 kB / 437.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2688, allocations: 1.312 kB / 437.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008551/0.2696, allocations: 0.7223 MB / 438.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2697, allocations: 1.188 kB / 438.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.27, allocations: 65.95 kB / 438.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.27, allocations: 2.75 kB / 438.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.27, allocations: 7.812 kB / 438.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.27, allocations: 2.219 kB / 438.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.27, allocations: 5.938 kB / 438.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.2705, allocations: 439.9 kB / 438.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.534e-05/0.2706, allocations: 128.5 kB / 438.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.2707, allocations: 10.25 kB / 438.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.2709, allocations: 17.19 kB / 438.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.2709, allocations: 14.22 kB / 438.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.2709, allocations: 18.28 kB / 438.9 MB, free: 3.594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.2711, allocations: 204 kB / 439.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2711, allocations: 0 / 439.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004611/0.2716, allocations: 116 kB / 439.2 MB, free: 3.469 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.0007056/0.2723, allocations: 0.9671 MB / 440.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006906/0.273, allocations: 322.4 kB / 440.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.273, allocations: 0 / 440.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2732, allocations: 98.69 kB / 440.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.2737, allocations: 48.47 kB / 440.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.277, allocations: 3.097 MB / 443.7 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.2774, allocations: 0.7744 MB / 444.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.2775, allocations: 37.92 kB / 444.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.2777, allocations: 96.66 kB / 444.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2777, allocations: 0 / 444.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.3078, allocations: 6.031 MB / 450.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.309, allocations: 6.312 kB / 450.7 MB, free: 13.84 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)