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.001153/0.001153, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001124/0.001124, allocations: 194 kB / 16.25 MB, free: 6.617 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.188/1.188, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.52/1.52, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001268/0.001268, allocations: 72.42 kB / 0.6711 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1688, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5689/0.7377, allocations: 291.6 MB / 1.068 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02111/0.7588, allocations: 16.78 MB / 1.084 GB, free: 13.95 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.7617, allocations: 63.97 kB / 1.084 GB, free: 13.93 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00394/0.7656, allocations: 1.706 MB / 1.086 GB, free: 12.57 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.7792, allocations: 5.994 MB / 1.092 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00629/0.7855, allocations: 2.737 MB / 1.094 GB, free: 4.164 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00832/0.7938, allocations: 7.652 MB / 1.102 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002865/0.7967, allocations: 2.499 MB / 1.104 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004162/0.8009, allocations: 2.811 MB / 1.107 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004186/0.8051, allocations: 2.875 MB / 1.11 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004323/0.8055, allocations: 328 kB / 1.11 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.8162, allocations: 6.436 MB / 1.116 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.8175, allocations: 1.34 MB / 1.118 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.8196, allocations: 1.879 MB / 1.12 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.8299, allocations: 7.292 MB / 1.127 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8299, allocations: 4 kB / 1.127 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8299, allocations: 0 / 1.127 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002005/0.8301, allocations: 0 / 1.127 GB, free: 2.945 MB / 0.8262 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.01066/0.8408, allocations: 4.112 MB / 1.131 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.8409, allocations: 12.03 kB / 1.131 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004501/0.8413, allocations: 375 kB / 1.131 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005823/0.8471, allocations: 0.9094 MB / 1.132 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.8499, allocations: 1.822 MB / 1.134 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.85, allocations: 193.1 kB / 1.134 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.8504, allocations: 259.9 kB / 1.134 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004853/0.8552, allocations: 3.338 MB / 1.137 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/0.8553, allocations: 8 kB / 1.138 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.8555, allocations: 108 kB / 1.138 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.8557, allocations: 137 kB / 1.138 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005049/0.8607, allocations: 3.486 MB / 1.141 GB, free: 3.949 MB / 0.8419 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.01273/0.8735, allocations: 12.07 MB / 1.153 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.8776, allocations: 3.518 MB / 1.156 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/0.88, allocations: 1.818 MB / 1.158 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/0.8814, allocations: 1.489 MB / 1.16 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.8814, allocations: 68.73 kB / 1.16 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=278): time 3.757e-06/0.8814, allocations: 0 / 1.16 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=278): time 0.005699/0.8871, allocations: 3.877 MB / 1.163 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.8872, allocations: 81.59 kB / 1.164 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.8887, allocations: 1.362 MB / 1.165 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.8888, allocations: 77.7 kB / 1.165 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005841/0.8894, allocations: 0.9725 MB / 1.166 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006595/0.8901, allocations: 0.9432 MB / 1.167 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005687/0.8907, allocations: 408.9 kB / 1.167 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.8908, allocations: 309.1 kB / 1.167 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.8923, allocations: 1.094 MB / 1.169 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.8941, allocations: 1.377 MB / 1.17 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/0.8977, allocations: 2.646 MB / 1.172 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.8977, allocations: 7.938 kB / 1.172 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00424/0.9019, allocations: 2.962 MB / 1.175 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.902, allocations: 8 kB / 1.175 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.902, allocations: 4.562 kB / 1.175 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.902, allocations: 23.88 kB / 1.175 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.904, allocations: 0.511 MB / 1.176 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.9041, allocations: 16.94 kB / 1.176 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.9062, allocations: 338.4 kB / 1.176 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.9064, allocations: 83.98 kB / 1.176 GB, free: 14.25 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.0009379/0.9073, allocations: 0.6406 MB / 1.177 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.9077, allocations: 233.3 kB / 1.177 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/0.9122, allocations: 3.105 MB / 1.18 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.9122, allocations: 28 kB / 1.18 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.9122, allocations: 3.984 kB / 1.18 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003454/0.9157, allocations: 2.649 MB / 1.183 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00832/0.924, allocations: 6.197 MB / 1.189 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.924, allocations: 4 kB / 1.189 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/0.9264, allocations: 0.5579 MB / 1.189 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.9264, allocations: 8 kB / 1.189 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.9266, allocations: 55.98 kB / 1.189 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.9266, allocations: 12 kB / 1.19 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9266, allocations: 0 / 1.19 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006081/0.9327, allocations: 4.799 MB / 1.194 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.9337, allocations: 0.607 MB / 1.195 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/0.934, allocations: 51.98 kB / 1.195 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.9358, allocations: 223.5 kB / 1.195 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/0.9361, allocations: 173.9 kB / 1.195 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.9363, allocations: 75.97 kB / 1.195 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001076/0.9374, allocations: 0.9337 MB / 1.196 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9374, allocations: 0 / 1.196 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001757/0.9391, allocations: 0.9784 MB / 1.197 GB, free: 8.59 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.006726/0.9459, allocations: 5.632 MB / 1.203 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01057/0.9565, allocations: 5.532 MB / 1.208 GB, free: 13.3 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9565, allocations: 7.938 kB / 1.208 GB, free: 13.29 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.9583, allocations: 1.512 MB / 1.21 GB, free: 11.78 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004917/0.9632, allocations: 1.349 MB / 1.211 GB, free: 10.46 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/0.9913, allocations: 22.17 MB / 1.233 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.9926, allocations: 1.89 MB / 1.234 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002673/0.9953, allocations: 0.8395 MB / 1.235 GB, free: 260 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/0.9967, allocations: 1.081 MB / 1.236 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/0.9967, allocations: 0 / 1.236 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3666/1.363, allocations: 67.2 MB / 1.302 GB, free: 391.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001171/1.363, allocations: 211.6 kB / 1.302 GB, free: 391.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.189/4.552, allocations: 0 / 1.302 GB, free: 391.2 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 & /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)