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.00769/0.00769, allocations: 101.3 kB / 15.73 MB, free: 5.996 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.001322/0.001322, allocations: 189.7 kB / 16.67 MB, free: 5.926 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 284 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9567/0.9567, allocations: 169.3 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 91.86 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.5695, allocations: 86.98 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.888/1.457, allocations: 295.1 MB / 1.054 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0293/1.487, allocations: 17.01 MB / 1.071 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005268/1.492, allocations: 79.84 kB / 1.071 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005696/1.498, allocations: 1.893 MB / 1.073 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01784/1.516, allocations: 6.426 MB / 1.079 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009165/1.525, allocations: 2.95 MB / 1.082 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01234/1.537, allocations: 7.7 MB / 1.089 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007249/1.545, allocations: 2.597 MB / 1.092 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009562/1.554, allocations: 2.81 MB / 1.095 GB, free: 288 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007657/1.562, allocations: 2.707 MB / 1.097 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001813/1.564, allocations: 332 kB / 1.098 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01731/1.581, allocations: 6.168 MB / 1.104 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003039/1.584, allocations: 1.334 MB / 1.105 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00595/1.59, allocations: 1.879 MB / 1.107 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02186/1.612, allocations: 6.891 MB / 1.113 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.612, allocations: 0 / 1.113 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/1.612, allocations: 4 kB / 1.113 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002133/1.612, allocations: 0 / 1.113 GB, free: 14.41 MB / 0.7637 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.01573/1.628, allocations: 4.127 MB / 1.117 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.628, allocations: 12.03 kB / 1.117 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001125/1.629, allocations: 368.8 kB / 1.118 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007238/1.637, allocations: 0.9163 MB / 1.119 GB, free: 8.957 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00567/1.642, allocations: 1.924 MB / 1.121 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/1.642, allocations: 192.8 kB / 1.121 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008925/1.643, allocations: 258.6 kB / 1.121 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008247/1.652, allocations: 3.332 MB / 1.124 GB, free: 3.148 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/1.652, allocations: 8 kB / 1.124 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005935/1.652, allocations: 113.3 kB / 1.124 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/1.653, allocations: 145 kB / 1.125 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007338/1.66, allocations: 3.494 MB / 1.128 GB, free: 15.38 MB / 0.7794 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.02154/1.681, allocations: 12.15 MB / 1.14 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005342/1.687, allocations: 3.51 MB / 1.143 GB, free: 14.89 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003253/1.69, allocations: 1.852 MB / 1.145 GB, free: 13.03 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/1.692, allocations: 1.486 MB / 1.147 GB, free: 11.24 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.538e-05/1.692, allocations: 64.75 kB / 1.147 GB, free: 11.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=278): time 5.29e-06/1.692, allocations: 0 / 1.147 GB, free: 11.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=278): time 0.008678/1.701, allocations: 3.889 MB / 1.15 GB, free: 7.223 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/1.701, allocations: 77.59 kB / 1.15 GB, free: 7.133 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00292/1.704, allocations: 1.383 MB / 1.152 GB, free: 5.742 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003353/1.704, allocations: 69.7 kB / 1.152 GB, free: 5.668 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008199/1.705, allocations: 0.9843 MB / 1.153 GB, free: 4.672 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001188/1.706, allocations: 0.9452 MB / 1.154 GB, free: 3.734 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008502/1.707, allocations: 408.9 kB / 1.154 GB, free: 3.328 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.707, allocations: 301.1 kB / 1.154 GB, free: 3.031 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/1.709, allocations: 1.094 MB / 1.155 GB, free: 1.934 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/1.711, allocations: 1.362 MB / 1.157 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004383/1.716, allocations: 2.646 MB / 1.159 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/1.716, allocations: 4 kB / 1.159 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005791/1.721, allocations: 2.97 MB / 1.162 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/1.721, allocations: 8 kB / 1.162 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/1.721, allocations: 4 kB / 1.162 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/1.721, allocations: 12 kB / 1.162 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/1.724, allocations: 0.5115 MB / 1.163 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.455e-05/1.724, allocations: 27.92 kB / 1.163 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/1.727, allocations: 189.9 kB / 1.163 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/1.727, allocations: 83.94 kB / 1.163 GB, free: 9.914 MB / 0.8106 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.001546/1.728, allocations: 0.6478 MB / 1.164 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008834/1.729, allocations: 229.3 kB / 1.164 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005676/1.735, allocations: 3.112 MB / 1.167 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/1.735, allocations: 28 kB / 1.167 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.735, allocations: 4 kB / 1.167 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004156/1.739, allocations: 2.661 MB / 1.17 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/1.752, allocations: 6.206 MB / 1.176 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/1.752, allocations: 0 / 1.176 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/1.755, allocations: 0.55 MB / 1.176 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.868e-05/1.755, allocations: 15.98 kB / 1.176 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/1.755, allocations: 55.98 kB / 1.176 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.471e-05/1.755, allocations: 8 kB / 1.176 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.755, allocations: 4 kB / 1.176 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007558/1.762, allocations: 4.569 MB / 1.181 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.764, allocations: 0.6109 MB / 1.181 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005637/1.765, allocations: 56 kB / 1.181 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/1.767, allocations: 75.67 kB / 1.181 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003317/1.767, allocations: 158 kB / 1.182 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/1.767, allocations: 83.97 kB / 1.182 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001749/1.769, allocations: 0.9462 MB / 1.183 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/1.769, allocations: 0 / 1.183 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003054/1.772, allocations: 0.9746 MB / 1.184 GB, free: 4.664 MB / 0.8262 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.008158/1.78, allocations: 5.386 MB / 1.189 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004982/1.785, allocations: 2.771 MB / 1.192 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.785, allocations: 8.125 kB / 1.192 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/1.788, allocations: 1.504 MB / 1.193 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006881/1.794, allocations: 1.348 MB / 1.194 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03645/1.831, allocations: 19.43 MB / 1.213 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/1.833, allocations: 1.895 MB / 1.215 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003581/1.837, allocations: 0.8474 MB / 1.216 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/1.839, allocations: 1.093 MB / 1.217 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of SimCode: time 2.685e-06/1.839, allocations: 4 kB / 1.217 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/1.962, allocations: 69.43 MB / 1.285 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/15.12, allocations: 19.22 kB / 1.285 GB, free: 13.29 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)