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.001225/0.001225, allocations: 109.4 kB / 15.69 MB, free: 128 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.001389/0.001389, allocations: 186.5 kB / 16.62 MB, free: 6.613 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.344/1.344, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.681/1.681, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001382/0.001382, allocations: 74.89 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2324, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7126/0.945, allocations: 295.1 MB / 1.072 GB, free: 92 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02497/0.9701, allocations: 16.85 MB / 1.088 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005068/0.9752, allocations: 75.62 kB / 1.088 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005709/0.981, allocations: 1.896 MB / 1.09 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0183/0.9993, allocations: 6.359 MB / 1.096 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0085/1.008, allocations: 2.978 MB / 1.099 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01173/1.02, allocations: 7.65 MB / 1.107 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004078/1.024, allocations: 2.553 MB / 1.109 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006483/1.03, allocations: 2.78 MB / 1.112 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005877/1.036, allocations: 2.704 MB / 1.115 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000827/1.037, allocations: 335.9 kB / 1.115 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01319/1.05, allocations: 6.165 MB / 1.121 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002109/1.052, allocations: 1.344 MB / 1.122 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003189/1.055, allocations: 1.871 MB / 1.124 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/1.069, allocations: 6.892 MB / 1.131 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.069, allocations: 0 / 1.131 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.783e-06/1.069, allocations: 0 / 1.131 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001076/1.069, allocations: 0 / 1.131 GB, free: 3.465 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.01125/1.08, allocations: 4.116 MB / 1.135 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.08, allocations: 8.031 kB / 1.135 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005014/1.081, allocations: 375 kB / 1.135 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006057/1.087, allocations: 0.9094 MB / 1.136 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/1.091, allocations: 1.893 MB / 1.138 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/1.091, allocations: 193.1 kB / 1.138 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003974/1.091, allocations: 263.9 kB / 1.138 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00561/1.097, allocations: 3.334 MB / 1.142 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/1.097, allocations: 0 / 1.142 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/1.097, allocations: 108 kB / 1.142 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/1.097, allocations: 145 kB / 1.142 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005453/1.103, allocations: 3.486 MB / 1.145 GB, free: 4.398 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.01469/1.118, allocations: 12.12 MB / 1.157 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/1.122, allocations: 3.52 MB / 1.161 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/1.124, allocations: 1.826 MB / 1.162 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/1.126, allocations: 1.477 MB / 1.164 GB, free: 144 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/1.126, allocations: 68.75 kB / 1.164 GB, free: 64 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=278): time 4.328e-06/1.126, allocations: 0 / 1.164 GB, free: 64 kB / 0.8731 GB Notification: Performance of matching and sorting (n=278): time 0.00658/1.133, allocations: 3.885 MB / 1.168 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/1.133, allocations: 85.53 kB / 1.168 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/1.135, allocations: 1.355 MB / 1.169 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/1.135, allocations: 85.64 kB / 1.169 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007224/1.136, allocations: 0.9763 MB / 1.17 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009671/1.137, allocations: 0.9432 MB / 1.171 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006361/1.137, allocations: 408.9 kB / 1.171 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.137, allocations: 301.1 kB / 1.172 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/1.139, allocations: 1.094 MB / 1.173 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/1.141, allocations: 1.376 MB / 1.174 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004019/1.145, allocations: 2.65 MB / 1.177 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/1.145, allocations: 0 / 1.177 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005014/1.15, allocations: 2.97 MB / 1.18 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/1.15, allocations: 8 kB / 1.18 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.15, allocations: 4 kB / 1.18 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/1.15, allocations: 19.94 kB / 1.18 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/1.153, allocations: 0.5071 MB / 1.18 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.948e-05/1.153, allocations: 16 kB / 1.18 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/1.155, allocations: 192.6 kB / 1.18 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/1.155, allocations: 80 kB / 1.18 GB, free: 14.8 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.001092/1.156, allocations: 0.6455 MB / 1.181 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/1.156, allocations: 225.3 kB / 1.181 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004671/1.161, allocations: 3.115 MB / 1.184 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.161, allocations: 24 kB / 1.184 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.161, allocations: 0 / 1.184 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00362/1.165, allocations: 2.649 MB / 1.187 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008946/1.174, allocations: 6.193 MB / 1.193 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/1.174, allocations: 4 kB / 1.193 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/1.176, allocations: 0.5462 MB / 1.193 GB, free: 1.156 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/1.176, allocations: 8 kB / 1.193 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/1.176, allocations: 67.97 kB / 1.194 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/1.176, allocations: 8 kB / 1.194 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.176, allocations: 0 / 1.194 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006609/1.183, allocations: 4.803 MB / 1.198 GB, free: 12.18 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.184, allocations: 0.6071 MB / 1.199 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/1.184, allocations: 48 kB / 1.199 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/1.186, allocations: 63.97 kB / 1.199 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/1.186, allocations: 169.9 kB / 1.199 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.186, allocations: 83.97 kB / 1.199 GB, free: 11.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001235/1.188, allocations: 0.9337 MB / 1.2 GB, free: 10.27 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.188, allocations: 0 / 1.2 GB, free: 10.27 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001929/1.19, allocations: 0.9823 MB / 1.201 GB, free: 9.281 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.007195/1.197, allocations: 5.62 MB / 1.207 GB, free: 3.574 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003999/1.201, allocations: 2.782 MB / 1.209 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.201, allocations: 0 / 1.209 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/1.203, allocations: 1.507 MB / 1.211 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005966/1.209, allocations: 1.348 MB / 1.212 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02846/1.237, allocations: 19.3 MB / 1.231 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/1.239, allocations: 1.898 MB / 1.233 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002815/1.242, allocations: 0.8279 MB / 1.234 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.243, allocations: 1.081 MB / 1.235 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of SimCode: time 8.62e-07/1.243, allocations: 0 / 1.235 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5072/1.75, allocations: 67.63 MB / 1.301 GB, free: 390.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/13.34, allocations: 2.25 kB / 1.301 GB, free: 390.6 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)