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.001667/0.001667, allocations: 107.4 kB / 16.37 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.00186/0.00186, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.611/1.611, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.00244, allocations: 286.5 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001857, allocations: 93.83 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2728, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.926/2.198, allocations: 295.1 MB / 0.9698 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04301/2.242, allocations: 17.01 MB / 0.9864 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008629/2.25, allocations: 85.56 kB / 0.9865 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.008611/2.259, allocations: 1.891 MB / 0.9883 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.03118/2.29, allocations: 6.431 MB / 0.9946 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01468/2.305, allocations: 2.944 MB / 0.9975 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0235/2.329, allocations: 7.706 MB / 1.005 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/2.339, allocations: 2.597 MB / 1.008 GB, free: 17 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01273/2.352, allocations: 2.776 MB / 1.01 GB, free: 17 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01179/2.364, allocations: 2.711 MB / 1.013 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002903/2.367, allocations: 325.2 kB / 1.013 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02775/2.395, allocations: 6.163 MB / 1.019 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.005462/2.4, allocations: 1.342 MB / 1.021 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01148/2.412, allocations: 1.882 MB / 1.022 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.03363/2.445, allocations: 6.887 MB / 1.029 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/2.445, allocations: 0.8438 kB / 1.029 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.801e-06/2.445, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004063/2.446, allocations: 3.656 kB / 1.029 GB, free: 15.87 MB / 0.7325 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.02631/2.472, allocations: 4.122 MB / 1.033 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.872e-05/2.472, allocations: 11.28 kB / 1.033 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009554/2.482, allocations: 0.9149 MB / 1.034 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008785/2.491, allocations: 1.92 MB / 1.036 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000396/2.491, allocations: 196.6 kB / 1.036 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001722/2.493, allocations: 260.2 kB / 1.036 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/2.507, allocations: 3.331 MB / 1.04 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/2.507, allocations: 11.38 kB / 1.04 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004011/2.507, allocations: 109.5 kB / 1.04 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002406/2.508, allocations: 140.5 kB / 1.04 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007177/2.515, allocations: 3.493 MB / 1.043 GB, free: 12.23 MB / 0.7325 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.021/2.536, allocations: 12.15 MB / 1.055 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/2.541, allocations: 3.505 MB / 1.059 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002951/2.544, allocations: 1.821 MB / 1.06 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/2.546, allocations: 1.49 MB / 1.062 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.142e-05/2.546, allocations: 64.59 kB / 1.062 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=278): time 4.659e-06/2.546, allocations: 0 / 1.062 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=278): time 0.007435/2.553, allocations: 3.882 MB / 1.066 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/2.554, allocations: 81.59 kB / 1.066 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/2.556, allocations: 1.379 MB / 1.067 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003025/2.557, allocations: 77.7 kB / 1.067 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/2.558, allocations: 0.9804 MB / 1.068 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/2.559, allocations: 0.9426 MB / 1.069 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006964/2.559, allocations: 408.8 kB / 1.069 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001449/2.56, allocations: 313.1 kB / 1.07 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/2.561, allocations: 1.09 MB / 1.071 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/2.563, allocations: 1.361 MB / 1.072 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004055/2.567, allocations: 2.652 MB / 1.075 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/2.567, allocations: 0 / 1.075 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005559/2.573, allocations: 2.973 MB / 1.078 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/2.573, allocations: 7.938 kB / 1.078 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/2.573, allocations: 6.531 kB / 1.078 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-05/2.573, allocations: 16 kB / 1.078 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/2.575, allocations: 0.5106 MB / 1.078 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.44e-05/2.575, allocations: 19.98 kB / 1.078 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/2.578, allocations: 188.5 kB / 1.078 GB, free: 2.312 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/2.578, allocations: 84 kB / 1.078 GB, free: 2.23 MB / 0.7481 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.001796/2.58, allocations: 0.6446 MB / 1.079 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007023/2.581, allocations: 229.3 kB / 1.079 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005427/2.586, allocations: 3.114 MB / 1.082 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/2.586, allocations: 32 kB / 1.082 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/2.586, allocations: 0 / 1.082 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003946/2.59, allocations: 2.653 MB / 1.085 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/2.604, allocations: 6.214 MB / 1.091 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/2.604, allocations: 3.984 kB / 1.091 GB, free: 5.211 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/2.606, allocations: 0.5442 MB / 1.091 GB, free: 4.691 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.39e-05/2.606, allocations: 8 kB / 1.092 GB, free: 4.684 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/2.606, allocations: 59.98 kB / 1.092 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.737e-05/2.607, allocations: 11.94 kB / 1.092 GB, free: 4.613 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/2.607, allocations: 0 / 1.092 GB, free: 4.613 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007866/2.614, allocations: 4.576 MB / 1.096 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/2.617, allocations: 0.6109 MB / 1.097 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/2.617, allocations: 48 kB / 1.097 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/2.619, allocations: 68.66 kB / 1.097 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000355/2.619, allocations: 169.9 kB / 1.097 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/2.619, allocations: 83.97 kB / 1.097 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001621/2.621, allocations: 0.9423 MB / 1.098 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5e-07/2.621, allocations: 0 / 1.098 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00324/2.624, allocations: 0.9784 MB / 1.099 GB, free: 13.04 MB / 0.7794 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.0009251/2.625, allocations: 379.7 kB / 1.099 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004933/2.63, allocations: 2.769 MB / 1.102 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/2.63, allocations: 1.125 kB / 1.102 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002401/2.633, allocations: 1.51 MB / 1.103 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006335/2.639, allocations: 1.353 MB / 1.105 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/2.65, allocations: 6.018 MB / 1.111 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/2.652, allocations: 1.899 MB / 1.112 GB, free: 15.19 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003667/2.656, allocations: 0.8397 MB / 1.113 GB, free: 14.34 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008335/2.657, allocations: 207.4 kB / 1.113 GB, free: 14.14 MB / 0.795 GB Notification: Performance of SimCode: time 1.744e-06/2.657, allocations: 0 / 1.113 GB, free: 14.14 MB / 0.795 GB Notification: Performance of Templates: time 0.09369/2.75, allocations: 49.69 MB / 1.162 GB, free: 13.3 MB / 0.8419 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)