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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 110.6 kB / 16.41 MB, free: 6.477 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.001839/0.001839, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.413/1.413, allocations: 222.9 MB / 241 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.002197/0.002197, allocations: 294.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9726/0.9726, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 103.8 kB / 0.6821 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5016/0.5037, allocations: 86.98 MB / 0.767 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8387/1.342, allocations: 295.1 MB / 1.055 GB, free: 488 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02806/1.371, allocations: 17.01 MB / 1.072 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00523/1.376, allocations: 81.25 kB / 1.072 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00597/1.382, allocations: 1.89 MB / 1.074 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01995/1.402, allocations: 6.436 MB / 1.08 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/1.412, allocations: 2.939 MB / 1.083 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01259/1.425, allocations: 7.704 MB / 1.09 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005589/1.43, allocations: 2.603 MB / 1.093 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007469/1.438, allocations: 2.817 MB / 1.096 GB, free: 296 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006686/1.444, allocations: 2.712 MB / 1.098 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001528/1.446, allocations: 328 kB / 1.099 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01608/1.462, allocations: 6.156 MB / 1.105 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002708/1.465, allocations: 1.341 MB / 1.106 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005398/1.47, allocations: 1.879 MB / 1.108 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01819/1.488, allocations: 6.892 MB / 1.115 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.489, allocations: 4 kB / 1.115 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.136e-06/1.489, allocations: 0 / 1.115 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.000224/1.489, allocations: 0 / 1.115 GB, free: 14.43 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.01445/1.503, allocations: 4.12 MB / 1.119 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.503, allocations: 11.97 kB / 1.119 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007391/1.511, allocations: 0.9255 MB / 1.12 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005308/1.516, allocations: 1.923 MB / 1.121 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/1.516, allocations: 192.3 kB / 1.122 GB, free: 7.199 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/1.517, allocations: 261.1 kB / 1.122 GB, free: 6.949 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009086/1.527, allocations: 3.329 MB / 1.125 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/1.527, allocations: 15.92 kB / 1.125 GB, free: 3.512 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006595/1.527, allocations: 104 kB / 1.125 GB, free: 3.41 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/1.528, allocations: 133.1 kB / 1.125 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007478/1.535, allocations: 3.506 MB / 1.129 GB, free: 15.76 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.01925/1.554, allocations: 12.15 MB / 1.141 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005749/1.56, allocations: 3.508 MB / 1.144 GB, free: 15.29 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003514/1.564, allocations: 1.848 MB / 1.146 GB, free: 13.44 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/1.565, allocations: 1.489 MB / 1.147 GB, free: 11.64 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.71e-05/1.566, allocations: 68.75 kB / 1.147 GB, free: 11.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=278): time 5.841e-06/1.566, allocations: 0 / 1.147 GB, free: 11.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=278): time 0.008407/1.574, allocations: 3.885 MB / 1.151 GB, free: 7.629 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/1.574, allocations: 81.59 kB / 1.151 GB, free: 7.535 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/1.577, allocations: 1.372 MB / 1.153 GB, free: 6.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003805/1.577, allocations: 73.7 kB / 1.153 GB, free: 6.078 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009027/1.578, allocations: 0.9882 MB / 1.154 GB, free: 5.078 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.579, allocations: 0.9454 MB / 1.155 GB, free: 4.141 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/1.581, allocations: 409 kB / 1.155 GB, free: 3.734 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.581, allocations: 305.1 kB / 1.155 GB, free: 3.434 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/1.583, allocations: 1.098 MB / 1.156 GB, free: 2.332 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/1.585, allocations: 1.355 MB / 1.158 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004414/1.59, allocations: 2.648 MB / 1.16 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/1.59, allocations: 4 kB / 1.16 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00568/1.595, allocations: 2.981 MB / 1.163 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/1.595, allocations: 8.562 kB / 1.163 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.595, allocations: 4 kB / 1.163 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.426e-05/1.595, allocations: 16 kB / 1.163 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/1.598, allocations: 0.5072 MB / 1.164 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.003e-05/1.598, allocations: 19.94 kB / 1.164 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/1.6, allocations: 182 kB / 1.164 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/1.601, allocations: 83.98 kB / 1.164 GB, free: 10.32 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.001602/1.602, allocations: 0.6455 MB / 1.165 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009097/1.603, allocations: 233.2 kB / 1.165 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006299/1.609, allocations: 3.108 MB / 1.168 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/1.609, allocations: 28 kB / 1.168 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.609, allocations: 0 / 1.168 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004384/1.614, allocations: 2.665 MB / 1.17 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/1.626, allocations: 6.21 MB / 1.176 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.626, allocations: 0 / 1.176 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/1.629, allocations: 0.5462 MB / 1.177 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.948e-05/1.629, allocations: 15.94 kB / 1.177 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/1.629, allocations: 63.95 kB / 1.177 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.539e-05/1.629, allocations: 8 kB / 1.177 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.629, allocations: 0 / 1.177 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007772/1.637, allocations: 4.566 MB / 1.182 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.638, allocations: 0.6186 MB / 1.182 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006199/1.639, allocations: 55.98 kB / 1.182 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.641, allocations: 59.98 kB / 1.182 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003741/1.642, allocations: 162 kB / 1.182 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/1.642, allocations: 83.97 kB / 1.183 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001877/1.644, allocations: 0.9462 MB / 1.183 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/1.644, allocations: 0 / 1.183 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003068/1.647, allocations: 0.9823 MB / 1.184 GB, free: 5.066 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.0008521/1.648, allocations: 366.4 kB / 1.185 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005117/1.653, allocations: 2.775 MB / 1.187 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.653, allocations: 3.938 kB / 1.187 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002638/1.655, allocations: 1.507 MB / 1.189 GB, free: 404 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007595/1.663, allocations: 1.351 MB / 1.19 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.675, allocations: 6.15 MB / 1.196 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/1.678, allocations: 1.895 MB / 1.198 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/1.679, allocations: 235.4 kB / 1.198 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of SimCode: time 9.81e-07/1.679, allocations: 0 / 1.198 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of Templates: time 0.07185/1.751, allocations: 43.14 MB / 1.24 GB, free: 11.84 MB / 0.8887 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)