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: "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",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.006596/0.006596, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001323/0.001323, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.364/1.364, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008759/0.008759, allocations: 1.928 MB / 271.8 MB, free: 3.266 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.001456/0.001456, allocations: 67.91 kB / 377.8 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08347/0.08494, allocations: 47.12 MB / 424.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.1789/0.2639, allocations: 3.666 MB / 428.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.2653, allocations: 0.9002 MB / 429.4 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.2655, allocations: 9.844 kB / 429.4 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.2657, allocations: 61.08 kB / 429.5 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.2661, allocations: 160 kB / 429.7 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.2664, allocations: 133 kB / 429.8 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005273/0.267, allocations: 0.5526 MB / 430.3 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.2672, allocations: 184.9 kB / 430.5 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2675, allocations: 202.5 kB / 430.7 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.2677, allocations: 221.8 kB / 430.9 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.2678, allocations: 45.41 kB / 431 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.2679, allocations: 55.8 kB / 431 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.268, allocations: 99.42 kB / 431.1 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.2682, allocations: 244.2 kB / 431.4 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.2688, allocations: 0.5038 MB / 431.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2688, allocations: 1.031 kB / 431.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2688, allocations: 0 / 431.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.2689, allocations: 0 / 431.9 MB, free: 8.422 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.001269/0.2701, allocations: 0.7804 MB / 432.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2702, allocations: 14.41 kB / 432.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.813e-05/0.2702, allocations: 75.42 kB / 432.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.2703, allocations: 53.92 kB / 432.8 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.2708, allocations: 328 kB / 433.1 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.2708, allocations: 28.44 kB / 433.2 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.525e-05/0.2709, allocations: 45.09 kB / 433.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.2715, allocations: 330.2 kB / 433.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.2716, allocations: 0 / 433.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.2716, allocations: 16.38 kB / 433.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.2716, allocations: 8.375 kB / 433.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.2722, allocations: 261 kB / 433.8 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.274, allocations: 1.116 MB / 434.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.2746, allocations: 272.3 kB / 435.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.2748, allocations: 125.7 kB / 435.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.2749, allocations: 4.203 kB / 435.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000371/0.2753, allocations: 171.1 kB / 435.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.896e-06/0.2753, allocations: 1.719 kB / 435.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.002346/0.2776, allocations: 1.224 MB / 436.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2777, allocations: 59.7 kB / 436.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.2781, allocations: 350.9 kB / 437.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.2781, allocations: 31.98 kB / 437.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2782, allocations: 215.6 kB / 437.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.2783, allocations: 126.6 kB / 437.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2784, allocations: 68.41 kB / 437.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.2785, allocations: 343.2 kB / 437.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.2788, allocations: 121.8 kB / 438 MB, free: 4.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.2791, allocations: 157 kB / 438.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.2796, allocations: 294.3 kB / 438.4 MB, free: 4.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2796, allocations: 0 / 438.4 MB, free: 4.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006844/0.2803, allocations: 400.5 kB / 438.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.2804, allocations: 32.89 kB / 438.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2804, allocations: 1.125 kB / 438.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2804, allocations: 6.312 kB / 438.9 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.2808, allocations: 85.44 kB / 438.9 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2808, allocations: 12.48 kB / 439 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.2811, allocations: 19.39 kB / 439 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.2811, allocations: 14.8 kB / 439 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000341/0.2815, allocations: 227.7 kB / 439.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002583/0.2817, allocations: 149.4 kB / 439.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004907/0.2822, allocations: 285.6 kB / 439.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.2822, allocations: 0.5625 kB / 439.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008069/0.2831, allocations: 392.1 kB / 440 MB, free: 3.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.2831, allocations: 40.08 kB / 440.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.2831, allocations: 1.156 kB / 440.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/0.2831, allocations: 2.75 kB / 440.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.2835, allocations: 86.75 kB / 440.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2835, allocations: 2.844 kB / 440.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.2838, allocations: 20 kB / 440.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.2838, allocations: 14.06 kB / 440.2 MB, free: 3.277 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.0001168/0.2839, allocations: 208.8 kB / 440.4 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.284, allocations: 42.73 kB / 440.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/0.2846, allocations: 320.4 kB / 440.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2847, allocations: 3.938 kB / 440.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2847, allocations: 4.688 kB / 440.7 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2847, allocations: 3.438 kB / 440.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.2859, allocations: 0.87 MB / 441.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2859, allocations: 1.188 kB / 441.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.2863, allocations: 80.17 kB / 441.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2863, allocations: 1.781 kB / 441.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.2863, allocations: 8.297 kB / 441.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2864, allocations: 8.094 kB / 441.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2864, allocations: 5.906 kB / 441.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008577/0.2872, allocations: 0.5743 MB / 442.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.2874, allocations: 142.6 kB / 442.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.2874, allocations: 11.45 kB / 442.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.2877, allocations: 20.48 kB / 442.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.2878, allocations: 25.89 kB / 442.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.2878, allocations: 15.39 kB / 442.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.2881, allocations: 239.3 kB / 442.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.41e-07/0.2881, allocations: 0 / 442.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005763/0.2886, allocations: 160.4 kB / 442.9 MB, free: 1.68 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.001064/0.2897, allocations: 1.116 MB / 444 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009861/0.2907, allocations: 0.5508 MB / 444.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.2907, allocations: 1.375 kB / 444.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.291, allocations: 151.4 kB / 444.7 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.2916, allocations: 67.86 kB / 444.8 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.2972, allocations: 3.741 MB / 448.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.2977, allocations: 0.8046 MB / 449.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.2979, allocations: 47.64 kB / 449.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.2981, allocations: 131.5 kB / 449.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2981, allocations: 5.375 kB / 449.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.3279, allocations: 7.939 MB / 457.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.771, allocations: 15.8 kB / 457.5 MB, free: 9.582 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestBellJarLinearControl_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)