Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",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.005661/0.005661, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001271/0.001271, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7734/0.7734, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 71.88 kB / 0.5809 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3679, allocations: 80.2 MB / 0.6592 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001437/0.3694, allocations: 0.5103 MB / 0.6597 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001364/0.3695, allocations: 19.38 kB / 0.6597 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.3696, allocations: 1.375 kB / 0.6597 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.3696, allocations: 0 / 0.6597 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.3697, allocations: 6.125 kB / 0.6597 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.3697, allocations: 0 / 0.6597 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.851e-05/0.3698, allocations: 2.172 kB / 0.6597 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.3698, allocations: 4.047 kB / 0.6597 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.3699, allocations: 5.359 kB / 0.6597 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.3699, allocations: 6.062 kB / 0.6597 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.3699, allocations: 0 / 0.6597 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-06/0.3699, allocations: 4 kB / 0.6597 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.37, allocations: 0 / 0.6597 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.37, allocations: 5.312 kB / 0.6597 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.546e-05/0.37, allocations: 2.125 kB / 0.6597 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.37, allocations: 0 / 0.6597 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.37, allocations: 0 / 0.6597 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.37, allocations: 0 / 0.6597 GB, free: 9.598 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002156/0.3703, allocations: 314.6 kB / 0.66 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3703, allocations: 9.625 kB / 0.66 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.3703, allocations: 30.75 kB / 0.6601 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.3704, allocations: 6.969 kB / 0.6601 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.323e-05/0.3704, allocations: 161.1 kB / 0.6602 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3704, allocations: 384 / 0.6602 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.3705, allocations: 6.203 kB / 0.6602 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.3706, allocations: 48.89 kB / 0.6603 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3706, allocations: 4.75 kB / 0.6603 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.3706, allocations: 0 / 0.6603 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3706, allocations: 1.375 kB / 0.6603 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.3706, allocations: 7.406 kB / 0.6603 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.3707, allocations: 154.1 kB / 0.6604 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.929e-05/0.3708, allocations: 37.92 kB / 0.6605 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.3708, allocations: 16.41 kB / 0.6605 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3708, allocations: 12.72 kB / 0.6605 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.3709, allocations: 36.73 kB / 0.6605 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3709, allocations: 0 / 0.6605 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001323/0.371, allocations: 41.14 kB / 0.6606 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.371, allocations: 83 kB / 0.6607 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.654e-05/0.3711, allocations: 90.47 kB / 0.6607 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.3711, allocations: 29.64 kB / 0.6608 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.089e-05/0.3711, allocations: 81.77 kB / 0.6608 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3711, allocations: 8.75 kB / 0.6609 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.3711, allocations: 13.22 kB / 0.6609 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.3712, allocations: 320.9 kB / 0.6612 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.3712, allocations: 1.375 kB / 0.6612 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/0.3712, allocations: 13.12 kB / 0.6612 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.902e-05/0.3712, allocations: 19.22 kB / 0.6612 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3713, allocations: 1.375 kB / 0.6612 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.144e-05/0.3713, allocations: 47.94 kB / 0.6613 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3713, allocations: 5.5 kB / 0.6613 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3713, allocations: 0 / 0.6613 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3714, allocations: 2.125 kB / 0.6613 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.3714, allocations: 3.453 kB / 0.6613 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3714, allocations: 1.375 kB / 0.6613 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.3715, allocations: 2.359 kB / 0.6613 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3715, allocations: 0.8125 kB / 0.6613 GB, free: 7.852 MB / 0.4981 GB 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.011e-05/0.3715, allocations: 113.9 kB / 0.6614 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.3715, allocations: 7.891 kB / 0.6614 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.985e-05/0.3716, allocations: 50.23 kB / 0.6614 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3716, allocations: 0.7969 kB / 0.6614 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3716, allocations: 1.375 kB / 0.6614 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3716, allocations: 0 / 0.6614 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.411e-05/0.3717, allocations: 154.8 kB / 0.6616 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3717, allocations: 3.938 kB / 0.6616 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.3717, allocations: 8.859 kB / 0.6616 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3717, allocations: 3.984 kB / 0.6616 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.3717, allocations: 1.891 kB / 0.6616 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3717, allocations: 0 / 0.6616 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3718, allocations: 1.984 kB / 0.6616 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.607e-05/0.3718, allocations: 70.28 kB / 0.6617 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.3718, allocations: 85.66 kB / 0.6618 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.3719, allocations: 0 / 0.6618 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.3719, allocations: 6.281 kB / 0.6618 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.3719, allocations: 2.703 kB / 0.6618 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.3719, allocations: 0 / 0.6618 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.102e-05/0.3719, allocations: 85.83 kB / 0.6618 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.3719, allocations: 0 / 0.6618 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002006/0.3721, allocations: 5.531 kB / 0.6618 GB, free: 7.207 MB / 0.4981 GB 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 (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.0002042/0.3723, allocations: 0.6058 MB / 0.6624 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.3724, allocations: 10.42 kB / 0.6625 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3724, allocations: 1.5 kB / 0.6625 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.347e-06/0.3724, allocations: 11.67 kB / 0.6625 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.3726, allocations: 2.969 kB / 0.6625 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.3728, allocations: 114.6 kB / 0.6626 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.002e-05/0.3729, allocations: 0.6728 MB / 0.6632 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.611e-05/0.3729, allocations: 1.344 kB / 0.6632 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.373, allocations: 8.094 kB / 0.6632 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.373, allocations: 4.125 kB / 0.6632 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.3934, allocations: 0.9113 MB / 0.6641 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/8.076, allocations: 9.297 kB / 0.6641 GB, free: 5.398 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)