Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001298/0.001298, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 196.2 kB / 16.64 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 67.92 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3716, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.235/1.607, allocations: 295.1 MB / 1.072 GB, free: 15.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.03501/1.642, allocations: 16.86 MB / 1.088 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008326/1.65, allocations: 75.62 kB / 1.088 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007152/1.657, allocations: 1.892 MB / 1.09 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02135/1.679, allocations: 6.36 MB / 1.096 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009993/1.689, allocations: 2.97 MB / 1.099 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01377/1.703, allocations: 7.655 MB / 1.107 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005753/1.708, allocations: 2.557 MB / 1.109 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007971/1.716, allocations: 2.776 MB / 1.112 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007433/1.724, allocations: 2.694 MB / 1.115 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001773/1.726, allocations: 328 kB / 1.115 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01911/1.745, allocations: 6.169 MB / 1.121 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003065/1.748, allocations: 1.336 MB / 1.122 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005285/1.753, allocations: 1.879 MB / 1.124 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.03402/1.787, allocations: 6.892 MB / 1.131 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/1.787, allocations: 11.98 kB / 1.131 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.565e-06/1.787, allocations: 0 / 1.131 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002116/1.788, allocations: 0 / 1.131 GB, free: 3.363 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01697/1.805, allocations: 4.104 MB / 1.135 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.791e-05/1.805, allocations: 16.03 kB / 1.135 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008742/1.806, allocations: 382.9 kB / 1.135 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007341/1.813, allocations: 0.9094 MB / 1.136 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005346/1.818, allocations: 1.885 MB / 1.138 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/1.818, allocations: 197 kB / 1.138 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005089/1.819, allocations: 263.9 kB / 1.138 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005974/1.825, allocations: 3.331 MB / 1.142 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.038e-05/1.825, allocations: 7.938 kB / 1.142 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/1.825, allocations: 108 kB / 1.142 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/1.826, allocations: 137 kB / 1.142 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005915/1.831, allocations: 3.486 MB / 1.145 GB, free: 4.301 MB / 0.8575 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.01755/1.849, allocations: 12.13 MB / 1.157 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005013/1.854, allocations: 3.519 MB / 1.161 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003141/1.857, allocations: 1.83 MB / 1.162 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00175/1.859, allocations: 1.485 MB / 1.164 GB, free: 32 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.845e-05/1.859, allocations: 69.11 kB / 1.164 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=278): time 4.729e-06/1.859, allocations: 4 kB / 1.164 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of matching and sorting (n=278): time 0.007568/1.867, allocations: 3.881 MB / 1.168 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/1.867, allocations: 81.59 kB / 1.168 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/1.869, allocations: 1.355 MB / 1.169 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002781/1.869, allocations: 77.7 kB / 1.169 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007448/1.87, allocations: 0.9763 MB / 1.17 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.871, allocations: 0.9471 MB / 1.171 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007202/1.872, allocations: 408.9 kB / 1.171 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.872, allocations: 301.1 kB / 1.172 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/1.874, allocations: 1.094 MB / 1.173 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/1.876, allocations: 1.381 MB / 1.174 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003926/1.88, allocations: 2.646 MB / 1.177 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/1.88, allocations: 4 kB / 1.177 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006088/1.886, allocations: 2.959 MB / 1.18 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/1.886, allocations: 12.09 kB / 1.18 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.886, allocations: 4 kB / 1.18 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/1.886, allocations: 15.94 kB / 1.18 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/1.889, allocations: 0.511 MB / 1.18 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.984e-05/1.889, allocations: 15.94 kB / 1.18 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/1.891, allocations: 195.3 kB / 1.18 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/1.891, allocations: 80 kB / 1.18 GB, free: 14.7 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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 0.001511/1.893, allocations: 0.6455 MB / 1.181 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006747/1.894, allocations: 229.3 kB / 1.181 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00516/1.899, allocations: 3.104 MB / 1.184 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/1.899, allocations: 28 kB / 1.184 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.899, allocations: 0 / 1.184 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003899/1.903, allocations: 2.657 MB / 1.187 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/1.914, allocations: 6.189 MB / 1.193 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/1.914, allocations: 4 kB / 1.193 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/1.916, allocations: 0.5462 MB / 1.193 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-05/1.916, allocations: 8 kB / 1.193 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/1.917, allocations: 63.97 kB / 1.194 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/1.917, allocations: 12 kB / 1.194 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.917, allocations: 4 kB / 1.194 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007197/1.924, allocations: 4.807 MB / 1.198 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/1.926, allocations: 0.6071 MB / 1.199 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/1.926, allocations: 51.94 kB / 1.199 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.928, allocations: 63.02 kB / 1.199 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/1.928, allocations: 166 kB / 1.199 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.928, allocations: 83.97 kB / 1.199 GB, free: 11.09 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001297/1.929, allocations: 0.9337 MB / 1.2 GB, free: 10.16 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.21e-07/1.929, allocations: 0 / 1.2 GB, free: 10.16 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002562/1.932, allocations: 0.9784 MB / 1.201 GB, free: 9.18 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (278): * Single equations (assignments): 278 * 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.007939/1.94, allocations: 5.613 MB / 1.207 GB, free: 3.48 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004832/1.945, allocations: 2.783 MB / 1.209 GB, free: 0.668 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.945, allocations: 7.938 kB / 1.209 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002259/1.947, allocations: 1.511 MB / 1.211 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006913/1.954, allocations: 1.343 MB / 1.212 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03372/1.988, allocations: 19.29 MB / 1.231 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.989, allocations: 1.89 MB / 1.233 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003349/1.993, allocations: 0.8357 MB / 1.234 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/1.995, allocations: 1.081 MB / 1.235 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of SimCode: time 1.323e-06/1.995, allocations: 4 kB / 1.235 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.572/2.567, allocations: 67.64 MB / 1.301 GB, free: 390.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/15.33, allocations: 5.609 kB / 1.301 GB, free: 390.7 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)