Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008579/0.0008581, allocations: 93.19 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 182.3 kB / 16.92 MB, free: 6.688 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.363/1.363, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7227/0.7227, allocations: 123 MB / 415.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 12 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4074, allocations: 79.29 MB / 0.5707 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7183/1.126, allocations: 288.9 MB / 0.8529 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02349/1.149, allocations: 17.05 MB / 0.8695 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004311/1.154, allocations: 73.16 kB / 0.8696 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004896/1.159, allocations: 1.65 MB / 0.8712 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01711/1.176, allocations: 6.082 MB / 0.8771 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008477/1.184, allocations: 2.671 MB / 0.8797 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01388/1.198, allocations: 11.21 MB / 0.8907 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004749/1.203, allocations: 2.125 MB / 0.8928 GB, free: 17.22 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006877/1.21, allocations: 2.342 MB / 0.8951 GB, free: 17.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007011/1.217, allocations: 2.731 MB / 0.8977 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001128/1.218, allocations: 156.3 kB / 0.8979 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01386/1.232, allocations: 7.158 MB / 0.9049 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002151/1.234, allocations: 1.157 MB / 0.906 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00406/1.238, allocations: 1.694 MB / 0.9076 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01702/1.255, allocations: 7.087 MB / 0.9146 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.255, allocations: 0 / 0.9146 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.765e-06/1.255, allocations: 0 / 0.9146 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001318/1.255, allocations: 4 kB / 0.9146 GB, free: 11.85 MB / 0.6544 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.0104/1.266, allocations: 3.556 MB / 0.918 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.266, allocations: 9.656 kB / 0.918 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006326/1.272, allocations: 0.9116 MB / 0.9189 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/1.275, allocations: 1.847 MB / 0.9207 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/1.275, allocations: 196 kB / 0.9209 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003824/1.276, allocations: 260.9 kB / 0.9212 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005225/1.281, allocations: 3.332 MB / 0.9244 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.884e-05/1.281, allocations: 9.688 kB / 0.9244 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/1.281, allocations: 104.9 kB / 0.9245 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/1.282, allocations: 136.9 kB / 0.9247 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005387/1.287, allocations: 3.498 MB / 0.9281 GB, free: 5.703 MB / 0.6544 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.01456/1.302, allocations: 12.11 MB / 0.9399 GB, free: 11.15 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004569/1.306, allocations: 3.503 MB / 0.9433 GB, free: 8.02 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002776/1.309, allocations: 1.802 MB / 0.9451 GB, free: 6.211 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/1.311, allocations: 1.499 MB / 0.9466 GB, free: 4.406 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/1.311, allocations: 67.28 kB / 0.9466 GB, free: 4.332 MB / 0.67 GB Notification: Performance of pre-optimization done (n=278): time 4.448e-06/1.311, allocations: 0 / 0.9466 GB, free: 4.332 MB / 0.67 GB Notification: Performance of matching and sorting (n=278): time 0.006772/1.318, allocations: 3.881 MB / 0.9504 GB, free: 412 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.318, allocations: 84.31 kB / 0.9505 GB, free: 316 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/1.32, allocations: 1.383 MB / 0.9518 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002414/1.32, allocations: 77.7 kB / 0.9519 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007024/1.321, allocations: 0.9843 MB / 0.9529 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008697/1.322, allocations: 0.947 MB / 0.9538 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/1.322, allocations: 198.6 kB / 0.954 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/1.322, allocations: 309.1 kB / 0.9543 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/1.324, allocations: 1.09 MB / 0.9553 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/1.326, allocations: 1.366 MB / 0.9567 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/1.33, allocations: 2.648 MB / 0.9593 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.33, allocations: 0 / 0.9593 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005094/1.335, allocations: 2.974 MB / 0.9622 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/1.335, allocations: 4 kB / 0.9622 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.335, allocations: 6.625 kB / 0.9622 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/1.335, allocations: 16 kB / 0.9622 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/1.337, allocations: 0.5168 MB / 0.9627 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.99e-05/1.337, allocations: 26.55 kB / 0.9627 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/1.34, allocations: 373.7 kB / 0.9631 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.34, allocations: 87.97 kB / 0.9632 GB, free: 3.168 MB / 0.6856 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.001253/1.342, allocations: 0.6416 MB / 0.9638 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004563/1.342, allocations: 233.3 kB / 0.964 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005377/1.348, allocations: 3.111 MB / 0.9671 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/1.348, allocations: 28 kB / 0.9671 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.348, allocations: 3.938 kB / 0.9671 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004009/1.352, allocations: 2.649 MB / 0.9697 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/1.362, allocations: 6.215 MB / 0.9757 GB, free: 6.152 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.362, allocations: 3.938 kB / 0.9757 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/1.365, allocations: 0.544 MB / 0.9763 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/1.365, allocations: 12 kB / 0.9763 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/1.365, allocations: 59.98 kB / 0.9763 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.485e-05/1.365, allocations: 11.98 kB / 0.9764 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.365, allocations: 4 kB / 0.9764 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00706/1.372, allocations: 4.564 MB / 0.9808 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.374, allocations: 0.6148 MB / 0.9814 GB, free: 272 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/1.374, allocations: 56 kB / 0.9815 GB, free: 216 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/1.376, allocations: 222.9 kB / 0.9817 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/1.377, allocations: 161.9 kB / 0.9818 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.377, allocations: 79.97 kB / 0.9819 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001332/1.378, allocations: 0.9423 MB / 0.9828 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/1.378, allocations: 2.812 kB / 0.9828 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002154/1.38, allocations: 0.9823 MB / 0.9838 GB, free: 13.84 MB / 0.7169 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.0006526/1.381, allocations: 384.4 kB / 0.9842 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004317/1.385, allocations: 2.77 MB / 0.9869 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.385, allocations: 0 / 0.9869 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/1.387, allocations: 1.51 MB / 0.9883 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005915/1.393, allocations: 1.283 MB / 0.9896 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.403, allocations: 7.528 MB / 0.9969 GB, free: 440 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/1.405, allocations: 1.891 MB / 0.9988 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002998/1.408, allocations: 0.8358 MB / 0.9996 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007196/1.409, allocations: 203.4 kB / 0.9998 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/1.409, allocations: 4 kB / 0.9998 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.07518/1.484, allocations: 47.12 MB / 1.046 GB, free: 14.97 MB / 0.7794 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)