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.001508/0.001508, allocations: 111.9 kB / 15.99 MB, free: 6.344 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.001553/0.001553, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 300.6 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.211/1.211, allocations: 178.5 MB / 0.5076 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 95.84 kB / 0.6066 GB, free: 9.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1777, allocations: 89.14 MB / 0.6936 GB, free: 476 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.001/1.178, allocations: 310.5 MB / 0.9969 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02309/1.202, allocations: 18.37 MB / 1.015 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004161/1.206, allocations: 81.55 kB / 1.015 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005765/1.211, allocations: 1.922 MB / 1.017 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01765/1.229, allocations: 6.894 MB / 1.024 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008948/1.238, allocations: 2.96 MB / 1.026 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0137/1.252, allocations: 9.107 MB / 1.035 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005055/1.257, allocations: 3.044 MB / 1.038 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007792/1.265, allocations: 3.359 MB / 1.042 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007567/1.272, allocations: 3.443 MB / 1.045 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001474/1.274, allocations: 403.2 kB / 1.045 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/1.289, allocations: 7.296 MB / 1.052 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002873/1.292, allocations: 1.686 MB / 1.054 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004387/1.296, allocations: 2.309 MB / 1.056 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.009487/1.305, allocations: 6.055 MB / 1.062 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.305, allocations: 0 / 1.062 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.933e-06/1.305, allocations: 0 / 1.062 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001534/1.306, allocations: 0 / 1.062 GB, free: 15.59 MB / 0.7481 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.01526/1.321, allocations: 4.994 MB / 1.067 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.321, allocations: 12.09 kB / 1.067 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007441/1.328, allocations: 1.009 MB / 1.068 GB, free: 13 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005057/1.334, allocations: 2.166 MB / 1.07 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/1.334, allocations: 242.4 kB / 1.07 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006638/1.334, allocations: 323.4 kB / 1.071 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007505/1.342, allocations: 4.237 MB / 1.075 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.559e-05/1.342, allocations: 9.109 kB / 1.075 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/1.342, allocations: 137 kB / 1.075 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/1.342, allocations: 171.5 kB / 1.075 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007478/1.35, allocations: 4.782 MB / 1.08 GB, free: 10.02 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.02244/1.372, allocations: 14.39 MB / 1.094 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007351/1.38, allocations: 4.552 MB / 1.098 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004158/1.384, allocations: 2.444 MB / 1.101 GB, free: 8.328 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002056/1.386, allocations: 1.61 MB / 1.102 GB, free: 6.398 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.718e-05/1.386, allocations: 77.64 kB / 1.102 GB, free: 6.312 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 5.099e-06/1.386, allocations: 0 / 1.102 GB, free: 6.312 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.01066/1.397, allocations: 5.534 MB / 1.108 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/1.397, allocations: 98.48 kB / 1.108 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/1.4, allocations: 1.678 MB / 1.11 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004557/1.4, allocations: 93.7 kB / 1.11 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009979/1.401, allocations: 1.134 MB / 1.111 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001621/1.403, allocations: 1.324 MB / 1.112 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/1.404, allocations: 0.543 MB / 1.113 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.404, allocations: 311.8 kB / 1.113 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/1.407, allocations: 1.568 MB / 1.114 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/1.41, allocations: 1.918 MB / 1.116 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006656/1.417, allocations: 3.764 MB / 1.12 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/1.417, allocations: 0 / 1.12 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007875/1.425, allocations: 4.178 MB / 1.124 GB, free: 15.96 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/1.425, allocations: 8.062 kB / 1.124 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.425, allocations: 8 kB / 1.124 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.583e-05/1.425, allocations: 20 kB / 1.124 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/1.428, allocations: 0.6943 MB / 1.125 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.686e-05/1.428, allocations: 22.44 kB / 1.125 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003712/1.432, allocations: 480.7 kB / 1.125 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/1.432, allocations: 120 kB / 1.125 GB, free: 14.66 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00176/1.434, allocations: 0.7982 MB / 1.126 GB, free: 13.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000812/1.435, allocations: 296.5 kB / 1.126 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008393/1.443, allocations: 4.437 MB / 1.131 GB, free: 9.141 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/1.443, allocations: 36 kB / 1.131 GB, free: 9.105 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/1.443, allocations: 6.625 kB / 1.131 GB, free: 9.102 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006315/1.45, allocations: 3.791 MB / 1.134 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/1.466, allocations: 8.637 MB / 1.143 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.466, allocations: 4.312 kB / 1.143 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003475/1.469, allocations: 0.7206 MB / 1.144 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.957e-05/1.469, allocations: 19.94 kB / 1.144 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/1.47, allocations: 83.98 kB / 1.144 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-05/1.47, allocations: 18.53 kB / 1.144 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.47, allocations: 3.984 kB / 1.144 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.48, allocations: 6.571 MB / 1.15 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002203/1.482, allocations: 0.7933 MB / 1.151 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/1.483, allocations: 71.98 kB / 1.151 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/1.486, allocations: 268.3 kB / 1.151 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000472/1.486, allocations: 233.1 kB / 1.151 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003081/1.487, allocations: 120 kB / 1.152 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001861/1.488, allocations: 1.149 MB / 1.153 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.5e-07/1.488, allocations: 4 kB / 1.153 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003089/1.492, allocations: 1.236 MB / 1.154 GB, free: 1.18 MB / 0.8106 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 (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.001025/1.493, allocations: 465.3 kB / 1.154 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02304/1.516, allocations: 9.833 MB / 1.164 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.516, allocations: 4 kB / 1.164 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003498/1.519, allocations: 2.154 MB / 1.166 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007986/1.527, allocations: 1.602 MB / 1.168 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.542, allocations: 9.339 MB / 1.177 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/1.545, allocations: 2.209 MB / 1.179 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/1.547, allocations: 307.4 kB / 1.179 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of SimCode: time 9.62e-07/1.547, allocations: 0 / 1.179 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of Templates: time 0.0908/1.637, allocations: 54.44 MB / 1.232 GB, free: 1.395 MB / 0.8887 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)