Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00148/0.001481, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001159/0.001159, allocations: 190.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.2 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 66.05 kB / 0.671 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2371, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7764/1.013, allocations: 291.6 MB / 1.068 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0247/1.038, allocations: 16.79 MB / 1.084 GB, free: 14.1 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005984/1.044, allocations: 65.69 kB / 1.084 GB, free: 14.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00656/1.051, allocations: 1.707 MB / 1.086 GB, free: 12.72 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01743/1.068, allocations: 5.985 MB / 1.092 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.008285/1.077, allocations: 2.752 MB / 1.094 GB, free: 4.324 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0109/1.088, allocations: 7.643 MB / 1.102 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004303/1.092, allocations: 2.5 MB / 1.104 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00666/1.099, allocations: 2.822 MB / 1.107 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005922/1.105, allocations: 2.87 MB / 1.11 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001048/1.106, allocations: 328 kB / 1.11 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/1.119, allocations: 6.432 MB / 1.116 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002253/1.122, allocations: 1.34 MB / 1.118 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003953/1.126, allocations: 1.886 MB / 1.12 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/1.141, allocations: 7.28 MB / 1.127 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.141, allocations: 0 / 1.127 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.164e-06/1.141, allocations: 0 / 1.127 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001459/1.142, allocations: 4 kB / 1.127 GB, free: 3.113 MB / 0.8262 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.01164/1.153, allocations: 4.116 MB / 1.131 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/1.153, allocations: 12.02 kB / 1.131 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006583/1.16, allocations: 0.9132 MB / 1.132 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003918/1.164, allocations: 1.822 MB / 1.133 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/1.164, allocations: 197.1 kB / 1.134 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000485/1.165, allocations: 259.9 kB / 1.134 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005796/1.17, allocations: 3.334 MB / 1.137 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-05/1.17, allocations: 7.938 kB / 1.137 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/1.171, allocations: 104 kB / 1.137 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/1.171, allocations: 145 kB / 1.137 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005737/1.177, allocations: 3.486 MB / 1.141 GB, free: 4.48 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.01748/1.194, allocations: 12.06 MB / 1.152 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005366/1.2, allocations: 3.526 MB / 1.156 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/1.202, allocations: 1.822 MB / 1.158 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/1.204, allocations: 1.489 MB / 1.159 GB, free: 276 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/1.204, allocations: 64.75 kB / 1.159 GB, free: 200 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=278): time 6.262e-06/1.204, allocations: 4 kB / 1.159 GB, free: 196 kB / 0.8575 GB Notification: Performance of matching and sorting (n=278): time 0.006732/1.211, allocations: 3.873 MB / 1.163 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/1.211, allocations: 89.52 kB / 1.163 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/1.213, allocations: 1.359 MB / 1.164 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/1.213, allocations: 73.7 kB / 1.164 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006238/1.213, allocations: 0.9725 MB / 1.165 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.00087/1.214, allocations: 0.951 MB / 1.166 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006016/1.215, allocations: 404.9 kB / 1.167 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/1.215, allocations: 309.1 kB / 1.167 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/1.217, allocations: 1.086 MB / 1.168 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/1.219, allocations: 1.38 MB / 1.169 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/1.223, allocations: 2.658 MB / 1.172 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.223, allocations: 0 / 1.172 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004829/1.227, allocations: 2.959 MB / 1.175 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.227, allocations: 12 kB / 1.175 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.227, allocations: 8 kB / 1.175 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/1.228, allocations: 19.94 kB / 1.175 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/1.23, allocations: 0.5071 MB / 1.175 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-05/1.23, allocations: 16 kB / 1.175 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/1.232, allocations: 333.7 kB / 1.176 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/1.233, allocations: 83.98 kB / 1.176 GB, free: 14.79 MB / 0.8887 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.001257/1.234, allocations: 0.6423 MB / 1.176 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006878/1.235, allocations: 229.3 kB / 1.177 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005472/1.24, allocations: 3.104 MB / 1.18 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/1.24, allocations: 31.94 kB / 1.18 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.24, allocations: 4 kB / 1.18 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003907/1.244, allocations: 2.653 MB / 1.182 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/1.255, allocations: 6.189 MB / 1.188 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.255, allocations: 0 / 1.188 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/1.258, allocations: 0.554 MB / 1.189 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.431e-05/1.258, allocations: 8 kB / 1.189 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002433/1.258, allocations: 63.97 kB / 1.189 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.027e-05/1.258, allocations: 8 kB / 1.189 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.258, allocations: 0 / 1.189 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007414/1.266, allocations: 4.795 MB / 1.194 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.267, allocations: 0.6148 MB / 1.194 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006068/1.268, allocations: 55.94 kB / 1.194 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/1.27, allocations: 223.5 kB / 1.195 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/1.271, allocations: 162 kB / 1.195 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.271, allocations: 79.97 kB / 1.195 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001713/1.273, allocations: 0.9376 MB / 1.196 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/1.273, allocations: 0 / 1.196 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002972/1.276, allocations: 0.9784 MB / 1.197 GB, free: 9.125 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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.000724/1.276, allocations: 377.3 kB / 1.197 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.289, allocations: 5.539 MB / 1.202 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.289, allocations: 0 / 1.202 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003092/1.292, allocations: 1.507 MB / 1.204 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007443/1.3, allocations: 1.357 MB / 1.205 GB, free: 356 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/1.312, allocations: 7.177 MB / 1.212 GB, free: 9.125 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/1.314, allocations: 1.89 MB / 1.214 GB, free: 7.195 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.004016/1.318, allocations: 0.8395 MB / 1.215 GB, free: 6.352 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/1.319, allocations: 207.4 kB / 1.215 GB, free: 6.148 MB / 0.92 GB Notification: Performance of SimCode: time 1.903e-06/1.319, allocations: 0 / 1.215 GB, free: 6.148 MB / 0.92 GB Notification: Performance of Templates: time 0.0806/1.4, allocations: 49.52 MB / 1.263 GB, free: 5.227 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)