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.0008245/0.0008246, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004696/0.004696, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.143/1.143, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.467/1.467, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004439/0.0004439, allocations: 18.5 kB / 0.6744 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1827, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5951/0.7778, allocations: 288.9 MB / 1.07 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.7988, allocations: 16.91 MB / 1.087 GB, free: 9.953 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/0.8014, allocations: 59.62 kB / 1.087 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.8051, allocations: 1.656 MB / 1.088 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01295/0.818, allocations: 6 MB / 1.094 GB, free: 2.207 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006203/0.8243, allocations: 2.7 MB / 1.097 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.8348, allocations: 11.16 MB / 1.108 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/0.8375, allocations: 2.087 MB / 1.11 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.8412, allocations: 2.346 MB / 1.112 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004281/0.8455, allocations: 2.721 MB / 1.115 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003305/0.8458, allocations: 156 kB / 1.115 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.8569, allocations: 7.157 MB / 1.122 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.858, allocations: 1.161 MB / 1.123 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.8599, allocations: 1.689 MB / 1.125 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009092/0.869, allocations: 7.088 MB / 1.132 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.8691, allocations: 0 / 1.132 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8691, allocations: 0 / 1.132 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.074e-05/0.8691, allocations: 0 / 1.132 GB, free: 11.81 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.007766/0.8769, allocations: 3.543 MB / 1.135 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.8769, allocations: 8.031 kB / 1.135 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004166/0.8774, allocations: 371 kB / 1.135 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005384/0.8827, allocations: 0.9172 MB / 1.136 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.8854, allocations: 1.818 MB / 1.138 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.8855, allocations: 193.1 kB / 1.138 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/0.8859, allocations: 263.9 kB / 1.138 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004635/0.8905, allocations: 3.334 MB / 1.142 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/0.8906, allocations: 3.938 kB / 1.142 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.8908, allocations: 108 kB / 1.142 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.8909, allocations: 141 kB / 1.142 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004908/0.8958, allocations: 3.494 MB / 1.145 GB, free: 13.38 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.01257/0.9084, allocations: 12.08 MB / 1.157 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003876/0.9123, allocations: 3.511 MB / 1.161 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.9147, allocations: 1.822 MB / 1.162 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/0.916, allocations: 1.497 MB / 1.164 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.9161, allocations: 64.75 kB / 1.164 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=278): time 4.038e-06/0.9161, allocations: 0 / 1.164 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of matching and sorting (n=278): time 0.005676/0.9218, allocations: 3.877 MB / 1.168 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.9218, allocations: 81.59 kB / 1.168 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.9234, allocations: 1.366 MB / 1.169 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.9235, allocations: 77.7 kB / 1.169 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005877/0.9241, allocations: 0.9686 MB / 1.17 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006971/0.9248, allocations: 0.9393 MB / 1.171 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.9251, allocations: 202.6 kB / 1.171 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.9252, allocations: 309.1 kB / 1.172 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.9267, allocations: 1.086 MB / 1.173 GB, free: 72 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.9284, allocations: 1.381 MB / 1.174 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003565/0.932, allocations: 2.65 MB / 1.177 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.932, allocations: 0 / 1.177 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004197/0.9362, allocations: 2.97 MB / 1.179 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.9362, allocations: 8 kB / 1.179 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.9363, allocations: 8.547 kB / 1.179 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.9363, allocations: 19.94 kB / 1.179 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.9383, allocations: 0.5148 MB / 1.18 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.9383, allocations: 16 kB / 1.18 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.9407, allocations: 340.5 kB / 1.18 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.9408, allocations: 80 kB / 1.18 GB, free: 7.875 MB / 0.8887 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.001039/0.9419, allocations: 0.6417 MB / 1.181 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.9422, allocations: 229.3 kB / 1.181 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004605/0.9468, allocations: 3.108 MB / 1.184 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.9468, allocations: 24 kB / 1.184 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.9468, allocations: 0 / 1.184 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003408/0.9503, allocations: 2.645 MB / 1.187 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008312/0.9586, allocations: 6.193 MB / 1.193 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.9586, allocations: 0 / 1.193 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/0.9609, allocations: 0.554 MB / 1.193 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/0.9609, allocations: 8 kB / 1.193 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.9611, allocations: 63.97 kB / 1.193 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.9611, allocations: 8 kB / 1.194 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9611, allocations: 0 / 1.194 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005941/0.967, allocations: 4.799 MB / 1.198 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.9681, allocations: 0.6109 MB / 1.199 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.9684, allocations: 52 kB / 1.199 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/0.9702, allocations: 231.5 kB / 1.199 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.9705, allocations: 169.9 kB / 1.199 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.9706, allocations: 75.97 kB / 1.199 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001098/0.9717, allocations: 0.9337 MB / 1.2 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9717, allocations: 0 / 1.2 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001802/0.9735, allocations: 0.9784 MB / 1.201 GB, free: 2.215 MB / 0.9044 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.006612/0.9802, allocations: 5.629 MB / 1.207 GB, free: 12.49 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003628/0.9838, allocations: 2.762 MB / 1.209 GB, free: 9.699 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9838, allocations: 4 kB / 1.209 GB, free: 9.695 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.9856, allocations: 1.509 MB / 1.211 GB, free: 8.184 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005331/0.991, allocations: 1.287 MB / 1.212 GB, free: 6.91 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/1.019, allocations: 22.47 MB / 1.234 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.02, allocations: 1.887 MB / 1.236 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002685/1.023, allocations: 0.8356 MB / 1.237 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/1.025, allocations: 1.081 MB / 1.238 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of SimCode: time 8.71e-07/1.025, allocations: 0 / 1.238 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3852/1.41, allocations: 64.7 MB / 1.301 GB, free: 371.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/1.41, allocations: 213.2 kB / 1.301 GB, free: 370.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.136/4.546, allocations: 0 / 1.301 GB, free: 370.9 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)