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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004913/0.004913, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.0013/0.0013, allocations: 188.5 kB / 16.67 MB, free: 5.969 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8677/0.8677, allocations: 143.3 MB / 433.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 58.5 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1519, allocations: 82.04 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6532/0.8051, allocations: 314.6 MB / 0.9826 GB, free: 2.75 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02829/0.8334, allocations: 18.49 MB / 1.001 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.8374, allocations: 87.56 kB / 1.001 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005714/0.8432, allocations: 2.148 MB / 1.003 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01814/0.8614, allocations: 7.304 MB / 1.01 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.008388/0.8698, allocations: 3.234 MB / 1.013 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01201/0.8818, allocations: 9.112 MB / 1.022 GB, free: 10.28 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005197/0.887, allocations: 3.101 MB / 1.025 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006535/0.8936, allocations: 3.309 MB / 1.028 GB, free: 3.797 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006594/0.9002, allocations: 3.232 MB / 1.031 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.9015, allocations: 404 kB / 1.032 GB, free: 176 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/0.9168, allocations: 7.007 MB / 1.039 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002683/0.9195, allocations: 1.683 MB / 1.04 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004877/0.9244, allocations: 2.303 MB / 1.043 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01704/0.9414, allocations: 8.473 MB / 1.051 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.9415, allocations: 4 kB / 1.051 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9415, allocations: 0 / 1.051 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002179/0.9417, allocations: 0 / 1.051 GB, free: 12.64 MB / 0.8262 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.01484/0.9566, allocations: 5.126 MB / 1.056 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.9566, allocations: 12.02 kB / 1.056 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001119/0.9577, allocations: 459.5 kB / 1.056 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00691/0.9647, allocations: 1.036 MB / 1.057 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004467/0.9692, allocations: 2.273 MB / 1.06 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.9694, allocations: 242.4 kB / 1.06 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005215/0.9699, allocations: 323.9 kB / 1.06 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3197/1.29, allocations: 4.234 MB / 1.064 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.919e-05/1.29, allocations: 5.031 kB / 1.064 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/1.29, allocations: 134 kB / 1.064 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002287/1.29, allocations: 171.1 kB / 1.065 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008044/1.298, allocations: 4.783 MB / 1.069 GB, free: 311.6 MB / 0.8262 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.01863/1.317, allocations: 14.48 MB / 1.083 GB, free: 302.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005545/1.323, allocations: 4.555 MB / 1.088 GB, free: 300.6 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/1.326, allocations: 2.454 MB / 1.09 GB, free: 299.7 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/1.327, allocations: 1.604 MB / 1.092 GB, free: 298 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/1.327, allocations: 83.73 kB / 1.092 GB, free: 297.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=392): time 5.28e-06/1.327, allocations: 0 / 1.092 GB, free: 297.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=392): time 0.008453/1.336, allocations: 5.554 MB / 1.097 GB, free: 295.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.336, allocations: 94.05 kB / 1.097 GB, free: 295.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/1.338, allocations: 1.682 MB / 1.099 GB, free: 294.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001917/1.338, allocations: 97.55 kB / 1.099 GB, free: 294.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005203/1.338, allocations: 1.15 MB / 1.1 GB, free: 293.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007613/1.339, allocations: 1.391 MB / 1.102 GB, free: 292.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006897/1.34, allocations: 0.5542 MB / 1.102 GB, free: 292.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/1.34, allocations: 301.1 kB / 1.102 GB, free: 292.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/1.342, allocations: 1.563 MB / 1.104 GB, free: 291.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/1.344, allocations: 1.919 MB / 1.106 GB, free: 290.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004258/1.348, allocations: 3.766 MB / 1.109 GB, free: 288.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/1.348, allocations: 0 / 1.109 GB, free: 288.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005335/1.353, allocations: 4.198 MB / 1.114 GB, free: 286.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/1.353, allocations: 7.531 kB / 1.114 GB, free: 286.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.354, allocations: 7.375 kB / 1.114 GB, free: 286.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/1.354, allocations: 18.03 kB / 1.114 GB, free: 286.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/1.356, allocations: 0.6957 MB / 1.114 GB, free: 286 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/1.356, allocations: 26.77 kB / 1.114 GB, free: 286 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/1.358, allocations: 262.7 kB / 1.115 GB, free: 285.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/1.359, allocations: 115.8 kB / 1.115 GB, free: 285.8 MB / 0.8262 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.001231/1.36, allocations: 0.8015 MB / 1.115 GB, free: 285.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/1.36, allocations: 308.6 kB / 1.116 GB, free: 285.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005727/1.366, allocations: 4.425 MB / 1.12 GB, free: 280.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.366, allocations: 40 kB / 1.12 GB, free: 280.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.366, allocations: 3.938 kB / 1.12 GB, free: 280.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004156/1.37, allocations: 3.796 MB / 1.124 GB, free: 277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/1.38, allocations: 8.651 MB / 1.132 GB, free: 268.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.38, allocations: 4 kB / 1.132 GB, free: 268.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002873/1.383, allocations: 0.7256 MB / 1.133 GB, free: 267.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.818e-05/1.383, allocations: 21.19 kB / 1.133 GB, free: 267.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/1.384, allocations: 87.97 kB / 1.133 GB, free: 267.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.528e-05/1.384, allocations: 16 kB / 1.133 GB, free: 267.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.384, allocations: 3.938 kB / 1.133 GB, free: 267.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007334/1.391, allocations: 6.584 MB / 1.14 GB, free: 260.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.392, allocations: 0.8169 MB / 1.14 GB, free: 260 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/1.393, allocations: 79.92 kB / 1.14 GB, free: 260 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/1.395, allocations: 79.98 kB / 1.14 GB, free: 259.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/1.395, allocations: 237.4 kB / 1.141 GB, free: 259.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.395, allocations: 108 kB / 1.141 GB, free: 259.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001177/1.396, allocations: 1.157 MB / 1.142 GB, free: 258.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/1.396, allocations: 0 / 1.142 GB, free: 258.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002049/1.398, allocations: 1.238 MB / 1.143 GB, free: 257.1 MB / 0.8262 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.007782/1.406, allocations: 7.511 MB / 1.15 GB, free: 249.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004681/1.411, allocations: 3.951 MB / 1.154 GB, free: 245.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.411, allocations: 0 / 1.154 GB, free: 245.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/1.413, allocations: 2.156 MB / 1.156 GB, free: 243.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00589/1.419, allocations: 1.606 MB / 1.158 GB, free: 242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/1.446, allocations: 25.81 MB / 1.183 GB, free: 216 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.447, allocations: 2.209 MB / 1.185 GB, free: 213.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003002/1.45, allocations: 1.2 MB / 1.187 GB, free: 212.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/1.452, allocations: 1.39 MB / 1.188 GB, free: 211.1 MB / 0.8262 GB Notification: Performance of SimCode: time 7.31e-07/1.452, allocations: 4 kB / 1.188 GB, free: 211.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.532/6.983, allocations: 85.79 MB / 1.272 GB, free: 126.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.38/26.36, allocations: 15.83 kB / 1.272 GB, free: 126.2 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)