Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 285.6 MB / 293.1 MB, free: 10.15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 176.8 kB / 361.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008979/0.0008981, allocations: 97.77 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.894e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7654/0.7655, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.9627, allocations: 136.4 MB / 1.098 GB, free: 3.305 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.963, allocations: 74.11 kB / 1.098 GB, free: 3.234 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001267/0.9643, allocations: 484.9 kB / 1.098 GB, free: 2.766 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.165e-06/0.9644, allocations: 0.5938 kB / 1.098 GB, free: 2.766 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.9644, allocations: 0 / 1.098 GB, free: 2.766 MB / 0.698 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.0003577/0.9647, allocations: 322.8 kB / 1.099 GB, free: 2.414 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.9648, allocations: 8.031 kB / 1.099 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.9649, allocations: 5.875 kB / 1.099 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.9651, allocations: 183.6 kB / 1.099 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.9652, allocations: 0 / 1.099 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.9652, allocations: 0.625 kB / 1.099 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.052e-05/0.9652, allocations: 10.94 kB / 1.099 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.89e-05/0.9653, allocations: 26.2 kB / 1.099 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9653, allocations: 0.5625 kB / 1.099 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.9654, allocations: 0.5 kB / 1.099 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.9654, allocations: 8.375 kB / 1.099 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.9656, allocations: 130.8 kB / 1.099 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.203e-05/0.9656, allocations: 23.28 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.9657, allocations: 17.41 kB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.9657, allocations: 0.9688 kB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.9657, allocations: 30.56 kB / 1.099 GB, free: 1.887 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.9657, allocations: 0.7188 kB / 1.099 GB, free: 1.887 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001517/0.9659, allocations: 38.38 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.966, allocations: 52.28 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.9661, allocations: 97 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.9661, allocations: 26.3 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.9661, allocations: 94.5 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.9662, allocations: 3.906 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-06/0.9662, allocations: 0 / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.9663, allocations: 311.6 kB / 1.1 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.9663, allocations: 8.5 kB / 1.1 GB, free: 1.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.9664, allocations: 18.3 kB / 1.1 GB, free: 1.207 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.278e-05/0.9664, allocations: 9.406 kB / 1.1 GB, free: 1.199 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.9664, allocations: 0 / 1.1 GB, free: 1.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.26e-05/0.9665, allocations: 42.5 kB / 1.1 GB, free: 1.152 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.9665, allocations: 8.547 kB / 1.1 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.9665, allocations: 0 / 1.1 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.9666, allocations: 4.672 kB / 1.1 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.9666, allocations: 4 kB / 1.1 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.9667, allocations: 3.469 kB / 1.1 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.768e-05/0.9667, allocations: 4.531 kB / 1.1 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.9667, allocations: 3.984 kB / 1.1 GB, free: 1.133 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/0.9668, allocations: 110.6 kB / 1.1 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.94e-05/0.9669, allocations: 37.69 kB / 1.1 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.9669, allocations: 11.95 kB / 1.1 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.967, allocations: 42.56 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.967, allocations: 2.938 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.967, allocations: 1.219 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.967, allocations: 0 / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.9671, allocations: 146.1 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.9672, allocations: 0.9375 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.9672, allocations: 7.938 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.9672, allocations: 4.766 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.9672, allocations: 0 / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.9673, allocations: 3.984 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9673, allocations: 0.5 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.9674, allocations: 72.06 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.9675, allocations: 77.11 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.9675, allocations: 7.984 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.365e-05/0.9675, allocations: 3.984 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.9675, allocations: 1.062 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.9675, allocations: 0 / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.9676, allocations: 87.59 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of sort global known variables: time 3e-07/0.9676, allocations: 4 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001842/0.9678, allocations: 8 kB / 1.1 GB, free: 444 kB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004401/0.9683, allocations: 0.6122 MB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.998e-05/0.9683, allocations: 19.98 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.9684, allocations: 6.906 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.306e-05/0.9684, allocations: 7.938 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.9685, allocations: 8.219 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.9689, allocations: 110 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.9692, allocations: 0.6807 MB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.803e-05/0.9692, allocations: 4 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.9693, allocations: 7.438 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9693, allocations: 0 / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.9881, allocations: 0.6706 MB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/0.9884, allocations: 144.9 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.586, allocations: 1.625 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)