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: "" <> 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.005022/0.005022, allocations: 100.2 kB / 15.73 MB, free: 6.043 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.001315/0.001315, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 1.069/1.069, allocations: 143 MB / 433.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4702/0.4716, allocations: 82.03 MB / 0.6752 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8522/1.324, allocations: 314.6 MB / 0.9824 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02983/1.354, allocations: 18.49 MB / 1 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006416/1.36, allocations: 87.41 kB / 1.001 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007354/1.368, allocations: 2.152 MB / 1.003 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02232/1.39, allocations: 7.309 MB / 1.01 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01079/1.401, allocations: 3.232 MB / 1.013 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01606/1.417, allocations: 9.102 MB / 1.022 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006906/1.424, allocations: 3.111 MB / 1.025 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0086/1.432, allocations: 3.36 MB / 1.028 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007127/1.44, allocations: 3.228 MB / 1.031 GB, free: 404 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001837/1.442, allocations: 400 kB / 1.032 GB, free: 4 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02005/1.462, allocations: 6.999 MB / 1.038 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003365/1.465, allocations: 1.687 MB / 1.04 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.006908/1.472, allocations: 2.299 MB / 1.042 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0235/1.495, allocations: 8.453 MB / 1.051 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.496, allocations: 0 / 1.051 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.703e-06/1.496, allocations: 0 / 1.051 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002748/1.496, allocations: 0 / 1.051 GB, free: 12.51 MB / 0.7481 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.01812/1.514, allocations: 5.008 MB / 1.056 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.514, allocations: 11.97 kB / 1.056 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00145/1.515, allocations: 459.5 kB / 1.056 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007979/1.523, allocations: 0.9984 MB / 1.057 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006018/1.53, allocations: 2.259 MB / 1.059 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/1.53, allocations: 242.4 kB / 1.059 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/1.531, allocations: 327.9 kB / 1.06 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/1.542, allocations: 4.239 MB / 1.064 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/1.542, allocations: 7.938 kB / 1.064 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000851/1.543, allocations: 136 kB / 1.064 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002067/1.544, allocations: 170.4 kB / 1.064 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/1.555, allocations: 4.783 MB / 1.069 GB, free: 9.656 MB / 0.7637 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.02719/1.582, allocations: 14.46 MB / 1.083 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007252/1.589, allocations: 4.54 MB / 1.087 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004305/1.593, allocations: 2.467 MB / 1.09 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/1.595, allocations: 1.6 MB / 1.091 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.486e-05/1.595, allocations: 73.64 kB / 1.091 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=392): time 5.43e-06/1.595, allocations: 0 / 1.091 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=392): time 0.01187/1.607, allocations: 5.543 MB / 1.097 GB, free: 11.63 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/1.607, allocations: 94.42 kB / 1.097 GB, free: 11.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/1.611, allocations: 1.684 MB / 1.099 GB, free: 9.797 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006576/1.612, allocations: 93.7 kB / 1.099 GB, free: 9.699 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009374/1.612, allocations: 1.132 MB / 1.1 GB, free: 8.555 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001725/1.614, allocations: 1.32 MB / 1.101 GB, free: 7.219 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00175/1.616, allocations: 0.5508 MB / 1.102 GB, free: 6.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.616, allocations: 309.1 kB / 1.102 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002988/1.619, allocations: 1.564 MB / 1.103 GB, free: 4.789 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0033/1.622, allocations: 1.923 MB / 1.105 GB, free: 2.797 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006448/1.629, allocations: 3.762 MB / 1.109 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/1.629, allocations: 4 kB / 1.109 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008499/1.637, allocations: 4.177 MB / 1.113 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/1.637, allocations: 8 kB / 1.113 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/1.637, allocations: 4 kB / 1.113 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/1.638, allocations: 20 kB / 1.113 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/1.641, allocations: 0.6943 MB / 1.114 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.281e-05/1.641, allocations: 23.98 kB / 1.114 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/1.644, allocations: 261.3 kB / 1.114 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006238/1.645, allocations: 116 kB / 1.114 GB, free: 9.621 MB / 0.8106 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.002541/1.647, allocations: 0.8015 MB / 1.115 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/1.649, allocations: 292.4 kB / 1.115 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.66, allocations: 4.433 MB / 1.12 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/1.66, allocations: 43.92 kB / 1.12 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/1.66, allocations: 0 / 1.12 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01119/1.672, allocations: 3.803 MB / 1.123 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02808/1.7, allocations: 8.652 MB / 1.132 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/1.7, allocations: 0 / 1.132 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007156/1.707, allocations: 0.726 MB / 1.132 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-05/1.707, allocations: 16 kB / 1.132 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009034/1.708, allocations: 79.98 kB / 1.133 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-05/1.708, allocations: 19.94 kB / 1.133 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.708, allocations: 7.984 kB / 1.133 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.725, allocations: 6.568 MB / 1.139 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002317/1.728, allocations: 0.7972 MB / 1.14 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000998/1.729, allocations: 76 kB / 1.14 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003265/1.732, allocations: 83.97 kB / 1.14 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000893/1.733, allocations: 230.6 kB / 1.14 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006437/1.734, allocations: 124 kB / 1.14 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003185/1.737, allocations: 1.153 MB / 1.141 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/1.737, allocations: 3.938 kB / 1.141 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004862/1.742, allocations: 1.232 MB / 1.143 GB, free: 12.07 MB / 0.8419 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.02013/1.762, allocations: 7.487 MB / 1.15 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01208/1.774, allocations: 3.948 MB / 1.154 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/1.774, allocations: 4 kB / 1.154 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.006445/1.78, allocations: 2.156 MB / 1.156 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01317/1.794, allocations: 1.609 MB / 1.157 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05329/1.847, allocations: 25.68 MB / 1.182 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002805/1.85, allocations: 2.209 MB / 1.185 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.004758/1.855, allocations: 1.204 MB / 1.186 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003113/1.858, allocations: 1.386 MB / 1.187 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of SimCode: time 2.013e-06/1.858, allocations: 4 kB / 1.187 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5046/2.362, allocations: 87.23 MB / 1.272 GB, free: 354.6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/16.75, allocations: 8.562 kB / 1.272 GB, free: 354.6 MB / 0.9044 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)