Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009966/0.0009967, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008545/0.008545, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.888/1.888, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6594/0.6594, allocations: 95.63 MB / 366.4 MB, free: 10.28 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007821/0.0007821, allocations: 20 kB / 447.5 MB, free: 9.023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4018, allocations: 70.33 MB / 0.5057 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5811/0.983, allocations: 208.5 MB / 0.7093 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02267/1.006, allocations: 16.1 MB / 0.725 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004228/1.01, allocations: 92.78 kB / 0.7251 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003504/1.013, allocations: 0.9759 MB / 0.7261 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00877/1.022, allocations: 2.828 MB / 0.7288 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006083/1.028, allocations: 1.925 MB / 0.7307 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01177/1.04, allocations: 8.697 MB / 0.7392 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004195/1.044, allocations: 1.696 MB / 0.7409 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005666/1.05, allocations: 2.035 MB / 0.7428 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005758/1.056, allocations: 2.483 MB / 0.7453 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005793/1.057, allocations: 116 kB / 0.7454 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006286/1.063, allocations: 2.066 MB / 0.7474 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007941/1.064, allocations: 0.5603 MB / 0.7479 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002145/1.066, allocations: 1.241 MB / 0.7492 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006315/1.072, allocations: 3.709 MB / 0.7528 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.072, allocations: 0 / 0.7528 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/1.072, allocations: 0 / 0.7528 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.37e-05/1.072, allocations: 0 / 0.7528 GB, free: 15.41 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005333/1.078, allocations: 2.486 MB / 0.7552 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.078, allocations: 11.98 kB / 0.7552 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006863/1.078, allocations: 266 kB / 0.7555 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/1.081, allocations: 1.483 MB / 0.7569 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/1.081, allocations: 139.7 kB / 0.757 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/1.081, allocations: 184 kB / 0.7572 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/1.085, allocations: 2.193 MB / 0.7594 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/1.085, allocations: 3.938 kB / 0.7594 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/1.085, allocations: 80 kB / 0.7594 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/1.085, allocations: 48 kB / 0.7595 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/1.088, allocations: 2.153 MB / 0.7616 GB, free: 6.266 MB / 0.5294 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.01089/1.099, allocations: 8.277 MB / 0.7697 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/1.102, allocations: 2.234 MB / 0.7719 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/1.104, allocations: 1.332 MB / 0.7732 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002638/1.107, allocations: 3.281 MB / 0.7764 GB, free: 5.898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/1.107, allocations: 60.56 kB / 0.7764 GB, free: 5.832 MB / 0.545 GB Notification: Performance of pre-optimization done (n=215): time 3.346e-06/1.107, allocations: 0 / 0.7764 GB, free: 5.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=235): time 0.01817/1.125, allocations: 7.387 MB / 0.7836 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/1.125, allocations: 77.41 kB / 0.7837 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/1.127, allocations: 1.114 MB / 0.7848 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/1.127, allocations: 69.64 kB / 0.7849 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000491/1.127, allocations: 0.7215 MB / 0.7856 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/1.128, allocations: 0.7991 MB / 0.7863 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/1.128, allocations: 169.8 kB / 0.7865 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/1.129, allocations: 313 kB / 0.7868 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/1.13, allocations: 0.8318 MB / 0.7876 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/1.131, allocations: 1.092 MB / 0.7887 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/1.135, allocations: 2.081 MB / 0.7907 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.135, allocations: 4 kB / 0.7907 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.004319/1.139, allocations: 2.76 MB / 0.7934 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.139, allocations: 12.06 kB / 0.7934 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.139, allocations: 7.984 kB / 0.7934 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/1.139, allocations: 99.39 kB / 0.7935 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/1.141, allocations: 487.3 kB / 0.794 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/1.145, allocations: 5.249 MB / 0.7991 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/1.146, allocations: 187.7 kB / 0.7993 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/1.147, allocations: 83.97 kB / 0.7994 GB, free: 13.39 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (264): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008773/1.148, allocations: 461.2 kB / 0.7998 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003227/1.148, allocations: 189.8 kB / 0.8 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/1.153, allocations: 3.201 MB / 0.8031 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/1.153, allocations: 27.98 kB / 0.8032 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.153, allocations: 4 kB / 0.8032 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/1.153, allocations: 11.95 kB / 0.8032 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008693/1.162, allocations: 5.514 MB / 0.8086 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/1.162, allocations: 3.938 kB / 0.8086 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/1.164, allocations: 470 kB / 0.809 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003492/1.164, allocations: 91.38 kB / 0.8091 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000302/1.165, allocations: 63.97 kB / 0.8092 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00557/1.17, allocations: 5.225 MB / 0.8143 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.17, allocations: 8 kB / 0.8143 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008285/1.179, allocations: 4.337 MB / 0.8185 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.18, allocations: 0.5139 MB / 0.819 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005464/1.181, allocations: 47.98 kB / 0.8191 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/1.183, allocations: 151.7 kB / 0.8192 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000355/1.183, allocations: 161.8 kB / 0.8194 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000248/1.183, allocations: 83.89 kB / 0.8194 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001358/1.185, allocations: 0.7586 MB / 0.8202 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/1.185, allocations: 0 / 0.8202 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002988/1.188, allocations: 0.8279 MB / 0.821 GB, free: 6.227 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 14 (volEas.dynBal.medium.p,volEas.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.p,volOut.dynBal.medium.T,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.p,volTop.dynBal.medium.T,volWes.dynBal.medium.p,volWes.dynBal.medium.T) * 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 (257): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001769/1.189, allocations: 0.6698 MB / 0.8216 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005007/1.194, allocations: 2.739 MB / 0.8243 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.194, allocations: 0 / 0.8243 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002729/1.197, allocations: 1.776 MB / 0.826 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005283/1.202, allocations: 0.9355 MB / 0.827 GB, free: 0 / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/1.212, allocations: 6.034 MB / 0.8328 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.214, allocations: 1.539 MB / 0.8344 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002858/1.217, allocations: 0.6205 MB / 0.835 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00083/1.217, allocations: 203.3 kB / 0.8352 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of SimCode: time 1.232e-06/1.217, allocations: 0 / 0.8352 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.3499/1.567, allocations: 43.4 MB / 0.8775 GB, free: 268 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: