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.007126/0.007126, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001316/0.001316, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002498/0.002498, allocations: 270.9 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5074 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 97.36 kB / 0.6943 GB, free: 3.602 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.553, allocations: 89.15 MB / 0.7813 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001589/0.5546, allocations: 0.5126 MB / 0.7818 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001195/0.5548, allocations: 16.17 kB / 0.7818 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.5548, allocations: 5.125 kB / 0.7818 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.5548, allocations: 0 / 0.7818 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.555, allocations: 14.69 kB / 0.7819 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.417e-06/0.555, allocations: 0 / 0.7819 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.5551, allocations: 4.297 kB / 0.7819 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.5551, allocations: 2.641 kB / 0.7819 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.5552, allocations: 5.375 kB / 0.7819 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.777e-05/0.5552, allocations: 1.922 kB / 0.7819 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.5552, allocations: 0 / 0.7819 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.191e-06/0.5552, allocations: 0 / 0.7819 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.5552, allocations: 1.344 kB / 0.7819 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.5553, allocations: 4.562 kB / 0.7819 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 4.618e-05/0.5553, allocations: 9.875 kB / 0.7819 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5553, allocations: 0 / 0.7819 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5553, allocations: 1.281 kB / 0.7819 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5553, allocations: 0 / 0.7819 GB, free: 13.36 MB / 0.5606 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.0003293/0.5557, allocations: 321.6 kB / 0.7822 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5557, allocations: 9.594 kB / 0.7822 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.5558, allocations: 36.92 kB / 0.7822 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.03e-05/0.5558, allocations: 0.9375 kB / 0.7822 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.5559, allocations: 166.6 kB / 0.7824 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.556, allocations: 0.9844 kB / 0.7824 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.556, allocations: 1.781 kB / 0.7824 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.5561, allocations: 49.86 kB / 0.7824 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5561, allocations: 3.938 kB / 0.7824 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.5561, allocations: 0 / 0.7824 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.5561, allocations: 1.188 kB / 0.7825 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.414e-05/0.5561, allocations: 7.016 kB / 0.7825 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.5563, allocations: 159 kB / 0.7826 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.761e-05/0.5564, allocations: 36.59 kB / 0.7826 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.5564, allocations: 19.83 kB / 0.7827 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.5564, allocations: 2.078 kB / 0.7827 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.5565, allocations: 36.06 kB / 0.7827 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.5565, allocations: 0 / 0.7827 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001551/0.5566, allocations: 53.77 kB / 0.7828 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.5567, allocations: 79.41 kB / 0.7828 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.36e-05/0.5568, allocations: 90.52 kB / 0.7829 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.5568, allocations: 27.14 kB / 0.7829 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.5568, allocations: 80.52 kB / 0.783 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.5569, allocations: 13.77 kB / 0.783 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.5569, allocations: 17.33 kB / 0.783 GB, free: 12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.557, allocations: 311.5 kB / 0.7833 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/0.5571, allocations: 1.844 kB / 0.7833 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.5571, allocations: 13.73 kB / 0.7834 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.5571, allocations: 28.45 kB / 0.7834 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5571, allocations: 0 / 0.7834 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.177e-05/0.5572, allocations: 39.75 kB / 0.7834 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5572, allocations: 10.27 kB / 0.7834 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5573, allocations: 1.5 kB / 0.7834 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.5573, allocations: 0 / 0.7834 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.5573, allocations: 7.594 kB / 0.7834 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.5574, allocations: 0.75 kB / 0.7834 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.5574, allocations: 2.203 kB / 0.7834 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.5574, allocations: 1.188 kB / 0.7834 GB, free: 11.61 MB / 0.5606 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 7.378e-05/0.5575, allocations: 115.8 kB / 0.7836 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.5575, allocations: 5.531 kB / 0.7836 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.5576, allocations: 49.64 kB / 0.7836 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5576, allocations: 1.25 kB / 0.7836 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5576, allocations: 0.7031 kB / 0.7836 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5576, allocations: 1.094 kB / 0.7836 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.5578, allocations: 148 kB / 0.7838 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5578, allocations: 4.062 kB / 0.7838 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.5578, allocations: 3.922 kB / 0.7838 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5578, allocations: 7.234 kB / 0.7838 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.5578, allocations: 0 / 0.7838 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5578, allocations: 3.938 kB / 0.7838 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5578, allocations: 1.656 kB / 0.7838 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.377e-05/0.5579, allocations: 81.58 kB / 0.7838 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.558, allocations: 79.48 kB / 0.7839 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.558, allocations: 7.109 kB / 0.7839 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.427e-05/0.558, allocations: 0 / 0.7839 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.5581, allocations: 2.75 kB / 0.7839 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.5581, allocations: 0.6562 kB / 0.7839 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.654e-05/0.5581, allocations: 79.22 kB / 0.784 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.354e-06/0.5581, allocations: 0 / 0.784 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001782/0.5583, allocations: 3.938 kB / 0.784 GB, free: 10.98 MB / 0.5606 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.0004135/0.5587, allocations: 0.6085 MB / 0.7846 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.992e-05/0.5588, allocations: 9.828 kB / 0.7846 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5588, allocations: 160 / 0.7846 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/0.5588, allocations: 12.12 kB / 0.7846 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.559, allocations: 2.625 kB / 0.7846 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.5593, allocations: 111.1 kB / 0.7847 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.5596, allocations: 0.6736 MB / 0.7854 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.823e-05/0.5596, allocations: 0 / 0.7854 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.5596, allocations: 10.95 kB / 0.7854 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.5597, allocations: 4.125 kB / 0.7854 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.5823, allocations: 0.9425 MB / 0.7863 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/8.219, allocations: 8.219 kB / 0.7863 GB, free: 9.145 MB / 0.5606 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)