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.008381/0.008381, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001518/0.001518, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002386/0.002386, allocations: 278.4 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.108/1.108, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003365/0.003365, allocations: 95.84 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2416, allocations: 86.97 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9049/1.147, allocations: 295.1 MB / 1.055 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03195/1.179, allocations: 17.01 MB / 1.071 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006107/1.185, allocations: 83.62 kB / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006712/1.192, allocations: 1.888 MB / 1.073 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0206/1.212, allocations: 6.432 MB / 1.079 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009579/1.222, allocations: 2.944 MB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01322/1.235, allocations: 7.712 MB / 1.09 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004972/1.24, allocations: 2.584 MB / 1.092 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007241/1.247, allocations: 2.811 MB / 1.095 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6305/1.878, allocations: 2.691 MB / 1.098 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001973/1.88, allocations: 326.7 kB / 1.098 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01812/1.898, allocations: 6.162 MB / 1.104 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003625/1.902, allocations: 1.341 MB / 1.105 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006726/1.909, allocations: 1.881 MB / 1.107 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02206/1.931, allocations: 6.889 MB / 1.114 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/1.931, allocations: 5.25 kB / 1.114 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.843e-06/1.931, allocations: 0 / 1.114 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002198/1.931, allocations: 0.9688 kB / 1.114 GB, free: 12.66 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.01928/1.95, allocations: 4.127 MB / 1.118 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/1.95, allocations: 10.88 kB / 1.118 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008005/1.958, allocations: 0.9078 MB / 1.119 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005834/1.964, allocations: 1.927 MB / 1.121 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/1.964, allocations: 197.1 kB / 1.121 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/1.965, allocations: 263.5 kB / 1.121 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00784/1.973, allocations: 3.332 MB / 1.124 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-05/1.973, allocations: 6.438 kB / 1.124 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/1.974, allocations: 107.7 kB / 1.125 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002005/1.974, allocations: 138.6 kB / 1.125 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00757/1.982, allocations: 3.5 MB / 1.128 GB, free: 10 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.02099/2.003, allocations: 12.15 MB / 1.14 GB, free: 20.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004892/2.008, allocations: 3.499 MB / 1.143 GB, free: 19.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002823/2.01, allocations: 1.851 MB / 1.145 GB, free: 19.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/2.012, allocations: 1.489 MB / 1.147 GB, free: 17.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.095e-05/2.012, allocations: 68.91 kB / 1.147 GB, free: 17.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=278): time 4.889e-06/2.012, allocations: 3.188 kB / 1.147 GB, free: 17.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=278): time 0.006771/2.019, allocations: 3.881 MB / 1.15 GB, free: 17.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/2.019, allocations: 83.41 kB / 1.151 GB, free: 17.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/2.021, allocations: 1.382 MB / 1.152 GB, free: 17.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002815/2.021, allocations: 75.86 kB / 1.152 GB, free: 17.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/2.022, allocations: 0.9852 MB / 1.153 GB, free: 16.92 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008986/2.023, allocations: 0.9392 MB / 1.154 GB, free: 16.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006042/2.024, allocations: 413.5 kB / 1.154 GB, free: 16.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001183/2.024, allocations: 301.1 kB / 1.155 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/2.025, allocations: 1.094 MB / 1.156 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/2.027, allocations: 1.363 MB / 1.157 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/2.031, allocations: 2.648 MB / 1.16 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/2.031, allocations: 5.266 kB / 1.16 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005192/2.036, allocations: 2.972 MB / 1.162 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/2.036, allocations: 13.69 kB / 1.162 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/2.036, allocations: 4.859 kB / 1.162 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/2.036, allocations: 16.72 kB / 1.162 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/2.038, allocations: 0.5094 MB / 1.163 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.365e-05/2.038, allocations: 18.22 kB / 1.163 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/2.041, allocations: 184.3 kB / 1.163 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/2.041, allocations: 84.88 kB / 1.163 GB, free: 15.22 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.001586/2.043, allocations: 0.6458 MB / 1.164 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007364/2.044, allocations: 233.4 kB / 1.164 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/2.049, allocations: 3.118 MB / 1.167 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/2.049, allocations: 26.72 kB / 1.167 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/2.049, allocations: 0 / 1.167 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003613/2.053, allocations: 2.652 MB / 1.17 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/2.063, allocations: 6.207 MB / 1.176 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/2.063, allocations: 0.5625 kB / 1.176 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/2.066, allocations: 0.5474 MB / 1.176 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.09e-05/2.066, allocations: 7.938 kB / 1.176 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/2.066, allocations: 59.23 kB / 1.176 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/2.066, allocations: 12.69 kB / 1.176 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/2.066, allocations: 0 / 1.176 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/2.073, allocations: 4.573 MB / 1.181 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/2.074, allocations: 0.6072 MB / 1.181 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/2.075, allocations: 56.61 kB / 1.182 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/2.077, allocations: 67.8 kB / 1.182 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/2.077, allocations: 163.9 kB / 1.182 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/2.077, allocations: 80.7 kB / 1.182 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001337/2.079, allocations: 0.9419 MB / 1.183 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/2.079, allocations: 0 / 1.183 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002915/2.082, allocations: 0.9832 MB / 1.184 GB, free: 13.18 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.0008783/2.082, allocations: 376.2 kB / 1.184 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004524/2.087, allocations: 2.78 MB / 1.187 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/2.087, allocations: 3.094 kB / 1.187 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/2.089, allocations: 1.503 MB / 1.188 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007481/2.097, allocations: 1.35 MB / 1.19 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/2.107, allocations: 6.014 MB / 1.195 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/2.108, allocations: 1.892 MB / 1.197 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003702/2.112, allocations: 0.8434 MB / 1.198 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009418/2.113, allocations: 207.3 kB / 1.198 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of SimCode: time 1.352e-06/2.113, allocations: 0 / 1.198 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of Templates: time 0.09078/2.204, allocations: 50.24 MB / 1.247 GB, free: 9.961 MB / 0.9044 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)