Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",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.004517/0.004517, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001099/0.001099, allocations: 201 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.295/1.295, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008607/0.008607, allocations: 1.916 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.001396/0.001396, allocations: 67.91 kB / 377.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.08992, allocations: 47.14 MB / 424.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.1721/0.262, allocations: 1.957 MB / 426.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.263, allocations: 0.5598 MB / 427.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.2631, allocations: 3.531 kB / 427.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.192e-05/0.2631, allocations: 19.78 kB / 427.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.2634, allocations: 43.94 kB / 427.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.2636, allocations: 42.16 kB / 427.5 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.2638, allocations: 133.2 kB / 427.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2639, allocations: 40.05 kB / 427.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.517e-05/0.264, allocations: 51.58 kB / 427.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.338e-05/0.2641, allocations: 51.59 kB / 427.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.2641, allocations: 8.031 kB / 427.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.2642, allocations: 17.59 kB / 427.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.2642, allocations: 20.56 kB / 427.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.2643, allocations: 62.97 kB / 427.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.2645, allocations: 111.1 kB / 428 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2645, allocations: 0.6562 kB / 428 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2645, allocations: 4.641 kB / 428 MB, free: 10.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.2645, allocations: 0 / 428 MB, free: 10.32 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004944/0.265, allocations: 426.5 kB / 428.4 MB, free: 9.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2651, allocations: 16.45 kB / 428.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.2651, allocations: 41.5 kB / 428.5 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.2651, allocations: 15 kB / 428.5 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.2653, allocations: 205.3 kB / 428.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.2653, allocations: 6.219 kB / 428.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.2653, allocations: 8.125 kB / 428.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.2655, allocations: 95.58 kB / 428.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2655, allocations: 0 / 428.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2655, allocations: 4.094 kB / 428.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2656, allocations: 5.406 kB / 428.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.2657, allocations: 54.78 kB / 428.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.2662, allocations: 382.8 kB / 429.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.2666, allocations: 72.06 kB / 429.3 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.2667, allocations: 20.78 kB / 429.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.2667, allocations: 0 / 429.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.2667, allocations: 33.64 kB / 429.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.2667, allocations: 1.062 kB / 429.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002557/0.267, allocations: 95.55 kB / 429.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.267, allocations: 60.34 kB / 429.5 MB, free: 9.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.2672, allocations: 180.4 kB / 429.7 MB, free: 9.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.2672, allocations: 26.98 kB / 429.7 MB, free: 9.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.2673, allocations: 114.2 kB / 429.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.083e-05/0.2673, allocations: 10.66 kB / 429.8 MB, free: 8.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.2673, allocations: 27.36 kB / 429.9 MB, free: 8.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.2674, allocations: 321.5 kB / 430.2 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.383e-05/0.2674, allocations: 29.52 kB / 430.2 MB, free: 8.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.2675, allocations: 16.72 kB / 430.2 MB, free: 8.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.2676, allocations: 53.38 kB / 430.3 MB, free: 8.559 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2676, allocations: 0 / 430.3 MB, free: 8.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001513/0.2678, allocations: 89.8 kB / 430.4 MB, free: 8.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2678, allocations: 8.688 kB / 430.4 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2678, allocations: 0.75 kB / 430.4 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2678, allocations: 1.406 kB / 430.4 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.2679, allocations: 17.22 kB / 430.4 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2679, allocations: 0.5156 kB / 430.4 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.268, allocations: 8.125 kB / 430.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.268, allocations: 2.031 kB / 430.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.524e-05/0.2681, allocations: 107.5 kB / 430.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.153e-05/0.2681, allocations: 18.11 kB / 430.5 MB, free: 8.418 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.089e-05/0.2682, allocations: 42.92 kB / 430.6 MB, free: 8.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.92e-07/0.2682, allocations: 0 / 430.6 MB, free: 8.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001408/0.2684, allocations: 82.56 kB / 430.6 MB, free: 8.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/0.2684, allocations: 6 kB / 430.6 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.2684, allocations: 0.75 kB / 430.6 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-06/0.2684, allocations: 5.188 kB / 430.6 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.2685, allocations: 10.83 kB / 430.7 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-06/0.2685, allocations: 0 / 430.7 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.2685, allocations: 7.797 kB / 430.7 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.2686, allocations: 1.5 kB / 430.7 MB, free: 8.363 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 4.829e-05/0.2686, allocations: 192.4 kB / 430.9 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.2686, allocations: 17.59 kB / 430.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.2688, allocations: 79.62 kB / 431 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2688, allocations: 1.781 kB / 431 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2689, allocations: 0 / 431 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2689, allocations: 1.734 kB / 431 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.2692, allocations: 351.5 kB / 431.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2692, allocations: 7.922 kB / 431.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.2692, allocations: 7.797 kB / 431.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2693, allocations: 1.25 kB / 431.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2693, allocations: 1.781 kB / 431.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2693, allocations: 1.25 kB / 431.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2693, allocations: 1.375 kB / 431.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.2694, allocations: 187.2 kB / 431.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.2695, allocations: 96.73 kB / 431.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2695, allocations: 0.5625 kB / 431.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.2696, allocations: 7.094 kB / 431.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.2696, allocations: 2.969 kB / 431.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2696, allocations: 2.766 kB / 431.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.641e-05/0.2697, allocations: 142.8 kB / 431.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2698, allocations: 0 / 431.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.2701, allocations: 38.94 kB / 431.8 MB, free: 7.461 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * 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.0002992/0.2704, allocations: 0.713 MB / 432.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.2706, allocations: 69.73 kB / 432.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2706, allocations: 0 / 432.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.091e-05/0.2707, allocations: 22.09 kB / 432.6 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.271, allocations: 10.86 kB / 432.6 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.2725, allocations: 1.673 MB / 434.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2726, allocations: 0.7005 MB / 435 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.913e-05/0.2727, allocations: 8.234 kB / 435 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.2727, allocations: 30.69 kB / 435 MB, free: 4.785 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2727, allocations: 0 / 435 MB, free: 4.785 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.2899, allocations: 2.48 MB / 437.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.945, allocations: 5.156 kB / 437.5 MB, free: 4.246 MB / 318.1 MB (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestSupplyValve_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 MEV_MEV_Test_TestSupplyValve.fmu > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)