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.001139/0.001139, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001061/0.001061, allocations: 192.2 kB / 16.13 MB, free: 6.719 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.109/1.109, allocations: 205.1 MB / 222 MB, free: 4.766 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.485/1.485, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001234/0.001234, allocations: 65.77 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1564, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5222/0.6786, allocations: 292.9 MB / 1.069 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02024/0.6989, allocations: 17.06 MB / 1.086 GB, free: 12.45 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/0.7015, allocations: 71.56 kB / 1.086 GB, free: 12.38 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003906/0.7054, allocations: 1.641 MB / 1.087 GB, free: 10.73 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.7174, allocations: 6.019 MB / 1.093 GB, free: 4.684 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005492/0.7229, allocations: 2.699 MB / 1.096 GB, free: 1.988 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008926/0.7319, allocations: 11.16 MB / 1.107 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/0.734, allocations: 2.169 MB / 1.109 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/0.7367, allocations: 2.409 MB / 1.111 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003413/0.7401, allocations: 2.8 MB / 1.114 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003299/0.7404, allocations: 184 kB / 1.114 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.7508, allocations: 7.188 MB / 1.121 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009886/0.7518, allocations: 1.2 MB / 1.122 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.7533, allocations: 1.726 MB / 1.124 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007579/0.7609, allocations: 7.171 MB / 1.131 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.7609, allocations: 0 / 1.131 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.02e-07/0.7609, allocations: 4 kB / 1.131 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.567e-05/0.761, allocations: 0 / 1.131 GB, free: 13.85 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.008082/0.769, allocations: 4.12 MB / 1.135 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.7691, allocations: 8.031 kB / 1.135 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003829/0.7695, allocations: 375 kB / 1.135 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00555/0.775, allocations: 0.9133 MB / 1.136 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.7774, allocations: 1.807 MB / 1.138 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.7775, allocations: 197.1 kB / 1.138 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003213/0.7779, allocations: 267.9 kB / 1.138 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/0.7824, allocations: 3.337 MB / 1.142 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.7824, allocations: 7.938 kB / 1.142 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/0.7827, allocations: 108 kB / 1.142 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.7828, allocations: 137 kB / 1.142 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/0.7877, allocations: 3.494 MB / 1.145 GB, free: 14.84 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.01188/0.7996, allocations: 12.06 MB / 1.157 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003962/0.8036, allocations: 3.52 MB / 1.16 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002354/0.806, allocations: 1.822 MB / 1.162 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.8073, allocations: 1.489 MB / 1.164 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.8073, allocations: 64.75 kB / 1.164 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=278): time 3.346e-06/0.8074, allocations: 0 / 1.164 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=278): time 0.005537/0.8129, allocations: 3.881 MB / 1.168 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.813, allocations: 81.59 kB / 1.168 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.8144, allocations: 1.362 MB / 1.169 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.8145, allocations: 73.7 kB / 1.169 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00056/0.8151, allocations: 0.9763 MB / 1.17 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006056/0.8157, allocations: 0.9393 MB / 1.171 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005466/0.8162, allocations: 416.8 kB / 1.171 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.8163, allocations: 305.1 kB / 1.172 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.8179, allocations: 1.09 MB / 1.173 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.8196, allocations: 1.377 MB / 1.174 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.8231, allocations: 2.654 MB / 1.177 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.8231, allocations: 0 / 1.177 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004058/0.8272, allocations: 2.958 MB / 1.179 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8272, allocations: 8 kB / 1.179 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.8272, allocations: 4 kB / 1.179 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.8272, allocations: 24.44 kB / 1.18 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/0.8292, allocations: 0.511 MB / 1.18 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.8292, allocations: 19.94 kB / 1.18 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.8313, allocations: 333.7 kB / 1.18 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.8314, allocations: 83.98 kB / 1.18 GB, free: 9.16 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.0008146/0.8322, allocations: 0.6417 MB / 1.181 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.8326, allocations: 225.3 kB / 1.181 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/0.8369, allocations: 3.11 MB / 1.184 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.8369, allocations: 24 kB / 1.184 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.837, allocations: 0 / 1.184 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003434/0.8404, allocations: 2.661 MB / 1.187 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007909/0.8483, allocations: 6.197 MB / 1.193 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.8483, allocations: 0 / 1.193 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00228/0.8506, allocations: 0.5462 MB / 1.194 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.8506, allocations: 12 kB / 1.194 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.8508, allocations: 59.98 kB / 1.194 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.8508, allocations: 8 kB / 1.194 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.8508, allocations: 7.922 kB / 1.194 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006129/0.8569, allocations: 4.799 MB / 1.198 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008778/0.8578, allocations: 0.6109 MB / 1.199 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.8581, allocations: 52 kB / 1.199 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/0.8598, allocations: 230.3 kB / 1.199 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.8602, allocations: 170 kB / 1.199 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.8603, allocations: 75.98 kB / 1.199 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001025/0.8613, allocations: 0.9376 MB / 1.2 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8613, allocations: 0 / 1.2 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001603/0.8629, allocations: 0.9784 MB / 1.201 GB, free: 3.48 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.0066/0.8696, allocations: 5.621 MB / 1.207 GB, free: 13.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003478/0.873, allocations: 2.766 MB / 1.209 GB, free: 10.97 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8731, allocations: 4 kB / 1.209 GB, free: 10.97 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.8749, allocations: 1.504 MB / 1.211 GB, free: 9.461 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004543/0.8794, allocations: 1.287 MB / 1.212 GB, free: 8.191 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/0.906, allocations: 22.17 MB / 1.234 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.9073, allocations: 1.902 MB / 1.236 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002504/0.9098, allocations: 0.8434 MB / 1.237 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.9112, allocations: 1.081 MB / 1.238 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.9112, allocations: 4 kB / 1.238 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4009/1.312, allocations: 65.24 MB / 1.301 GB, free: 391.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001234/1.312, allocations: 205 kB / 1.301 GB, free: 390.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/4.416, allocations: 1.406 kB / 1.301 GB, free: 390.8 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)