Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001941/0.001941, 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.002414/0.002414, allocations: 189.8 kB / 16.25 MB, free: 6.625 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.459/1.459, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 69.56 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5044, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.248/1.753, allocations: 291.7 MB / 1.353 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02717/1.78, allocations: 16.93 MB / 1.369 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006394/1.786, allocations: 70.19 kB / 1.369 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006773/1.793, allocations: 1.697 MB / 1.371 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02261/1.816, allocations: 6.062 MB / 1.377 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01028/1.826, allocations: 2.701 MB / 1.379 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01363/1.84, allocations: 7.71 MB / 1.387 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005027/1.845, allocations: 2.532 MB / 1.389 GB, free: 11.08 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008245/1.853, allocations: 2.819 MB / 1.392 GB, free: 10 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007498/1.861, allocations: 2.866 MB / 1.395 GB, free: 8.625 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001446/1.862, allocations: 326.3 kB / 1.395 GB, free: 8.625 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01725/1.879, allocations: 6.431 MB / 1.402 GB, free: 5.875 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003069/1.882, allocations: 1.347 MB / 1.403 GB, free: 4.961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005272/1.888, allocations: 1.88 MB / 1.405 GB, free: 3.797 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02053/1.908, allocations: 7.285 MB / 1.412 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/1.908, allocations: 2.75 kB / 1.412 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/1.908, allocations: 0 / 1.412 GB, free: 15.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002148/1.909, allocations: 0 / 1.412 GB, free: 15.66 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.01605/1.925, allocations: 4.13 MB / 1.416 GB, free: 12.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/1.925, allocations: 12.34 kB / 1.416 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006774/1.932, allocations: 0.9074 MB / 1.417 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/1.937, allocations: 1.846 MB / 1.419 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/1.937, allocations: 196.5 kB / 1.419 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004521/1.937, allocations: 254.9 kB / 1.419 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00686/1.944, allocations: 3.346 MB / 1.422 GB, free: 7.094 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.034e-05/1.944, allocations: 4 kB / 1.422 GB, free: 7.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/1.944, allocations: 110.9 kB / 1.422 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/1.945, allocations: 141 kB / 1.422 GB, free: 6.844 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006104/1.951, allocations: 3.498 MB / 1.426 GB, free: 3.332 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.02094/1.972, allocations: 12.09 MB / 1.438 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004731/1.976, allocations: 3.496 MB / 1.441 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00287/1.979, allocations: 1.831 MB / 1.443 GB, free: 1.059 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/1.981, allocations: 1.488 MB / 1.444 GB, free: 15.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.781e-05/1.981, allocations: 64.75 kB / 1.444 GB, free: 15.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=278): time 5.67e-06/1.981, allocations: 0 / 1.444 GB, free: 15.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=278): time 0.007102/1.988, allocations: 3.889 MB / 1.448 GB, free: 11.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/1.989, allocations: 85.58 kB / 1.448 GB, free: 11.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/1.991, allocations: 1.379 MB / 1.45 GB, free: 9.766 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002354/1.991, allocations: 73.7 kB / 1.45 GB, free: 9.688 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007334/1.992, allocations: 0.983 MB / 1.451 GB, free: 8.695 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.993, allocations: 0.9437 MB / 1.452 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006282/1.993, allocations: 408.8 kB / 1.452 GB, free: 7.352 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.994, allocations: 305.1 kB / 1.452 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/1.995, allocations: 1.094 MB / 1.453 GB, free: 5.953 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/1.997, allocations: 1.362 MB / 1.455 GB, free: 4.523 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003779/2.001, allocations: 2.65 MB / 1.457 GB, free: 1.781 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/2.001, allocations: 0 / 1.457 GB, free: 1.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005073/2.006, allocations: 2.97 MB / 1.46 GB, free: 14.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/2.006, allocations: 8 kB / 1.46 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/2.006, allocations: 7.938 kB / 1.46 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/2.006, allocations: 19.94 kB / 1.46 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/2.008, allocations: 0.5154 MB / 1.461 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/2.008, allocations: 19.92 kB / 1.461 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/2.012, allocations: 381.7 kB / 1.461 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/2.012, allocations: 84 kB / 1.461 GB, free: 13.74 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.001352/2.013, allocations: 0.6378 MB / 1.462 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005689/2.014, allocations: 233.3 kB / 1.462 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004997/2.019, allocations: 3.12 MB / 1.465 GB, free: 9.684 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/2.019, allocations: 28 kB / 1.465 GB, free: 9.656 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/2.019, allocations: 0 / 1.465 GB, free: 9.656 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003675/2.022, allocations: 2.649 MB / 1.468 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/2.033, allocations: 6.22 MB / 1.474 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/2.033, allocations: 0 / 1.474 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002522/2.035, allocations: 0.5462 MB / 1.474 GB, free: 136 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-05/2.035, allocations: 8 kB / 1.474 GB, free: 128 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/2.036, allocations: 63.98 kB / 1.474 GB, free: 64 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/2.036, allocations: 8 kB / 1.474 GB, free: 56 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.036, allocations: 0 / 1.474 GB, free: 56 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006933/2.043, allocations: 4.573 MB / 1.479 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/2.045, allocations: 0.6071 MB / 1.479 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003748/2.045, allocations: 52 kB / 1.479 GB, free: 10.72 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/2.047, allocations: 230.1 kB / 1.48 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/2.048, allocations: 158 kB / 1.48 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/2.048, allocations: 83.97 kB / 1.48 GB, free: 10.26 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00137/2.049, allocations: 0.9462 MB / 1.481 GB, free: 9.316 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.71e-07/2.049, allocations: 0 / 1.481 GB, free: 9.316 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002808/2.052, allocations: 0.9823 MB / 1.482 GB, free: 8.332 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.0008001/2.053, allocations: 374.1 kB / 1.482 GB, free: 7.969 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01368/2.066, allocations: 5.528 MB / 1.488 GB, free: 2.41 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/2.066, allocations: 4 kB / 1.488 GB, free: 2.406 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003366/2.07, allocations: 1.507 MB / 1.489 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009035/2.079, allocations: 1.364 MB / 1.49 GB, free: 15.57 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/2.094, allocations: 7.233 MB / 1.497 GB, free: 8.301 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/2.097, allocations: 1.903 MB / 1.499 GB, free: 6.359 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004812/2.102, allocations: 0.8436 MB / 1.5 GB, free: 5.512 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/2.103, allocations: 203.4 kB / 1.5 GB, free: 5.312 MB / 1.107 GB Notification: Performance of SimCode: time 1.603e-06/2.103, allocations: 0 / 1.5 GB, free: 5.312 MB / 1.107 GB Notification: Performance of Templates: time 0.0953/2.199, allocations: 49.37 MB / 1.548 GB, free: 4.547 MB / 1.154 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)