Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0006738/0.0006738, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004136/0.004136, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.137/1.137, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8444/0.8444, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 8 kB / 0.5164 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 83.42 MB / 0.5978 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7266/0.8487, allocations: 308 MB / 0.8986 GB, free: 1.859 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.868, allocations: 18.54 MB / 0.9167 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/0.8706, allocations: 74.81 kB / 0.9168 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00382/0.8744, allocations: 1.87 MB / 0.9186 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01343/0.8879, allocations: 6.902 MB / 0.9253 GB, free: 1.164 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006017/0.8939, allocations: 2.931 MB / 0.9282 GB, free: 1.066 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01124/0.9052, allocations: 13.13 MB / 0.941 GB, free: 1.039 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.9079, allocations: 2.589 MB / 0.9435 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.9115, allocations: 2.803 MB / 0.9463 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.9152, allocations: 3.266 MB / 0.9495 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.9156, allocations: 195.3 kB / 0.9496 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.9271, allocations: 8.099 MB / 0.9576 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.9284, allocations: 1.473 MB / 0.959 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.9306, allocations: 2.079 MB / 0.961 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.9413, allocations: 8.633 MB / 0.9695 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9414, allocations: 3.344 kB / 0.9695 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9414, allocations: 0 / 0.9695 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001272/0.9415, allocations: 4 kB / 0.9695 GB, free: 8.938 MB / 0.6856 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.01002/0.9515, allocations: 4.327 MB / 0.9737 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.9516, allocations: 7.938 kB / 0.9737 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005771/0.9573, allocations: 1.016 MB / 0.9747 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003081/0.9604, allocations: 2.173 MB / 0.9768 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.9606, allocations: 242.5 kB / 0.977 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004142/0.961, allocations: 333.9 kB / 0.9774 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005656/0.9667, allocations: 4.232 MB / 0.9815 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.598e-05/0.9667, allocations: 14.45 kB / 0.9815 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.967, allocations: 135.1 kB / 0.9816 GB, free: 480 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/0.9672, allocations: 165 kB / 0.9818 GB, free: 324 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006384/0.9735, allocations: 4.783 MB / 0.9865 GB, free: 12.93 MB / 0.7012 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.0149/0.9885, allocations: 14.42 MB / 1.001 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005236/0.9937, allocations: 4.548 MB / 1.005 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003025/0.9967, allocations: 2.455 MB / 1.007 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/0.9981, allocations: 1.617 MB / 1.009 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.9982, allocations: 73.64 kB / 1.009 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 4.438e-06/0.9982, allocations: 4 kB / 1.009 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.00784/1.006, allocations: 5.528 MB / 1.014 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/1.006, allocations: 97 kB / 1.015 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/1.008, allocations: 1.686 MB / 1.016 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000196/1.008, allocations: 93.7 kB / 1.016 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006799/1.009, allocations: 1.134 MB / 1.017 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008924/1.01, allocations: 1.327 MB / 1.019 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/1.01, allocations: 264.8 kB / 1.019 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/1.01, allocations: 313.1 kB / 1.019 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/1.012, allocations: 1.56 MB / 1.021 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/1.015, allocations: 1.917 MB / 1.023 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004845/1.02, allocations: 3.767 MB / 1.026 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.02, allocations: 0 / 1.026 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005727/1.025, allocations: 4.175 MB / 1.03 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.025, allocations: 8 kB / 1.03 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.025, allocations: 4 kB / 1.03 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/1.025, allocations: 20 kB / 1.03 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/1.028, allocations: 0.6986 MB / 1.031 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/1.028, allocations: 23.28 kB / 1.031 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/1.031, allocations: 476.9 kB / 1.032 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/1.031, allocations: 120.8 kB / 1.032 GB, free: 13.82 MB / 0.7481 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.001249/1.032, allocations: 0.7906 MB / 1.032 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/1.033, allocations: 292.5 kB / 1.033 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006358/1.039, allocations: 4.437 MB / 1.037 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/1.039, allocations: 39.94 kB / 1.037 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.039, allocations: 4 kB / 1.037 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004781/1.044, allocations: 3.802 MB / 1.041 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/1.055, allocations: 8.647 MB / 1.049 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/1.055, allocations: 8.062 kB / 1.049 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002905/1.058, allocations: 0.7153 MB / 1.05 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/1.058, allocations: 16 kB / 1.05 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/1.059, allocations: 87.97 kB / 1.05 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.581e-05/1.059, allocations: 22.81 kB / 1.05 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.059, allocations: 0 / 1.05 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00812/1.067, allocations: 6.569 MB / 1.057 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.068, allocations: 0.8011 MB / 1.057 GB, free: 3.398 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/1.068, allocations: 71.98 kB / 1.057 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.071, allocations: 273 kB / 1.058 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003746/1.071, allocations: 237.6 kB / 1.058 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.071, allocations: 112 kB / 1.058 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001354/1.072, allocations: 1.157 MB / 1.059 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.51e-07/1.072, allocations: 0 / 1.059 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00212/1.075, allocations: 1.232 MB / 1.06 GB, free: 320 kB / 0.7637 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.000729/1.075, allocations: 479.6 kB / 1.061 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005048/1.08, allocations: 3.925 MB / 1.065 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.08, allocations: 4.375 kB / 1.065 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002536/1.083, allocations: 2.155 MB / 1.067 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006517/1.089, allocations: 1.538 MB / 1.068 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.1, allocations: 9.482 MB / 1.077 GB, free: 14.89 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.101, allocations: 2.22 MB / 1.08 GB, free: 12.63 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003527/1.105, allocations: 1.196 MB / 1.081 GB, free: 11.43 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008252/1.106, allocations: 267.4 kB / 1.081 GB, free: 11.17 MB / 0.795 GB Notification: Performance of SimCode: time 8.01e-07/1.106, allocations: 8 kB / 1.081 GB, free: 11.16 MB / 0.795 GB Notification: Performance of Templates: time 0.08055/1.186, allocations: 58.96 MB / 1.139 GB, free: 1.051 MB / 0.8419 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)