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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001437/0.001437, allocations: 189.1 kB / 16.13 MB, free: 6.637 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.521/1.521, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002752/0.002752, allocations: 285 kB / 290.2 MB, free: 2.203 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: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002739, allocations: 102.7 kB / 0.6057 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2127, allocations: 89.14 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7527/0.9654, allocations: 293 MB / 0.9789 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.029/0.9945, allocations: 17.23 MB / 0.9957 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005844/1, allocations: 67.62 kB / 0.9958 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005785/1.006, allocations: 1.66 MB / 0.9974 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01731/1.024, allocations: 6.069 MB / 1.003 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007883/1.031, allocations: 2.686 MB / 1.006 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01425/1.046, allocations: 11.2 MB / 1.017 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004006/1.05, allocations: 2.2 MB / 1.019 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00578/1.056, allocations: 2.42 MB / 1.021 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006303/1.062, allocations: 2.811 MB / 1.024 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008419/1.063, allocations: 187.9 kB / 1.024 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/1.078, allocations: 7.188 MB / 1.031 GB, free: 1 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002147/1.08, allocations: 1.196 MB / 1.032 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003336/1.083, allocations: 1.73 MB / 1.034 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01552/1.099, allocations: 7.167 MB / 1.041 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.099, allocations: 0 / 1.041 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.193e-06/1.099, allocations: 0 / 1.041 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.347e-05/1.099, allocations: 0 / 1.041 GB, free: 6.875 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.01119/1.11, allocations: 4.128 MB / 1.045 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.11, allocations: 12.03 kB / 1.045 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006599/1.117, allocations: 0.921 MB / 1.046 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3/1.417, allocations: 1.831 MB / 1.048 GB, free: 283 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/1.417, allocations: 195.9 kB / 1.048 GB, free: 283 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007671/1.418, allocations: 260.7 kB / 1.048 GB, free: 283 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006024/1.424, allocations: 3.331 MB / 1.052 GB, free: 282.1 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/1.424, allocations: 7.984 kB / 1.052 GB, free: 282.1 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/1.424, allocations: 113 kB / 1.052 GB, free: 282 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/1.425, allocations: 136.3 kB / 1.052 GB, free: 282 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00584/1.43, allocations: 3.496 MB / 1.055 GB, free: 280.9 MB / 0.7637 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.01421/1.445, allocations: 12.09 MB / 1.067 GB, free: 272.9 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/1.449, allocations: 3.509 MB / 1.07 GB, free: 271.1 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/1.452, allocations: 1.82 MB / 1.072 GB, free: 270.4 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/1.453, allocations: 1.491 MB / 1.074 GB, free: 268.8 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/1.453, allocations: 64.06 kB / 1.074 GB, free: 268.8 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 4.839e-06/1.453, allocations: 0 / 1.074 GB, free: 268.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.006337/1.459, allocations: 3.881 MB / 1.078 GB, free: 267.3 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.459, allocations: 83.89 kB / 1.078 GB, free: 267.2 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/1.461, allocations: 1.376 MB / 1.079 GB, free: 266.7 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/1.461, allocations: 74.23 kB / 1.079 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000499/1.462, allocations: 0.9833 MB / 1.08 GB, free: 265.8 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006364/1.463, allocations: 0.9488 MB / 1.081 GB, free: 265.1 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005919/1.463, allocations: 403.2 kB / 1.081 GB, free: 264.9 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/1.463, allocations: 310.2 kB / 1.082 GB, free: 264.6 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/1.465, allocations: 1.094 MB / 1.083 GB, free: 264.2 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/1.467, allocations: 1.364 MB / 1.084 GB, free: 263.6 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/1.47, allocations: 2.648 MB / 1.087 GB, free: 262.2 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/1.47, allocations: 1.531 kB / 1.087 GB, free: 262.2 MB / 0.7637 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004661/1.475, allocations: 2.979 MB / 1.09 GB, free: 260.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.475, allocations: 5.906 kB / 1.09 GB, free: 260.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.475, allocations: 5.375 kB / 1.09 GB, free: 260.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/1.475, allocations: 13.91 kB / 1.09 GB, free: 260.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/1.477, allocations: 0.5117 MB / 1.09 GB, free: 260.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.911e-05/1.477, allocations: 19.06 kB / 1.09 GB, free: 260.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/1.48, allocations: 383.5 kB / 1.09 GB, free: 260.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/1.48, allocations: 84.48 kB / 1.091 GB, free: 260.4 MB / 0.7637 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.001069/1.481, allocations: 0.6479 MB / 1.091 GB, free: 259.9 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/1.482, allocations: 228 kB / 1.091 GB, free: 259.8 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/1.486, allocations: 3.112 MB / 1.094 GB, free: 258.1 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/1.486, allocations: 27.72 kB / 1.094 GB, free: 258.1 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.486, allocations: 0 / 1.094 GB, free: 258.1 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003121/1.489, allocations: 2.658 MB / 1.097 GB, free: 256.7 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008101/1.497, allocations: 6.219 MB / 1.103 GB, free: 252.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.497, allocations: 3.938 kB / 1.103 GB, free: 252.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002355/1.499, allocations: 0.5353 MB / 1.104 GB, free: 252.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/1.5, allocations: 9.812 kB / 1.104 GB, free: 252.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/1.5, allocations: 64.58 kB / 1.104 GB, free: 252.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/1.5, allocations: 17.78 kB / 1.104 GB, free: 252.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.5, allocations: 3.984 kB / 1.104 GB, free: 252.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005143/1.505, allocations: 4.566 MB / 1.108 GB, free: 248.6 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009964/1.506, allocations: 0.6148 MB / 1.109 GB, free: 247.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/1.506, allocations: 48 kB / 1.109 GB, free: 247.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/1.508, allocations: 230.2 kB / 1.109 GB, free: 247.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/1.508, allocations: 161.9 kB / 1.109 GB, free: 247.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.508, allocations: 83.97 kB / 1.109 GB, free: 247.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009705/1.509, allocations: 0.9449 MB / 1.11 GB, free: 246.5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.509, allocations: 0 / 1.11 GB, free: 246.5 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001786/1.511, allocations: 0.9823 MB / 1.111 GB, free: 245.5 MB / 0.7637 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.0004995/1.512, allocations: 367.7 kB / 1.112 GB, free: 245.2 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00327/1.515, allocations: 2.762 MB / 1.114 GB, free: 242.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.515, allocations: 4 kB / 1.114 GB, free: 242.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/1.517, allocations: 1.504 MB / 1.116 GB, free: 240.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004811/1.521, allocations: 1.295 MB / 1.117 GB, free: 239.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007389/1.529, allocations: 7.237 MB / 1.124 GB, free: 232.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009269/1.53, allocations: 1.903 MB / 1.126 GB, free: 230.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002706/1.532, allocations: 0.8388 MB / 1.127 GB, free: 229.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006467/1.533, allocations: 203.4 kB / 1.127 GB, free: 229.6 MB / 0.7637 GB Notification: Performance of SimCode: time 9.12e-07/1.533, allocations: 0 / 1.127 GB, free: 229.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.06111/1.594, allocations: 47.51 MB / 1.173 GB, free: 182.8 MB / 0.7637 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)