Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_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.004484/0.004484, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.00115/0.00115, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 295.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8902/0.8902, allocations: 169.2 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 99.84 kB / 0.681 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3809, allocations: 86.97 MB / 0.7659 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001516/0.3825, allocations: 0.5189 MB / 0.7664 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.3826, allocations: 15.91 kB / 0.7664 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.3827, allocations: 4 kB / 0.7664 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.3827, allocations: 0 / 0.7664 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.3828, allocations: 0 / 0.7664 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.286e-06/0.3828, allocations: 0 / 0.7664 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.837e-05/0.3829, allocations: 11.94 kB / 0.7664 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.3829, allocations: 3.984 kB / 0.7664 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.383, allocations: 11.94 kB / 0.7664 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.399e-05/0.383, allocations: 3.984 kB / 0.7664 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.383, allocations: 0 / 0.7664 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.989e-06/0.383, allocations: 0 / 0.7664 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.3831, allocations: 0 / 0.7664 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.3831, allocations: 7.938 kB / 0.7665 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.223e-05/0.3831, allocations: 4 kB / 0.7665 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.3831, allocations: 0 / 0.7665 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3831, allocations: 0 / 0.7665 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.3831, allocations: 4 kB / 0.7665 GB, free: 3.344 MB / 0.5294 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.0002458/0.3834, allocations: 315.3 kB / 0.7668 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3834, allocations: 8.031 kB / 0.7668 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.3835, allocations: 34.73 kB / 0.7668 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.03e-05/0.3835, allocations: 8.875 kB / 0.7668 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.72e-05/0.3836, allocations: 164.4 kB / 0.767 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3836, allocations: 4.312 kB / 0.767 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.3836, allocations: 384 / 0.767 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.808e-05/0.3837, allocations: 43.98 kB / 0.767 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3837, allocations: 7.922 kB / 0.767 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.3837, allocations: 0 / 0.767 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3837, allocations: 0 / 0.767 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.3838, allocations: 4 kB / 0.767 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.3839, allocations: 162.5 kB / 0.7672 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.286e-05/0.384, allocations: 41.25 kB / 0.7672 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.384, allocations: 13.7 kB / 0.7672 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.384, allocations: 0 / 0.7672 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.384, allocations: 38.56 kB / 0.7673 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.3841, allocations: 0 / 0.7673 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001272/0.3842, allocations: 45.83 kB / 0.7673 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3842, allocations: 85.09 kB / 0.7674 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.464e-05/0.3843, allocations: 93.86 kB / 0.7675 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.3843, allocations: 29.64 kB / 0.7675 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.142e-05/0.3843, allocations: 80.14 kB / 0.7676 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.3844, allocations: 7.953 kB / 0.7676 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.3844, allocations: 13.72 kB / 0.7676 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.3845, allocations: 311 kB / 0.7679 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.3845, allocations: 4 kB / 0.7679 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.3845, allocations: 21.7 kB / 0.7679 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.3846, allocations: 17.66 kB / 0.7679 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3846, allocations: 0 / 0.7679 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.799e-05/0.3846, allocations: 41.7 kB / 0.768 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3846, allocations: 12.06 kB / 0.768 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3847, allocations: 0 / 0.768 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3847, allocations: 3.984 kB / 0.768 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.3847, allocations: 4 kB / 0.768 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3847, allocations: 3.938 kB / 0.768 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.3848, allocations: 4 kB / 0.768 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3848, allocations: 0 / 0.768 GB, free: 1.484 MB / 0.5294 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 5.893e-05/0.3848, allocations: 105.8 kB / 0.7681 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.3849, allocations: 7.938 kB / 0.7681 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.903e-05/0.385, allocations: 56.27 kB / 0.7682 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.385, allocations: 0 / 0.7682 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.385, allocations: 0 / 0.7682 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.385, allocations: 0 / 0.7682 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.823e-05/0.3851, allocations: 153.7 kB / 0.7683 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3851, allocations: 7.938 kB / 0.7683 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.3851, allocations: 4 kB / 0.7683 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3851, allocations: 3.938 kB / 0.7683 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.3851, allocations: 0 / 0.7683 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3851, allocations: 4.062 kB / 0.7683 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3852, allocations: 4 kB / 0.7683 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.081e-05/0.3852, allocations: 73.88 kB / 0.7684 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.3853, allocations: 77.11 kB / 0.7685 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.3853, allocations: 7.938 kB / 0.7685 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.664e-05/0.3853, allocations: 3.984 kB / 0.7685 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.3853, allocations: 4.031 kB / 0.7685 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3853, allocations: 0 / 0.7685 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.86e-05/0.3854, allocations: 83.22 kB / 0.7686 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3854, allocations: 0 / 0.7686 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001807/0.3856, allocations: 0 / 0.7686 GB, free: 0.8008 MB / 0.5294 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.0003079/0.3859, allocations: 0.6056 MB / 0.7692 GB, free: 164 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.802e-05/0.386, allocations: 11.94 kB / 0.7692 GB, free: 152 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.386, allocations: 0 / 0.7692 GB, free: 152 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-06/0.386, allocations: 4 kB / 0.7692 GB, free: 148 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.3861, allocations: 10.73 kB / 0.7692 GB, free: 140 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.3864, allocations: 119.8 kB / 0.7693 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.3866, allocations: 0.6767 MB / 0.77 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.3866, allocations: 4 kB / 0.77 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.3867, allocations: 7.438 kB / 0.77 GB, free: 15.26 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.3867, allocations: 0 / 0.77 GB, free: 15.26 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.4024, allocations: 0.9377 MB / 0.7709 GB, free: 14.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.503, allocations: 9.828 kB / 0.7709 GB, free: 14.41 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)