Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_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.004783/0.004783, allocations: 99.81 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.001192/0.001192, allocations: 195.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.189/1.189, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001965/0.001965, allocations: 292 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.8757/0.8757, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 87.86 kB / 0.6809 GB, free: 7.516 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.37, allocations: 86.99 MB / 0.7659 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001555/0.3716, allocations: 0.5189 MB / 0.7664 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001671/0.3717, allocations: 39.81 kB / 0.7664 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.3718, allocations: 0 / 0.7664 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.3718, allocations: 0 / 0.7664 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.372, allocations: 11.94 kB / 0.7664 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.824e-05/0.372, allocations: 0 / 0.7664 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.443e-05/0.3721, allocations: 19.91 kB / 0.7665 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.3722, allocations: 0 / 0.7665 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.3722, allocations: 11.94 kB / 0.7665 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.3723, allocations: 7.984 kB / 0.7665 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3723, allocations: 4 kB / 0.7665 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.393e-06/0.3723, allocations: 0 / 0.7665 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.3724, allocations: 11.88 kB / 0.7665 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.3724, allocations: 0 / 0.7665 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.367e-05/0.3725, allocations: 19.7 kB / 0.7665 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3725, allocations: 4 kB / 0.7665 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3725, allocations: 0 / 0.7665 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3725, allocations: 0 / 0.7665 GB, free: 3.266 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004162/0.3729, allocations: 331 kB / 0.7668 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.373, allocations: 8.031 kB / 0.7668 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.373, allocations: 42.75 kB / 0.7669 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.373, allocations: 4.891 kB / 0.7669 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3732, allocations: 172.4 kB / 0.7671 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.3732, allocations: 384 / 0.7671 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3732, allocations: 4.375 kB / 0.7671 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.635e-05/0.3733, allocations: 30.2 kB / 0.7671 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3733, allocations: 7.938 kB / 0.7671 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.3734, allocations: 0 / 0.7671 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3734, allocations: 0 / 0.7671 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.82e-05/0.3734, allocations: 7.984 kB / 0.7671 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.3735, allocations: 153.7 kB / 0.7673 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.472e-05/0.3736, allocations: 22.55 kB / 0.7673 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.3736, allocations: 8.922 kB / 0.7673 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3736, allocations: 0 / 0.7673 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.3736, allocations: 38.5 kB / 0.7673 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.3736, allocations: 0 / 0.7673 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.3738, allocations: 57.56 kB / 0.7674 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.3738, allocations: 51.41 kB / 0.7674 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.3739, allocations: 109.8 kB / 0.7675 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3739, allocations: 25.7 kB / 0.7676 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.374, allocations: 84.14 kB / 0.7676 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.374, allocations: 0 / 0.7676 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.374, allocations: 13.72 kB / 0.7676 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3742, allocations: 323 kB / 0.768 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.3742, allocations: 4 kB / 0.768 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.3742, allocations: 13.72 kB / 0.768 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/0.3743, allocations: 25.64 kB / 0.768 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3743, allocations: 0 / 0.768 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.59e-05/0.3743, allocations: 53.67 kB / 0.768 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3744, allocations: 11.97 kB / 0.7681 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3744, allocations: 3.984 kB / 0.7681 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3744, allocations: 4 kB / 0.7681 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.3745, allocations: 0 / 0.7681 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3745, allocations: 4 kB / 0.7681 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.3745, allocations: 7.922 kB / 0.7681 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3745, allocations: 0 / 0.7681 GB, free: 1.434 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 6.401e-05/0.3746, allocations: 109.8 kB / 0.7682 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.3746, allocations: 3.938 kB / 0.7682 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.3747, allocations: 57.16 kB / 0.7682 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3747, allocations: 0 / 0.7682 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3747, allocations: 0 / 0.7682 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3747, allocations: 3.984 kB / 0.7682 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.738e-05/0.3748, allocations: 153.9 kB / 0.7684 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3748, allocations: 8 kB / 0.7684 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.3749, allocations: 0 / 0.7684 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3749, allocations: 7.938 kB / 0.7684 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3749, allocations: 0 / 0.7684 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3749, allocations: 3.938 kB / 0.7684 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3749, allocations: 4.031 kB / 0.7684 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.3751, allocations: 81.06 kB / 0.7685 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.3751, allocations: 86.81 kB / 0.7686 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.3751, allocations: 3.938 kB / 0.7686 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.3752, allocations: 0 / 0.7686 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.3752, allocations: 7.922 kB / 0.7686 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3752, allocations: 4 kB / 0.7686 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.543e-05/0.3752, allocations: 91.38 kB / 0.7687 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3752, allocations: 0 / 0.7687 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001853/0.3754, allocations: 0 / 0.7687 GB, free: 0.7188 MB / 0.5294 GB 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.0003229/0.3758, allocations: 0.6164 MB / 0.7693 GB, free: 76 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.675e-05/0.3759, allocations: 20.02 kB / 0.7693 GB, free: 56 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3759, allocations: 0 / 0.7693 GB, free: 56 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.297e-05/0.3759, allocations: 4 kB / 0.7693 GB, free: 52 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.376, allocations: 11.94 kB / 0.7693 GB, free: 40 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008771/0.3769, allocations: 1.151 MB / 0.7704 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.3771, allocations: 0.6768 MB / 0.7711 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.99e-05/0.3772, allocations: 4 kB / 0.7711 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.3772, allocations: 11.44 kB / 0.7711 GB, free: 14.08 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.3772, allocations: 0 / 0.7711 GB, free: 14.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.3944, allocations: 1.202 MB / 0.7723 GB, free: 12.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.132/7.527, allocations: 15.8 kB / 0.7723 GB, free: 12.96 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)