Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001501/0.001501, allocations: 104.2 kB / 16.64 MB, free: 6.82 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.001579/0.001579, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.331/1.331, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7517/0.7517, allocations: 122.9 MB / 414.3 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 55.91 kB / 0.4912 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4064, allocations: 77.92 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6992/1.106, allocations: 310.5 MB / 0.8706 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02917/1.135, allocations: 18.38 MB / 0.8885 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005527/1.14, allocations: 76.59 kB / 0.8886 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006715/1.147, allocations: 1.933 MB / 0.8905 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02074/1.168, allocations: 6.886 MB / 0.8972 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009984/1.178, allocations: 2.968 MB / 0.9001 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0143/1.192, allocations: 9.103 MB / 0.909 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005419/1.198, allocations: 3.041 MB / 0.912 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007756/1.206, allocations: 3.356 MB / 0.9153 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007723/1.213, allocations: 3.438 MB / 0.9186 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001769/1.215, allocations: 400 kB / 0.919 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01633/1.231, allocations: 7.305 MB / 0.9261 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002961/1.234, allocations: 1.683 MB / 0.9278 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005691/1.24, allocations: 2.31 MB / 0.93 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/1.251, allocations: 6.05 MB / 0.9359 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.251, allocations: 4 kB / 0.9359 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/1.251, allocations: 3.938 kB / 0.9359 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002149/1.251, allocations: 0 / 0.9359 GB, free: 13.51 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01561/1.267, allocations: 4.993 MB / 0.9408 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.267, allocations: 8.625 kB / 0.9408 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007747/1.275, allocations: 1.014 MB / 0.9418 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005138/1.28, allocations: 2.162 MB / 0.9439 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/1.28, allocations: 242.5 kB / 0.9442 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/1.281, allocations: 323.9 kB / 0.9445 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/1.291, allocations: 4.243 MB / 0.9486 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/1.292, allocations: 4 kB / 0.9486 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007804/1.292, allocations: 136 kB / 0.9488 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/1.293, allocations: 170.3 kB / 0.9489 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/1.304, allocations: 4.78 MB / 0.9536 GB, free: 11.23 MB / 0.67 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.03674/1.341, allocations: 14.37 MB / 0.9676 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/1.352, allocations: 4.574 MB / 0.9721 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006276/1.358, allocations: 2.448 MB / 0.9745 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002467/1.361, allocations: 1.612 MB / 0.976 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/1.361, allocations: 77.64 kB / 0.9761 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=392): time 1.55e-05/1.361, allocations: 4 kB / 0.9761 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of matching and sorting (n=392): time 0.0161/1.377, allocations: 5.531 MB / 0.9815 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/1.377, allocations: 90.48 kB / 0.9816 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/1.381, allocations: 1.682 MB / 0.9833 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007919/1.382, allocations: 97.64 kB / 0.9833 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009974/1.383, allocations: 1.132 MB / 0.9845 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001865/1.385, allocations: 1.328 MB / 0.9857 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/1.386, allocations: 0.5468 MB / 0.9863 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.387, allocations: 309.1 kB / 0.9866 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003109/1.39, allocations: 1.56 MB / 0.9881 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003191/1.393, allocations: 1.912 MB / 0.99 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006208/1.399, allocations: 3.766 MB / 0.9936 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/1.399, allocations: 4 kB / 0.9937 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008184/1.407, allocations: 4.173 MB / 0.9977 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/1.407, allocations: 8 kB / 0.9977 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/1.407, allocations: 4 kB / 0.9977 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.189e-05/1.407, allocations: 20 kB / 0.9978 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/1.411, allocations: 0.7028 MB / 0.9984 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.013e-05/1.411, allocations: 27.86 kB / 0.9985 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003993/1.415, allocations: 484.7 kB / 0.9989 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004506/1.415, allocations: 116 kB / 0.999 GB, free: 11.04 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.002122/1.417, allocations: 0.7938 MB / 0.9998 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.419, allocations: 288.5 kB / 1 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008351/1.427, allocations: 4.429 MB / 1.004 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/1.427, allocations: 36 kB / 1.004 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/1.427, allocations: 3.938 kB / 1.004 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006026/1.433, allocations: 3.792 MB / 1.008 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/1.451, allocations: 8.64 MB / 1.017 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/1.451, allocations: 4 kB / 1.017 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003875/1.455, allocations: 0.7181 MB / 1.017 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.587e-05/1.455, allocations: 16 kB / 1.017 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000627/1.456, allocations: 87.97 kB / 1.017 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.191e-05/1.456, allocations: 16 kB / 1.017 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.456, allocations: 11.94 kB / 1.017 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.467, allocations: 6.558 MB / 1.024 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/1.47, allocations: 0.8011 MB / 1.025 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.471, allocations: 75.94 kB / 1.025 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003502/1.474, allocations: 263.5 kB / 1.025 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3489/1.823, allocations: 231.3 kB / 1.025 GB, free: 313.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007963/1.824, allocations: 113.9 kB / 1.025 GB, free: 313.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002219/1.826, allocations: 1.158 MB / 1.026 GB, free: 313.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.826, allocations: 0 / 1.026 GB, free: 313.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004436/1.831, allocations: 1.229 MB / 1.028 GB, free: 313.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,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 (392): * Single equations (assignments): 392 * 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.001257/1.832, allocations: 465.4 kB / 1.028 GB, free: 313.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02661/1.859, allocations: 9.836 MB / 1.038 GB, free: 312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.859, allocations: 1.656 kB / 1.038 GB, free: 312 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003822/1.863, allocations: 2.152 MB / 1.04 GB, free: 311.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007979/1.871, allocations: 1.613 MB / 1.041 GB, free: 310.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.884, allocations: 9.336 MB / 1.05 GB, free: 306.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/1.886, allocations: 2.204 MB / 1.053 GB, free: 305.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/1.888, allocations: 308.4 kB / 1.053 GB, free: 305.2 MB / 0.7325 GB Notification: Performance of SimCode: time 8.22e-07/1.888, allocations: 1.312 kB / 1.053 GB, free: 305.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.07658/1.964, allocations: 54.4 MB / 1.106 GB, free: 256.6 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)