Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_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.006568/0.006568, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001649/0.001649, allocations: 197 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002435/0.002435, allocations: 287 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9856/0.9856, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 99.81 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1615, allocations: 86.98 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6556/0.8171, allocations: 295.1 MB / 1.054 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0252/0.8423, allocations: 17.01 MB / 1.071 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.8452, allocations: 83.62 kB / 1.071 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004546/0.8497, allocations: 1.884 MB / 1.073 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01489/0.8646, allocations: 6.432 MB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007208/0.8718, allocations: 2.945 MB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01039/0.8822, allocations: 7.709 MB / 1.089 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004028/0.8863, allocations: 2.589 MB / 1.092 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/0.8915, allocations: 2.776 MB / 1.095 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4009/1.292, allocations: 2.7 MB / 1.097 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001034/1.294, allocations: 327.2 kB / 1.098 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/1.305, allocations: 6.162 MB / 1.104 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001692/1.307, allocations: 1.332 MB / 1.105 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002784/1.309, allocations: 1.885 MB / 1.107 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01332/1.323, allocations: 6.913 MB / 1.113 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.323, allocations: 0.9375 kB / 1.113 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/1.323, allocations: 3.719 kB / 1.113 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.991e-05/1.323, allocations: 0 / 1.113 GB, free: 12.43 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.01002/1.333, allocations: 4.232 MB / 1.118 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/1.333, allocations: 9.219 kB / 1.118 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000447/1.333, allocations: 370.1 kB / 1.118 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006033/1.34, allocations: 0.9292 MB / 1.119 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/1.343, allocations: 1.934 MB / 1.121 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/1.343, allocations: 197.6 kB / 1.121 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004083/1.343, allocations: 261.1 kB / 1.121 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/1.349, allocations: 3.333 MB / 1.124 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.299e-05/1.349, allocations: 7.656 kB / 1.124 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/1.349, allocations: 109.2 kB / 1.125 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/1.349, allocations: 137.7 kB / 1.125 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005936/1.355, allocations: 3.496 MB / 1.128 GB, free: 9.594 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.0159/1.371, allocations: 12.17 MB / 1.14 GB, free: 19.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004172/1.375, allocations: 3.508 MB / 1.143 GB, free: 19.08 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002439/1.378, allocations: 1.85 MB / 1.145 GB, free: 19.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001619/1.379, allocations: 1.493 MB / 1.147 GB, free: 17.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/1.379, allocations: 70 kB / 1.147 GB, free: 17.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=278): time 4.178e-06/1.379, allocations: 0 / 1.147 GB, free: 17.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=278): time 0.005988/1.385, allocations: 3.885 MB / 1.15 GB, free: 17.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/1.386, allocations: 91.08 kB / 1.151 GB, free: 17.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/1.387, allocations: 1.374 MB / 1.152 GB, free: 16.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/1.388, allocations: 81.14 kB / 1.152 GB, free: 16.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005079/1.388, allocations: 1.004 MB / 1.153 GB, free: 16.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006792/1.389, allocations: 0.9848 MB / 1.154 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005848/1.389, allocations: 411.5 kB / 1.154 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.39, allocations: 305.2 kB / 1.155 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/1.391, allocations: 1.09 MB / 1.156 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/1.393, allocations: 1.362 MB / 1.157 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003456/1.396, allocations: 2.645 MB / 1.16 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/1.396, allocations: 3.562 kB / 1.16 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004483/1.401, allocations: 2.983 MB / 1.163 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.401, allocations: 13.03 kB / 1.163 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.401, allocations: 6.922 kB / 1.163 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/1.401, allocations: 14.81 kB / 1.163 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/1.403, allocations: 0.5099 MB / 1.163 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/1.403, allocations: 16.61 kB / 1.163 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/1.405, allocations: 194.1 kB / 1.163 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/1.405, allocations: 85.39 kB / 1.163 GB, free: 14.72 MB / 0.8575 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.001158/1.407, allocations: 0.6426 MB / 1.164 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/1.407, allocations: 245.7 kB / 1.164 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/1.411, allocations: 3.113 MB / 1.167 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.412, allocations: 28.31 kB / 1.167 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.412, allocations: 1.594 kB / 1.167 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003379/1.415, allocations: 2.659 MB / 1.17 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008248/1.423, allocations: 6.216 MB / 1.176 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.423, allocations: 0 / 1.176 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.426, allocations: 0.5418 MB / 1.176 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/1.426, allocations: 12.25 kB / 1.176 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/1.426, allocations: 56.64 kB / 1.177 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/1.426, allocations: 14.75 kB / 1.177 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.426, allocations: 3.984 kB / 1.177 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/1.431, allocations: 4.586 MB / 1.181 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.433, allocations: 0.6153 MB / 1.182 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/1.433, allocations: 50.62 kB / 1.182 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/1.434, allocations: 74.3 kB / 1.182 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/1.435, allocations: 162.2 kB / 1.182 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.435, allocations: 77.8 kB / 1.182 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001079/1.436, allocations: 0.9491 MB / 1.183 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.112e-06/1.436, allocations: 0 / 1.183 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001928/1.438, allocations: 0.9894 MB / 1.184 GB, free: 12.64 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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.006398/1.444, allocations: 5.402 MB / 1.189 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003538/1.448, allocations: 2.777 MB / 1.192 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.448, allocations: 0 / 1.192 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/1.45, allocations: 1.509 MB / 1.193 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005533/1.455, allocations: 1.356 MB / 1.195 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02788/1.483, allocations: 19.53 MB / 1.214 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/1.485, allocations: 1.899 MB / 1.216 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002986/1.488, allocations: 0.8435 MB / 1.216 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/1.49, allocations: 1.095 MB / 1.217 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/1.49, allocations: 0 / 1.217 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/1.614, allocations: 68.27 MB / 1.284 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/14.35, allocations: 14.88 kB / 1.284 GB, free: 8.266 MB / 0.9356 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)