Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001233/0.001233, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.766 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.606/0.606, allocations: 95.47 MB / 364.8 MB, free: 10.11 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.001352/0.001353, allocations: 67.89 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3996, allocations: 69.06 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6098/1.009, allocations: 221.5 MB / 0.718 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02992/1.039, allocations: 18.1 MB / 0.7357 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00624/1.046, allocations: 103.2 kB / 0.7358 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004979/1.051, allocations: 1.127 MB / 0.7369 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01159/1.062, allocations: 3.242 MB / 0.74 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007325/1.07, allocations: 2.17 MB / 0.7422 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01269/1.082, allocations: 10.48 MB / 0.7524 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005093/1.088, allocations: 2.297 MB / 0.7546 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007566/1.095, allocations: 2.592 MB / 0.7572 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006603/1.102, allocations: 3.122 MB / 0.7602 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001471/1.103, allocations: 180 kB / 0.7604 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007334/1.111, allocations: 2.339 MB / 0.7627 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002024/1.113, allocations: 0.8175 MB / 0.7635 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004601/1.117, allocations: 1.59 MB / 0.765 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01118/1.129, allocations: 4.705 MB / 0.7696 GB, free: 7.703 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.129, allocations: 0 / 0.7696 GB, free: 7.703 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.894e-06/1.129, allocations: 0 / 0.7696 GB, free: 7.703 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002159/1.129, allocations: 0 / 0.7696 GB, free: 7.703 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.01256/1.141, allocations: 3.581 MB / 0.7731 GB, free: 4.059 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.141, allocations: 11.98 kB / 0.7731 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/1.143, allocations: 333.4 kB / 0.7734 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00452/1.148, allocations: 1.71 MB / 0.7751 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/1.148, allocations: 188.8 kB / 0.7753 GB, free: 1.766 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000459/1.149, allocations: 247.9 kB / 0.7755 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005539/1.154, allocations: 2.968 MB / 0.7784 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.224e-05/1.154, allocations: 7.984 kB / 0.7784 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/1.154, allocations: 99.94 kB / 0.7785 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/1.154, allocations: 60 kB / 0.7786 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005761/1.16, allocations: 3.149 MB / 0.7817 GB, free: 11.12 MB / 0.5606 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.01756/1.178, allocations: 10.34 MB / 0.7918 GB, free: 96 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005451/1.183, allocations: 3.381 MB / 0.7951 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002996/1.186, allocations: 1.822 MB / 0.7968 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003129/1.19, allocations: 3.37 MB / 0.8001 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.924e-05/1.19, allocations: 69 kB / 0.8002 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=309): time 4.769e-06/1.19, allocations: 4 kB / 0.8002 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=329): time 0.02406/1.214, allocations: 9.527 MB / 0.8095 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/1.214, allocations: 115.6 kB / 0.8096 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/1.216, allocations: 1.309 MB / 0.8109 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003103/1.217, allocations: 85.64 kB / 0.811 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007158/1.217, allocations: 0.8639 MB / 0.8118 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/1.219, allocations: 1.105 MB / 0.8129 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/1.22, allocations: 494.4 kB / 0.8134 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.22, allocations: 301.1 kB / 0.8137 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/1.222, allocations: 1.212 MB / 0.8148 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/1.225, allocations: 1.575 MB / 0.8164 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005231/1.23, allocations: 2.989 MB / 0.8193 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.961e-05/1.23, allocations: 4 kB / 0.8193 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.007155/1.237, allocations: 3.764 MB / 0.823 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/1.237, allocations: 8 kB / 0.823 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/1.237, allocations: 4 kB / 0.823 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/1.238, allocations: 115.6 kB / 0.8231 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/1.241, allocations: 0.6475 MB / 0.8237 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/1.245, allocations: 5.233 MB / 0.8288 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/1.247, allocations: 227.7 kB / 0.8291 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004909/1.248, allocations: 112 kB / 0.8292 GB, free: 7.848 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (370): * Single equations (assignments): 366 * 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.001493/1.249, allocations: 0.5674 MB / 0.8297 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000958/1.25, allocations: 245 kB / 0.8299 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008931/1.259, allocations: 4.513 MB / 0.8344 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.767e-05/1.259, allocations: 43.94 kB / 0.8344 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.259, allocations: 4 kB / 0.8344 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.412e-05/1.259, allocations: 15.94 kB / 0.8344 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/1.272, allocations: 7.267 MB / 0.8415 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.273, allocations: 0 / 0.8415 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002861/1.275, allocations: 0.6165 MB / 0.8421 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002891/1.276, allocations: 103.2 kB / 0.8422 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002961/1.276, allocations: 79.97 kB / 0.8423 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/1.28, allocations: 5.229 MB / 0.8474 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.28, allocations: 4.031 kB / 0.8474 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009313/1.289, allocations: 5.927 MB / 0.8532 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.291, allocations: 0.6229 MB / 0.8538 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005403/1.291, allocations: 64 kB / 0.8539 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.293, allocations: 179.7 kB / 0.854 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004423/1.294, allocations: 218.5 kB / 0.8542 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000242/1.294, allocations: 116 kB / 0.8543 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001272/1.295, allocations: 0.9057 MB / 0.8552 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.51e-07/1.295, allocations: 0 / 0.8552 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002727/1.298, allocations: 1.047 MB / 0.8563 GB, free: 11 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 16 (volBotEas.dynBal.medium.p,volBotEas.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.p,volBotWes.dynBal.medium.T,oriEasTop.mExc,volTopEas.dynBal.medium.p,volTopEas.dynBal.medium.T,volTopWes.dynBal.medium.p,volTopWes.dynBal.medium.T,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (357): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001503/1.3, allocations: 0.7798 MB / 0.857 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005945/1.306, allocations: 3.695 MB / 0.8606 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.306, allocations: 4 kB / 0.8606 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003269/1.309, allocations: 2.285 MB / 0.8629 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/1.314, allocations: 1.138 MB / 0.864 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2462/1.56, allocations: 7.46 MB / 0.8713 GB, free: 266.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/1.562, allocations: 1.76 MB / 0.873 GB, free: 265.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004574/1.567, allocations: 0.9106 MB / 0.8739 GB, free: 265.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.568, allocations: 263.8 kB / 0.8741 GB, free: 265.8 MB / 0.6387 GB Notification: Performance of SimCode: time 2.324e-06/1.568, allocations: 0 / 0.8741 GB, free: 265.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.07482/1.643, allocations: 53.96 MB / 0.9268 GB, free: 223.7 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)