Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001207/0.001207, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001888/0.001888, allocations: 270.9 kB / 291.3 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9791/0.9791, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004781, allocations: 14.72 kB / 0.598 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1884, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6868/0.8753, allocations: 287.1 MB / 0.9648 GB, free: 1.047 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02542/0.9007, allocations: 17.36 MB / 0.9818 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004311/0.9051, allocations: 75.56 kB / 0.9818 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005378/0.9105, allocations: 1.402 MB / 0.9832 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0165/0.927, allocations: 5.328 MB / 0.9884 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007028/0.934, allocations: 2.237 MB / 0.9906 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.013/0.947, allocations: 10.99 MB / 1.001 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004447/0.9515, allocations: 2.364 MB / 1.004 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006287/0.9579, allocations: 2.861 MB / 1.006 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00583/0.9637, allocations: 3.15 MB / 1.01 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007705/0.9645, allocations: 203.8 kB / 1.01 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/0.9753, allocations: 3.484 MB / 1.013 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002642/0.978, allocations: 1.472 MB / 1.015 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.9798, allocations: 0.8006 MB / 1.015 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007565/0.9874, allocations: 5.397 MB / 1.021 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9874, allocations: 0 / 1.021 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9874, allocations: 0 / 1.021 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.899e-05/0.9875, allocations: 0 / 1.021 GB, free: 7.758 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01028/0.9978, allocations: 4.359 MB / 1.025 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.9978, allocations: 8.031 kB / 1.025 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006434/1.004, allocations: 1.01 MB / 1.026 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003837/1.008, allocations: 2.093 MB / 1.028 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/1.008, allocations: 254.4 kB / 1.028 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004826/1.009, allocations: 323.9 kB / 1.028 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007094/1.016, allocations: 4.2 MB / 1.033 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-05/1.016, allocations: 11.92 kB / 1.033 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003107/1.016, allocations: 139.9 kB / 1.033 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/1.017, allocations: 166.4 kB / 1.033 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007656/1.024, allocations: 4.764 MB / 1.038 GB, free: 6.227 MB / 0.7481 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.396/1.42, allocations: 14.38 MB / 1.052 GB, free: 184.8 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006515/1.427, allocations: 4.519 MB / 1.056 GB, free: 184.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003557/1.43, allocations: 2.435 MB / 1.058 GB, free: 184.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/1.432, allocations: 1.618 MB / 1.06 GB, free: 182.9 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/1.432, allocations: 77.02 kB / 1.06 GB, free: 182.9 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=392): time 6.302e-06/1.432, allocations: 0 / 1.06 GB, free: 182.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=392): time 0.008817/1.441, allocations: 5.513 MB / 1.065 GB, free: 182.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/1.441, allocations: 95.44 kB / 1.065 GB, free: 182.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/1.443, allocations: 1.671 MB / 1.067 GB, free: 182.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002228/1.443, allocations: 94.73 kB / 1.067 GB, free: 182.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006624/1.444, allocations: 1.13 MB / 1.068 GB, free: 181.9 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008863/1.445, allocations: 1.324 MB / 1.07 GB, free: 181.1 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/1.445, allocations: 67.31 kB / 1.07 GB, free: 181.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.445, allocations: 442.3 kB / 1.07 GB, free: 180.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002319/1.447, allocations: 1.554 MB / 1.072 GB, free: 180.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/1.45, allocations: 1.897 MB / 1.073 GB, free: 180.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/1.452, allocations: 1.831 MB / 1.075 GB, free: 180.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.505e-06/1.452, allocations: 0 / 1.075 GB, free: 180.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005792/1.458, allocations: 4.156 MB / 1.079 GB, free: 180.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.458, allocations: 9.531 kB / 1.079 GB, free: 180.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.458, allocations: 5.281 kB / 1.079 GB, free: 180.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/1.458, allocations: 24.27 kB / 1.079 GB, free: 180.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/1.461, allocations: 0.6939 MB / 1.08 GB, free: 180.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.269e-05/1.461, allocations: 22.95 kB / 1.08 GB, free: 180.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002954/1.464, allocations: 482 kB / 1.08 GB, free: 180.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/1.464, allocations: 115 kB / 1.081 GB, free: 180.1 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001596/1.465, allocations: 0.8022 MB / 1.081 GB, free: 180 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/1.466, allocations: 296.6 kB / 1.082 GB, free: 179.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006372/1.472, allocations: 4.417 MB / 1.086 GB, free: 179.6 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/1.472, allocations: 37.19 kB / 1.086 GB, free: 179.6 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.472, allocations: 0 / 1.086 GB, free: 179.6 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00443/1.477, allocations: 3.779 MB / 1.09 GB, free: 179.1 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/1.489, allocations: 8.623 MB / 1.098 GB, free: 176.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.489, allocations: 1.859 kB / 1.098 GB, free: 176.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/1.492, allocations: 0.7228 MB / 1.099 GB, free: 176.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.303e-05/1.492, allocations: 15.81 kB / 1.099 GB, free: 176.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/1.492, allocations: 83.89 kB / 1.099 GB, free: 176.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.865e-05/1.492, allocations: 18.09 kB / 1.099 GB, free: 176.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.492, allocations: 3.938 kB / 1.099 GB, free: 176.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008292/1.5, allocations: 6.548 MB / 1.105 GB, free: 175.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/1.502, allocations: 0.7921 MB / 1.106 GB, free: 175 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/1.502, allocations: 74.05 kB / 1.106 GB, free: 175 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.504, allocations: 262.1 kB / 1.106 GB, free: 174.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/1.505, allocations: 239.9 kB / 1.107 GB, free: 174.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/1.505, allocations: 114.2 kB / 1.107 GB, free: 174.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001287/1.506, allocations: 1.142 MB / 1.108 GB, free: 174.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.506, allocations: 0 / 1.108 GB, free: 174.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002353/1.509, allocations: 1.229 MB / 1.109 GB, free: 174 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008311/1.51, allocations: 479.9 kB / 1.11 GB, free: 173.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004827/1.514, allocations: 3.904 MB / 1.113 GB, free: 170 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.514, allocations: 0 / 1.113 GB, free: 170 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/1.517, allocations: 2.138 MB / 1.115 GB, free: 167.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005595/1.522, allocations: 1.542 MB / 1.117 GB, free: 166.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.534, allocations: 9.225 MB / 1.126 GB, free: 157.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/1.535, allocations: 2.201 MB / 1.128 GB, free: 155 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004167/1.54, allocations: 1.216 MB / 1.129 GB, free: 153.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008702/1.54, allocations: 267.4 kB / 1.13 GB, free: 153.6 MB / 0.7481 GB Notification: Performance of SimCode: time 1.092e-06/1.54, allocations: 0 / 1.13 GB, free: 153.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.07526/1.616, allocations: 56.94 MB / 1.185 GB, free: 97.55 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)