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.001133/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001745/0.001745, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.67/1.67, allocations: 205.1 MB / 222 MB, free: 4.738 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.6073/0.6073, allocations: 95.48 MB / 364.8 MB, free: 10.07 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.001374/0.001374, allocations: 63.92 kB / 444.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3881, allocations: 69.07 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5462/0.9343, allocations: 211.4 MB / 0.7081 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02403/0.9583, allocations: 16.29 MB / 0.724 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005464/0.9639, allocations: 102.9 kB / 0.7241 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004254/0.9682, allocations: 0.9783 MB / 0.7251 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.9786, allocations: 2.837 MB / 0.7278 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006958/0.9856, allocations: 1.91 MB / 0.7297 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01156/0.9971, allocations: 8.694 MB / 0.7382 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003142/1, allocations: 1.754 MB / 0.7399 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/1.005, allocations: 2.074 MB / 0.7419 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004341/1.009, allocations: 2.534 MB / 0.7444 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006311/1.01, allocations: 139.9 kB / 0.7445 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00544/1.015, allocations: 2.082 MB / 0.7466 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000834/1.016, allocations: 0.5955 MB / 0.7471 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002043/1.018, allocations: 1.244 MB / 0.7484 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006396/1.025, allocations: 3.774 MB / 0.752 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.025, allocations: 4 kB / 0.752 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.42e-07/1.025, allocations: 0 / 0.752 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.13e-05/1.025, allocations: 0 / 0.752 GB, free: 9.766 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.005918/1.031, allocations: 2.864 MB / 0.7548 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/1.031, allocations: 11.98 kB / 0.7548 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007554/1.031, allocations: 266 kB / 0.7551 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/1.034, allocations: 1.487 MB / 0.7566 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.8e-05/1.034, allocations: 143.6 kB / 0.7567 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/1.034, allocations: 192 kB / 0.7569 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/1.038, allocations: 2.189 MB / 0.759 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/1.038, allocations: 7.906 kB / 0.759 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/1.038, allocations: 76 kB / 0.7591 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/1.038, allocations: 48 kB / 0.7591 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003498/1.042, allocations: 2.157 MB / 0.7612 GB, free: 172 kB / 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.01076/1.052, allocations: 8.257 MB / 0.7693 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003298/1.056, allocations: 2.234 MB / 0.7715 GB, free: 5.047 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002204/1.058, allocations: 1.344 MB / 0.7728 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00296/1.061, allocations: 3.278 MB / 0.776 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/1.061, allocations: 56.56 kB / 0.7761 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=215): time 3.406e-06/1.061, allocations: 0 / 0.7761 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=235): time 0.01708/1.078, allocations: 7.286 MB / 0.7832 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/1.078, allocations: 77.41 kB / 0.7832 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/1.08, allocations: 1.114 MB / 0.7843 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.08, allocations: 65.7 kB / 0.7844 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004889/1.08, allocations: 0.7254 MB / 0.7851 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005975/1.081, allocations: 0.7968 MB / 0.7859 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005055/1.081, allocations: 351.8 kB / 0.7862 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/1.081, allocations: 309.1 kB / 0.7865 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/1.083, allocations: 0.8279 MB / 0.7873 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/1.084, allocations: 1.1 MB / 0.7884 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003135/1.088, allocations: 2.077 MB / 0.7904 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.088, allocations: 4 kB / 0.7904 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.004411/1.092, allocations: 2.78 MB / 0.7931 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.092, allocations: 4 kB / 0.7931 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/1.092, allocations: 8 kB / 0.7932 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/1.092, allocations: 95.39 kB / 0.7932 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.094, allocations: 495.4 kB / 0.7937 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/1.098, allocations: 5.233 MB / 0.7988 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/1.1, allocations: 179.9 kB / 0.799 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/1.1, allocations: 80.94 kB / 0.7991 GB, free: 7.117 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.0008455/1.101, allocations: 468 kB / 0.7995 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/1.101, allocations: 185.8 kB / 0.7997 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005032/1.106, allocations: 3.214 MB / 0.8028 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/1.106, allocations: 28 kB / 0.8029 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.106, allocations: 4 kB / 0.8029 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/1.106, allocations: 15.94 kB / 0.8029 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008124/1.114, allocations: 5.509 MB / 0.8083 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.114, allocations: 0 / 0.8083 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.117, allocations: 463.4 kB / 0.8087 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/1.117, allocations: 107.2 kB / 0.8088 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/1.117, allocations: 59.98 kB / 0.8089 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003127/1.12, allocations: 5.221 MB / 0.814 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.12, allocations: 4.188 kB / 0.814 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006337/1.127, allocations: 4.341 MB / 0.8182 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.128, allocations: 494.5 kB / 0.8187 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/1.128, allocations: 48 kB / 0.8187 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.129, allocations: 151.6 kB / 0.8189 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/1.13, allocations: 165.8 kB / 0.819 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/1.13, allocations: 91.89 kB / 0.8191 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001234/1.131, allocations: 0.7547 MB / 0.8199 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.131, allocations: 0 / 0.8199 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002515/1.134, allocations: 0.8241 MB / 0.8207 GB, free: 15.9 MB / 0.6075 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.001583/1.135, allocations: 0.6808 MB / 0.8213 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004708/1.14, allocations: 2.735 MB / 0.824 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.14, allocations: 0 / 0.824 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002547/1.143, allocations: 1.765 MB / 0.8257 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/1.147, allocations: 0.9512 MB / 0.8266 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008849/1.156, allocations: 5.795 MB / 0.8323 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009919/1.157, allocations: 1.535 MB / 0.8338 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002609/1.16, allocations: 0.6213 MB / 0.8344 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007002/1.16, allocations: 203.4 kB / 0.8346 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/1.16, allocations: 0 / 0.8346 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of Templates: time 0.3234/1.484, allocations: 43.75 MB / 0.8773 GB, free: 261.2 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (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)