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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(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.001635/0.001635, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002028/0.002028, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.5 kB / 0.9115 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.32, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9594/1.279, allocations: 291.7 MB / 1.353 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02284/1.302, allocations: 16.93 MB / 1.369 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004393/1.307, allocations: 70.91 kB / 1.369 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004972/1.312, allocations: 1.703 MB / 1.371 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01547/1.327, allocations: 6.059 MB / 1.377 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007844/1.335, allocations: 2.701 MB / 1.379 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01083/1.346, allocations: 7.706 MB / 1.387 GB, free: 12.14 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003884/1.35, allocations: 2.529 MB / 1.389 GB, free: 11.06 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006271/1.356, allocations: 2.82 MB / 1.392 GB, free: 9.984 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006534/1.363, allocations: 2.876 MB / 1.395 GB, free: 8.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001199/1.364, allocations: 331.6 kB / 1.395 GB, free: 8.566 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/1.381, allocations: 6.429 MB / 1.402 GB, free: 5.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002632/1.384, allocations: 1.339 MB / 1.403 GB, free: 4.914 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004345/1.388, allocations: 1.885 MB / 1.405 GB, free: 3.746 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01644/1.405, allocations: 7.281 MB / 1.412 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.405, allocations: 0 / 1.412 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/1.405, allocations: 0 / 1.412 GB, free: 15.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001461/1.405, allocations: 0 / 1.412 GB, free: 15.62 MB / 1.029 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.0116/1.417, allocations: 4.135 MB / 1.416 GB, free: 12.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.417, allocations: 10.75 kB / 1.416 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006787/1.423, allocations: 0.9041 MB / 1.417 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/1.427, allocations: 1.845 MB / 1.419 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/1.428, allocations: 199.3 kB / 1.419 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000578/1.428, allocations: 263.8 kB / 1.419 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005988/1.434, allocations: 3.339 MB / 1.422 GB, free: 7.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.565e-05/1.434, allocations: 11.92 kB / 1.422 GB, free: 7.059 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/1.434, allocations: 111.9 kB / 1.422 GB, free: 6.953 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/1.435, allocations: 133 kB / 1.422 GB, free: 6.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006055/1.441, allocations: 3.498 MB / 1.426 GB, free: 3.309 MB / 1.029 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.01659/1.457, allocations: 12.09 MB / 1.438 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004884/1.462, allocations: 3.498 MB / 1.441 GB, free: 2.859 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/1.465, allocations: 1.823 MB / 1.443 GB, free: 1.035 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/1.467, allocations: 1.49 MB / 1.444 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/1.467, allocations: 64.75 kB / 1.444 GB, free: 15.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=278): time 4.569e-06/1.467, allocations: 384 / 1.444 GB, free: 15.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=278): time 0.007034/1.474, allocations: 3.892 MB / 1.448 GB, free: 11.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/1.474, allocations: 81.59 kB / 1.448 GB, free: 11.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/1.476, allocations: 1.379 MB / 1.45 GB, free: 9.742 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003927/1.477, allocations: 73.7 kB / 1.45 GB, free: 9.664 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007642/1.477, allocations: 0.9804 MB / 1.451 GB, free: 8.672 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/1.478, allocations: 0.9507 MB / 1.452 GB, free: 7.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008068/1.479, allocations: 404.9 kB / 1.452 GB, free: 7.328 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.479, allocations: 305.1 kB / 1.452 GB, free: 7.027 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/1.481, allocations: 1.098 MB / 1.453 GB, free: 5.926 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/1.484, allocations: 1.362 MB / 1.455 GB, free: 4.496 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004508/1.488, allocations: 2.646 MB / 1.457 GB, free: 1.758 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/1.488, allocations: 0 / 1.457 GB, free: 1.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005899/1.494, allocations: 2.981 MB / 1.46 GB, free: 14.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/1.494, allocations: 7.938 kB / 1.46 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/1.494, allocations: 4 kB / 1.46 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.989e-05/1.494, allocations: 19.94 kB / 1.46 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/1.497, allocations: 0.5115 MB / 1.461 GB, free: 14.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.646e-05/1.497, allocations: 23.94 kB / 1.461 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/1.5, allocations: 377.7 kB / 1.461 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/1.501, allocations: 83.98 kB / 1.461 GB, free: 13.71 MB / 1.076 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.001766/1.502, allocations: 0.6416 MB / 1.462 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008979/1.503, allocations: 233.3 kB / 1.462 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00634/1.51, allocations: 3.112 MB / 1.465 GB, free: 9.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.51, allocations: 28 kB / 1.465 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.51, allocations: 0 / 1.465 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004585/1.514, allocations: 2.653 MB / 1.468 GB, free: 6.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/1.527, allocations: 6.222 MB / 1.474 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.527, allocations: 0 / 1.474 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002654/1.529, allocations: 0.5423 MB / 1.474 GB, free: 112 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.103e-05/1.529, allocations: 12 kB / 1.474 GB, free: 100 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002365/1.53, allocations: 59.98 kB / 1.474 GB, free: 40 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.857e-05/1.53, allocations: 8 kB / 1.474 GB, free: 32 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.53, allocations: 0 / 1.474 GB, free: 32 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007934/1.538, allocations: 4.573 MB / 1.479 GB, free: 11.38 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.54, allocations: 0.6071 MB / 1.479 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006635/1.54, allocations: 52 kB / 1.479 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/1.543, allocations: 234.1 kB / 1.48 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/1.543, allocations: 165.9 kB / 1.48 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/1.544, allocations: 75.98 kB / 1.48 GB, free: 10.23 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001731/1.545, allocations: 0.9462 MB / 1.481 GB, free: 9.289 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.545, allocations: 0 / 1.481 GB, free: 9.289 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002986/1.548, allocations: 0.9823 MB / 1.482 GB, free: 8.305 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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.0007708/1.549, allocations: 370.6 kB / 1.482 GB, free: 7.941 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01316/1.562, allocations: 5.536 MB / 1.488 GB, free: 2.375 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.562, allocations: 0 / 1.488 GB, free: 2.375 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00252/1.565, allocations: 1.507 MB / 1.489 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007345/1.572, allocations: 1.362 MB / 1.49 GB, free: 15.53 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/1.585, allocations: 7.234 MB / 1.497 GB, free: 8.266 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002222/1.587, allocations: 1.895 MB / 1.499 GB, free: 6.332 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004007/1.591, allocations: 0.8397 MB / 1.5 GB, free: 5.488 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.592, allocations: 203.4 kB / 1.5 GB, free: 5.289 MB / 1.107 GB Notification: Performance of SimCode: time 1.122e-06/1.592, allocations: 0 / 1.5 GB, free: 5.289 MB / 1.107 GB Notification: Performance of Templates: time 0.08053/1.673, allocations: 49.36 MB / 1.548 GB, free: 4.539 MB / 1.154 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)