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.007177/0.007177, allocations: 97.16 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.001913/0.001913, allocations: 192.2 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.398/1.398, allocations: 205.1 MB / 222.6 MB, free: 4.359 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008877/0.008877, allocations: 1.935 MB / 271.8 MB, free: 3.105 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.002119/0.00212, allocations: 71.89 kB / 377.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.09133, allocations: 47.13 MB / 424.9 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.1681/0.2594, allocations: 3.668 MB / 428.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.261, allocations: 0.8961 MB / 429.4 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.2612, allocations: 10.47 kB / 429.5 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.2615, allocations: 68.17 kB / 429.5 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.2617, allocations: 149.8 kB / 429.7 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.2621, allocations: 135.2 kB / 429.8 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005105/0.2626, allocations: 0.5453 MB / 430.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.2629, allocations: 182.8 kB / 430.5 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.2631, allocations: 198.6 kB / 430.7 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.2634, allocations: 220 kB / 430.9 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.2635, allocations: 45.34 kB / 431 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.2636, allocations: 56.48 kB / 431 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.2637, allocations: 102.9 kB / 431.1 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.2639, allocations: 240.2 kB / 431.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.2645, allocations: 0.5038 MB / 431.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2645, allocations: 0 / 431.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2645, allocations: 3.938 kB / 431.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.2645, allocations: 0.6562 kB / 431.9 MB, free: 8.379 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.001205/0.2657, allocations: 0.7772 MB / 432.7 MB, free: 7.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2658, allocations: 13.77 kB / 432.7 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.2658, allocations: 79.03 kB / 432.7 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.2659, allocations: 53.61 kB / 432.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.2663, allocations: 332.6 kB / 433.1 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.2664, allocations: 32.12 kB / 433.2 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.2664, allocations: 39.69 kB / 433.2 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.2671, allocations: 327.2 kB / 433.5 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.2671, allocations: 3.938 kB / 433.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.2671, allocations: 12.41 kB / 433.5 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.2671, allocations: 13 kB / 433.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005447/0.2677, allocations: 260.1 kB / 433.8 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.2694, allocations: 1.118 MB / 434.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.2699, allocations: 275.5 kB / 435.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.2702, allocations: 116.6 kB / 435.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.2702, allocations: 4.078 kB / 435.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000368/0.2706, allocations: 174.9 kB / 435.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.823e-06/0.2706, allocations: 0 / 435.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.002385/0.273, allocations: 1.224 MB / 436.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.2731, allocations: 55.52 kB / 436.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.2734, allocations: 348.4 kB / 437.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2735, allocations: 35.86 kB / 437.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2736, allocations: 210.6 kB / 437.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/0.2737, allocations: 129.5 kB / 437.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.2738, allocations: 74.73 kB / 437.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.2739, allocations: 342.7 kB / 437.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.2741, allocations: 122.2 kB / 438 MB, free: 4.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.2744, allocations: 154.2 kB / 438.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.2749, allocations: 295.5 kB / 438.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2749, allocations: 0 / 438.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006817/0.2756, allocations: 407 kB / 438.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.2756, allocations: 31.98 kB / 438.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2757, allocations: 1.25 kB / 438.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2757, allocations: 2.25 kB / 438.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.2761, allocations: 85.12 kB / 438.9 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2761, allocations: 11.58 kB / 438.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.2763, allocations: 19.45 kB / 439 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.2764, allocations: 11.53 kB / 439 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003253/0.2767, allocations: 230.1 kB / 439.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002568/0.277, allocations: 155.4 kB / 439.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005079/0.2775, allocations: 287.3 kB / 439.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.674e-06/0.2775, allocations: 0 / 439.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007906/0.2783, allocations: 389.6 kB / 440 MB, free: 3.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.2783, allocations: 37.14 kB / 440.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2784, allocations: 1.031 kB / 440.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.2784, allocations: 3.875 kB / 440.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.2788, allocations: 83.77 kB / 440.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2788, allocations: 7.391 kB / 440.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.279, allocations: 19.94 kB / 440.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.2791, allocations: 14.97 kB / 440.2 MB, free: 3.234 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.0001142/0.2792, allocations: 204.2 kB / 440.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.2792, allocations: 39.44 kB / 440.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000673/0.2799, allocations: 321.7 kB / 440.7 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2799, allocations: 8.469 kB / 440.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.28, allocations: 3.938 kB / 440.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.28, allocations: 4.219 kB / 440.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.2812, allocations: 0.8607 MB / 441.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2812, allocations: 1.188 kB / 441.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.2816, allocations: 83.88 kB / 441.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.2816, allocations: 2.188 kB / 441.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.2817, allocations: 7.984 kB / 441.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2817, allocations: 4.047 kB / 441.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2817, allocations: 5.031 kB / 441.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.2826, allocations: 0.5761 MB / 442.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.2827, allocations: 146.3 kB / 442.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.2828, allocations: 8.375 kB / 442.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.283, allocations: 18.92 kB / 442.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.2831, allocations: 34.8 kB / 442.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.2832, allocations: 13.73 kB / 442.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.2834, allocations: 242.4 kB / 442.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2834, allocations: 0 / 442.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005228/0.2839, allocations: 147.5 kB / 442.9 MB, free: 1.641 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.0009905/0.2849, allocations: 1.115 MB / 444 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009255/0.2858, allocations: 0.5551 MB / 444.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2859, allocations: 3.938 kB / 444.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.2862, allocations: 148 kB / 444.7 MB, free: 456 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.2867, allocations: 65.03 kB / 444.8 MB, free: 432 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/0.292, allocations: 3.739 MB / 448.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.2926, allocations: 0.8093 MB / 449.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.2928, allocations: 47.59 kB / 449.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.293, allocations: 131.8 kB / 449.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.293, allocations: 1.406 kB / 449.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.326, allocations: 7.946 MB / 457.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/8.752, allocations: 15.8 kB / 457.5 MB, free: 9.547 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)