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.008007/0.008007, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.001991/0.001991, allocations: 194.3 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.468/1.468, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009927/0.009928, allocations: 1.935 MB / 271.8 MB, free: 3.246 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.002349/0.002349, allocations: 71.89 kB / 377.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08947, allocations: 47.13 MB / 424.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.1738/0.2633, allocations: 1.954 MB / 426.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2645, allocations: 0.5692 MB / 427.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.2646, allocations: 4.312 kB / 427.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.617e-05/0.2647, allocations: 18.28 kB / 427.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.2649, allocations: 42.88 kB / 427.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.2651, allocations: 38.22 kB / 427.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.2653, allocations: 136.5 kB / 427.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.2655, allocations: 41.95 kB / 427.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.166e-05/0.2656, allocations: 49.27 kB / 427.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.2657, allocations: 48.36 kB / 427.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.2657, allocations: 11.03 kB / 427.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-05/0.2658, allocations: 17.8 kB / 427.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.2658, allocations: 23.59 kB / 427.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.2659, allocations: 60.3 kB / 427.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2661, allocations: 109.3 kB / 428 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2661, allocations: 0 / 428 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2661, allocations: 3.938 kB / 428 MB, free: 10.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2661, allocations: 0 / 428 MB, free: 10.3 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.0005397/0.2667, allocations: 427 kB / 428.4 MB, free: 9.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2667, allocations: 13.83 kB / 428.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.2668, allocations: 42.16 kB / 428.5 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.2668, allocations: 16.62 kB / 428.5 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.267, allocations: 209 kB / 428.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.267, allocations: 6.719 kB / 428.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.267, allocations: 8.812 kB / 428.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.2672, allocations: 86.41 kB / 428.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2673, allocations: 4.094 kB / 428.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2673, allocations: 3.438 kB / 428.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2673, allocations: 2.75 kB / 428.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.2674, allocations: 54.94 kB / 428.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.268, allocations: 388.1 kB / 429.2 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.2684, allocations: 66.81 kB / 429.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.2685, allocations: 24.06 kB / 429.3 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2685, allocations: 2.281 kB / 429.3 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.2685, allocations: 31.41 kB / 429.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.2686, allocations: 0 / 429.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002786/0.2688, allocations: 96.36 kB / 429.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.2689, allocations: 51.92 kB / 429.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.269, allocations: 183.6 kB / 429.7 MB, free: 9.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.2691, allocations: 28.3 kB / 429.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.2691, allocations: 113.2 kB / 429.8 MB, free: 8.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.2691, allocations: 9.719 kB / 429.8 MB, free: 8.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.2692, allocations: 26.69 kB / 429.8 MB, free: 8.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.291e-05/0.2692, allocations: 323.3 kB / 430.2 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.2693, allocations: 31.36 kB / 430.2 MB, free: 8.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.105e-05/0.2694, allocations: 17.38 kB / 430.2 MB, free: 8.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.2695, allocations: 46.92 kB / 430.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2695, allocations: 0 / 430.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001801/0.2697, allocations: 91.19 kB / 430.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2697, allocations: 16.34 kB / 430.4 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2697, allocations: 0 / 430.4 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2698, allocations: 6.641 kB / 430.4 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.2698, allocations: 14.62 kB / 430.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2699, allocations: 1.094 kB / 430.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.2699, allocations: 8.266 kB / 430.4 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.27, allocations: 5.031 kB / 430.4 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.703e-05/0.2701, allocations: 102.9 kB / 430.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.487e-05/0.2701, allocations: 15.81 kB / 430.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.865e-05/0.2702, allocations: 44.88 kB / 430.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.62e-07/0.2702, allocations: 0 / 430.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001462/0.2704, allocations: 77.59 kB / 430.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.2704, allocations: 5.094 kB / 430.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.2704, allocations: 0.6094 kB / 430.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.2704, allocations: 5.281 kB / 430.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.2705, allocations: 18.34 kB / 430.7 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.2705, allocations: 0 / 430.7 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.2705, allocations: 10.38 kB / 430.7 MB, free: 8.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.2705, allocations: 6.469 kB / 430.7 MB, free: 8.336 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 5.76e-05/0.2706, allocations: 185.2 kB / 430.9 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.2706, allocations: 18.19 kB / 430.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.2709, allocations: 76.02 kB / 430.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2709, allocations: 1.781 kB / 431 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2709, allocations: 3.062 kB / 431 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2709, allocations: 1.188 kB / 431 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.2713, allocations: 358.4 kB / 431.3 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2713, allocations: 1.281 kB / 431.3 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.2714, allocations: 8.281 kB / 431.3 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2714, allocations: 5.156 kB / 431.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2714, allocations: 1.953 kB / 431.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2714, allocations: 0 / 431.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2714, allocations: 2.172 kB / 431.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.2716, allocations: 182.5 kB / 431.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.2716, allocations: 92.27 kB / 431.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.2717, allocations: 1.703 kB / 431.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.2718, allocations: 11.59 kB / 431.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.2718, allocations: 3.828 kB / 431.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.2718, allocations: 1.469 kB / 431.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.2719, allocations: 142.1 kB / 431.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2719, allocations: 4 kB / 431.8 MB, free: 7.441 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.2723, allocations: 38.03 kB / 431.8 MB, free: 7.438 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.0003621/0.2726, allocations: 0.7096 MB / 432.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.2729, allocations: 72.17 kB / 432.6 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2729, allocations: 0 / 432.6 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.373e-05/0.273, allocations: 18.17 kB / 432.6 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.2734, allocations: 12.84 kB / 432.6 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.2751, allocations: 1.671 MB / 434.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.2753, allocations: 0.7002 MB / 435 MB, free: 4.797 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.871e-05/0.2754, allocations: 8.688 kB / 435 MB, free: 4.797 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.2755, allocations: 30.58 kB / 435 MB, free: 4.773 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2755, allocations: 4 kB / 435 MB, free: 4.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.3005, allocations: 2.47 MB / 437.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/8, allocations: 13.2 kB / 437.5 MB, free: 4.23 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)