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.001429/0.001429, allocations: 106.3 kB / 16.4 MB, free: 6.449 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.001715/0.001715, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6916/0.6916, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 65.45 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6075/0.7262, allocations: 314.1 MB / 0.9388 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02608/0.7523, allocations: 18.45 MB / 0.9568 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00302/0.7553, allocations: 87.56 kB / 0.9569 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004797/0.7602, allocations: 2.152 MB / 0.959 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.018/0.7782, allocations: 7.318 MB / 0.9662 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008493/0.7867, allocations: 3.223 MB / 0.9693 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01142/0.7981, allocations: 9.101 MB / 0.9782 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00388/0.8021, allocations: 3.118 MB / 0.9813 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004784/0.8069, allocations: 3.352 MB / 0.9845 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004229/0.8111, allocations: 3.224 MB / 0.9877 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005355/0.8116, allocations: 404 kB / 0.9881 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01187/0.8235, allocations: 6.991 MB / 0.9949 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.825, allocations: 1.691 MB / 0.9965 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.8273, allocations: 2.303 MB / 0.9988 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.838, allocations: 8.19 MB / 1.007 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8381, allocations: 7.938 kB / 1.007 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8381, allocations: 0 / 1.007 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.375e-05/0.8381, allocations: 4 kB / 1.007 GB, free: 12.16 MB / 0.7637 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.01068/0.8488, allocations: 4.998 MB / 1.012 GB, free: 7.094 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.8489, allocations: 8.031 kB / 1.012 GB, free: 7.086 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006108/0.855, allocations: 1.006 MB / 1.013 GB, free: 6.074 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.8583, allocations: 2.248 MB / 1.015 GB, free: 3.773 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.8585, allocations: 246.4 kB / 1.015 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004411/0.8589, allocations: 331.9 kB / 1.015 GB, free: 3.207 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006245/0.8652, allocations: 4.235 MB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-05/0.8653, allocations: 3.938 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003189/0.8656, allocations: 136 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.8658, allocations: 174.3 kB / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006991/0.8728, allocations: 4.783 MB / 1.025 GB, free: 9.785 MB / 0.7794 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.01634/0.8891, allocations: 14.43 MB / 1.039 GB, free: 10.38 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005717/0.8948, allocations: 4.545 MB / 1.043 GB, free: 5.844 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003326/0.8982, allocations: 2.459 MB / 1.045 GB, free: 3.375 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/0.8998, allocations: 1.612 MB / 1.047 GB, free: 1.43 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.8998, allocations: 77.58 kB / 1.047 GB, free: 1.344 MB / 0.795 GB Notification: Performance of pre-optimization done (n=392): time 5.099e-06/0.8998, allocations: 4 kB / 1.047 GB, free: 1.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=392): time 0.3222/1.222, allocations: 5.532 MB / 1.053 GB, free: 320.4 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/1.222, allocations: 92.69 kB / 1.053 GB, free: 320.3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/1.225, allocations: 1.684 MB / 1.054 GB, free: 319.6 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002331/1.225, allocations: 93.02 kB / 1.054 GB, free: 319.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006985/1.226, allocations: 1.136 MB / 1.055 GB, free: 318.9 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008048/1.226, allocations: 1.315 MB / 1.057 GB, free: 317.9 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007391/1.227, allocations: 0.5502 MB / 1.057 GB, free: 317.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.543e-05/1.227, allocations: 306.3 kB / 1.058 GB, free: 317.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/1.229, allocations: 1.57 MB / 1.059 GB, free: 316.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003043/1.233, allocations: 1.914 MB / 1.061 GB, free: 316 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005467/1.238, allocations: 3.768 MB / 1.065 GB, free: 314.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/1.238, allocations: 1.469 kB / 1.065 GB, free: 314.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00622/1.244, allocations: 4.175 MB / 1.069 GB, free: 312.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.244, allocations: 8.281 kB / 1.069 GB, free: 312.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.244, allocations: 4.438 kB / 1.069 GB, free: 312.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.215e-05/1.244, allocations: 22.94 kB / 1.069 GB, free: 312.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/1.247, allocations: 0.7035 MB / 1.069 GB, free: 312.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/1.247, allocations: 23.53 kB / 1.069 GB, free: 312.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/1.249, allocations: 264.1 kB / 1.07 GB, free: 312.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/1.25, allocations: 113.1 kB / 1.07 GB, free: 312.3 MB / 0.795 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.001192/1.251, allocations: 0.7961 MB / 1.071 GB, free: 311.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/1.251, allocations: 291.1 kB / 1.071 GB, free: 311.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005713/1.257, allocations: 4.426 MB / 1.075 GB, free: 309.9 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/1.257, allocations: 35.44 kB / 1.075 GB, free: 309.9 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.257, allocations: 5.625 kB / 1.075 GB, free: 309.9 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004264/1.261, allocations: 3.789 MB / 1.079 GB, free: 308.4 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009722/1.271, allocations: 8.651 MB / 1.087 GB, free: 303.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/1.271, allocations: 7.938 kB / 1.087 GB, free: 303.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002903/1.274, allocations: 0.7101 MB / 1.088 GB, free: 303.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.625e-05/1.274, allocations: 23.95 kB / 1.088 GB, free: 303.1 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/1.274, allocations: 83.98 kB / 1.088 GB, free: 303.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/1.274, allocations: 19.94 kB / 1.088 GB, free: 303 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.274, allocations: 0 / 1.088 GB, free: 303 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007119/1.281, allocations: 6.568 MB / 1.095 GB, free: 296.4 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.282, allocations: 0.8004 MB / 1.095 GB, free: 295.6 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/1.283, allocations: 75.98 kB / 1.095 GB, free: 295.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/1.285, allocations: 86.52 kB / 1.096 GB, free: 295.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003819/1.285, allocations: 234.7 kB / 1.096 GB, free: 295.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/1.285, allocations: 111.9 kB / 1.096 GB, free: 295.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001158/1.286, allocations: 1.163 MB / 1.097 GB, free: 293.9 MB / 0.795 GB Notification: Performance of sort global known variables: time 6.72e-07/1.286, allocations: 1.406 kB / 1.097 GB, free: 293.9 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001894/1.288, allocations: 1.232 MB / 1.098 GB, free: 292.7 MB / 0.795 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.000722/1.289, allocations: 459.7 kB / 1.099 GB, free: 292.3 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004305/1.293, allocations: 3.946 MB / 1.103 GB, free: 288.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.293, allocations: 4.562 kB / 1.103 GB, free: 288.3 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/1.295, allocations: 2.156 MB / 1.105 GB, free: 286.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005533/1.301, allocations: 1.595 MB / 1.106 GB, free: 284.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008228/1.309, allocations: 7.666 MB / 1.114 GB, free: 277.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.31, allocations: 2.201 MB / 1.116 GB, free: 275.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002743/1.313, allocations: 1.206 MB / 1.117 GB, free: 273.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008166/1.314, allocations: 267.4 kB / 1.117 GB, free: 273.6 MB / 0.795 GB Notification: Performance of SimCode: time 1.082e-06/1.314, allocations: 0 / 1.117 GB, free: 273.6 MB / 0.795 GB Notification: Performance of Templates: time 0.07725/1.391, allocations: 62.64 MB / 1.178 GB, free: 211.6 MB / 0.795 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)