Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009204/0.0009205, allocations: 179.6 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 0.5776 GB, free: 20.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007441/0.0007441, allocations: 91.67 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002758, allocations: 19.45 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1484, allocations: 106.3 MB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.5306/0.6791, allocations: 217 MB / 1.112 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01615/0.6952, allocations: 14.74 MB / 1.127 GB, free: 3.234 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/0.698, allocations: 54.59 kB / 1.127 GB, free: 3.234 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.7005, allocations: 0.6614 MB / 1.127 GB, free: 3.223 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007326/0.7079, allocations: 2.243 MB / 1.13 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003924/0.7118, allocations: 1.266 MB / 1.131 GB, free: 3.062 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005304/0.7171, allocations: 3.963 MB / 1.135 GB, free: 3.055 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.7191, allocations: 0.9345 MB / 1.136 GB, free: 2.926 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003883/0.723, allocations: 1.799 MB / 1.137 GB, free: 2.902 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.7245, allocations: 1.077 MB / 1.138 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.7248, allocations: 47.03 kB / 1.138 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/0.7289, allocations: 1.904 MB / 1.14 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.7295, allocations: 398.2 kB / 1.141 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006619/0.7301, allocations: 330.4 kB / 1.141 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.7333, allocations: 2.023 MB / 1.143 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7333, allocations: 0 / 1.143 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7333, allocations: 6.547 kB / 1.143 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.74e-05/0.7334, allocations: 0 / 1.143 GB, free: 18.47 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003634/0.737, allocations: 1.731 MB / 1.145 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.7371, allocations: 8.969 kB / 1.145 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.7373, allocations: 148.8 kB / 1.145 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.7399, allocations: 0.531 MB / 1.145 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.742, allocations: 1.067 MB / 1.146 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008553/0.7428, allocations: 280.7 kB / 1.147 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.743, allocations: 100.2 kB / 1.147 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.7451, allocations: 1.328 MB / 1.148 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.7452, allocations: 3.094 kB / 1.148 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-05/0.7453, allocations: 42.94 kB / 1.148 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/0.7453, allocations: 45.53 kB / 1.148 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.7476, allocations: 1.108 MB / 1.149 GB, free: 15.68 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007605/0.7552, allocations: 6.726 MB / 1.156 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.7568, allocations: 0.5952 MB / 1.156 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/0.7575, allocations: 294.7 kB / 1.157 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000381/0.7578, allocations: 282.2 kB / 1.157 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.7579, allocations: 36.22 kB / 1.157 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.7579, allocations: 0 / 1.157 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.00231/0.7602, allocations: 0.9043 MB / 1.158 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.7603, allocations: 57.94 kB / 1.158 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.7619, allocations: 1.347 MB / 1.159 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/0.7619, allocations: 35.39 kB / 1.159 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004396/0.7624, allocations: 0.6917 MB / 1.16 GB, free: 9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.744e-05/0.7625, allocations: 112.2 kB / 1.16 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.7625, allocations: 12.78 kB / 1.16 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7627, allocations: 337.8 kB / 1.16 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008353/0.7635, allocations: 329.1 kB / 1.161 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.7647, allocations: 0.662 MB / 1.161 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009473/0.7657, allocations: 397.6 kB / 1.162 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.7657, allocations: 2.969 kB / 1.162 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002226/0.7679, allocations: 1.051 MB / 1.163 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.7682, allocations: 371.9 kB / 1.163 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.7682, allocations: 11.59 kB / 1.163 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.7682, allocations: 14.41 kB / 1.163 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.7693, allocations: 208.8 kB / 1.163 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.7693, allocations: 21.19 kB / 1.163 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.7709, allocations: 234.4 kB / 1.164 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.771, allocations: 42.05 kB / 1.164 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.771, allocations: 8.828 kB / 1.164 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0019/0.7729, allocations: 0.905 MB / 1.164 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.7729, allocations: 8.656 kB / 1.164 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.773, allocations: 14.5 kB / 1.164 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/0.7737, allocations: 204.7 kB / 1.165 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.7738, allocations: 26.92 kB / 1.165 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.775, allocations: 203.8 kB / 1.165 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.7751, allocations: 39.95 kB / 1.165 GB, free: 6.773 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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 0.0005938/0.7757, allocations: 408.9 kB / 1.165 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.7759, allocations: 140.9 kB / 1.165 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.7775, allocations: 0.6869 MB / 1.166 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.7775, allocations: 9.812 kB / 1.166 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7775, allocations: 0 / 1.166 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.7775, allocations: 7.984 kB / 1.166 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.7809, allocations: 1.934 MB / 1.168 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.7809, allocations: 3.375 kB / 1.168 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.7814, allocations: 106.2 kB / 1.168 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.7814, allocations: 6.594 kB / 1.168 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.7815, allocations: 11.84 kB / 1.168 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/0.7815, allocations: 14.03 kB / 1.168 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7815, allocations: 5.969 kB / 1.168 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.783, allocations: 0.8468 MB / 1.169 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.7835, allocations: 286.5 kB / 1.169 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.7837, allocations: 15.59 kB / 1.169 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009933/0.7847, allocations: 104 kB / 1.169 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.7848, allocations: 38.98 kB / 1.169 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.7848, allocations: 22.67 kB / 1.169 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001217/0.7861, allocations: 0.924 MB / 1.17 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7861, allocations: 0 / 1.17 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001621/0.7877, allocations: 0.5721 MB / 1.171 GB, free: 4.32 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002436/0.7901, allocations: 1.54 MB / 1.172 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002808/0.793, allocations: 1.152 MB / 1.174 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.793, allocations: 0 / 1.174 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006846/0.7937, allocations: 278.8 kB / 1.174 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/0.7969, allocations: 0.6308 MB / 1.174 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.8123, allocations: 7.81 MB / 1.182 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/0.8131, allocations: 1.183 MB / 1.183 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001635/0.8147, allocations: 354.7 kB / 1.184 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/0.8153, allocations: 487.8 kB / 1.184 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.8153, allocations: 0 / 1.184 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05873/0.874, allocations: 33.13 MB / 1.216 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.8742, allocations: 224.9 kB / 1.217 GB, free: 9.648 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/3.831, allocations: 0 / 1.217 GB, free: 9.648 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)