Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",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.001277/0.001277, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 191.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7431/0.7431, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.5019 GB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3308, allocations: 80.2 MB / 0.5802 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001573/0.3324, allocations: 0.5144 MB / 0.5807 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001431/0.3326, allocations: 38.14 kB / 0.5807 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.3327, allocations: 0 / 0.5807 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.3327, allocations: 4.688 kB / 0.5807 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.3328, allocations: 6.438 kB / 0.5807 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.752e-05/0.3329, allocations: 6.688 kB / 0.5807 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.334e-05/0.3329, allocations: 10.03 kB / 0.5808 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.333, allocations: 2.344 kB / 0.5808 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.546e-05/0.333, allocations: 10.12 kB / 0.5808 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.3331, allocations: 10.72 kB / 0.5808 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3331, allocations: 1.312 kB / 0.5808 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-06/0.3331, allocations: 4 kB / 0.5808 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.3331, allocations: 3.891 kB / 0.5808 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.3332, allocations: 9.812 kB / 0.5808 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.724e-05/0.3332, allocations: 10.61 kB / 0.5808 GB, free: 4.043 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3332, allocations: 0 / 0.5808 GB, free: 4.043 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3332, allocations: 0 / 0.5808 GB, free: 4.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3333, allocations: 4.906 kB / 0.5808 GB, free: 4.039 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002933/0.3336, allocations: 327.1 kB / 0.5811 GB, free: 3.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3336, allocations: 9.562 kB / 0.5811 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.846e-05/0.3336, allocations: 31.5 kB / 0.5812 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.914e-05/0.3336, allocations: 6.625 kB / 0.5812 GB, free: 3.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3338, allocations: 178.2 kB / 0.5813 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.3338, allocations: 384 / 0.5813 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3338, allocations: 2.516 kB / 0.5813 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.051e-05/0.3339, allocations: 39.38 kB / 0.5814 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.3339, allocations: 0 / 0.5814 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.3339, allocations: 5.266 kB / 0.5814 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3339, allocations: 4 kB / 0.5814 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.785e-05/0.3339, allocations: 3.641 kB / 0.5814 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.334, allocations: 157.3 kB / 0.5815 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.409e-05/0.3341, allocations: 19.31 kB / 0.5816 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.3341, allocations: 9.375 kB / 0.5816 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.3341, allocations: 3.938 kB / 0.5816 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.3341, allocations: 36.78 kB / 0.5816 GB, free: 3.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3341, allocations: 0 / 0.5816 GB, free: 3.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001088/0.3342, allocations: 47.55 kB / 0.5817 GB, free: 3.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.667e-05/0.3343, allocations: 53.09 kB / 0.5817 GB, free: 3.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.662e-05/0.3343, allocations: 107.2 kB / 0.5818 GB, free: 2.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-06/0.3343, allocations: 25.7 kB / 0.5818 GB, free: 2.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.718e-05/0.3344, allocations: 81.72 kB / 0.5819 GB, free: 2.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.3344, allocations: 10.45 kB / 0.5819 GB, free: 2.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.3344, allocations: 11.75 kB / 0.5819 GB, free: 2.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.3345, allocations: 313.5 kB / 0.5822 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.3345, allocations: 8.359 kB / 0.5822 GB, free: 2.465 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/0.3345, allocations: 22.78 kB / 0.5823 GB, free: 2.441 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.3345, allocations: 20 kB / 0.5823 GB, free: 2.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3345, allocations: 1.375 kB / 0.5823 GB, free: 2.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.519e-05/0.3346, allocations: 52.14 kB / 0.5823 GB, free: 2.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3346, allocations: 6.719 kB / 0.5823 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3346, allocations: 7.938 kB / 0.5823 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3347, allocations: 0.7188 kB / 0.5823 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-05/0.3347, allocations: 9.781 kB / 0.5824 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3347, allocations: 0 / 0.5824 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.3348, allocations: 1.438 kB / 0.5824 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3348, allocations: 1.5 kB / 0.5824 GB, free: 2.371 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.104e-05/0.3348, allocations: 111 kB / 0.5825 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.3348, allocations: 5.641 kB / 0.5825 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.342e-05/0.3349, allocations: 57.3 kB / 0.5825 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3349, allocations: 0 / 0.5825 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.3349, allocations: 0 / 0.5825 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3349, allocations: 1.969 kB / 0.5825 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.175e-05/0.335, allocations: 153.9 kB / 0.5827 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.335, allocations: 4.547 kB / 0.5827 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.3351, allocations: 4.344 kB / 0.5827 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3351, allocations: 0 / 0.5827 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3351, allocations: 2 kB / 0.5827 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3351, allocations: 0 / 0.5827 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3351, allocations: 5.656 kB / 0.5827 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.88e-05/0.3352, allocations: 76.83 kB / 0.5828 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.3352, allocations: 82.59 kB / 0.5828 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3352, allocations: 9.609 kB / 0.5828 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.332e-05/0.3353, allocations: 5.672 kB / 0.5829 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.3353, allocations: 1.406 kB / 0.5829 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.3353, allocations: 1.188 kB / 0.5829 GB, free: 1.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.894e-05/0.3353, allocations: 88.03 kB / 0.5829 GB, free: 1.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3353, allocations: 0 / 0.5829 GB, free: 1.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.3355, allocations: 6.438 kB / 0.5829 GB, free: 1.746 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0002108/0.3358, allocations: 0.6082 MB / 0.5835 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.427e-05/0.3358, allocations: 24.95 kB / 0.5836 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3358, allocations: 0 / 0.5836 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.3359, allocations: 7.359 kB / 0.5836 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.336, allocations: 1.156 kB / 0.5836 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006317/0.3366, allocations: 1.15 MB / 0.5847 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.3369, allocations: 0.6786 MB / 0.5854 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.578e-05/0.3369, allocations: 10.67 kB / 0.5854 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.3369, allocations: 16.94 kB / 0.5854 GB, free: 15.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3369, allocations: 1.156 kB / 0.5854 GB, free: 15.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.3524, allocations: 1.145 MB / 0.5865 GB, free: 14.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/7.753, allocations: 8.266 kB / 0.5865 GB, free: 14.95 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)