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.006977/0.006977, allocations: 100.9 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.001988/0.001988, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.402/1.402, 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.8935/0.8935, allocations: 143.3 MB / 433.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 68.03 kB / 0.5953 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1357, allocations: 82.03 MB / 0.6754 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5968/0.7325, allocations: 314.6 MB / 0.9826 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02744/0.76, allocations: 18.49 MB / 1.001 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.7622, allocations: 87.56 kB / 1.001 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004626/0.7669, allocations: 2.144 MB / 1.003 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01582/0.7827, allocations: 7.308 MB / 1.01 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007444/0.7902, allocations: 3.23 MB / 1.013 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01082/0.801, allocations: 9.109 MB / 1.022 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003946/0.805, allocations: 3.117 MB / 1.025 GB, free: 7.133 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00477/0.8098, allocations: 3.309 MB / 1.028 GB, free: 3.812 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004869/0.8146, allocations: 3.234 MB / 1.031 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006291/0.8153, allocations: 404 kB / 1.032 GB, free: 192 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01313/0.8284, allocations: 6.999 MB / 1.039 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00179/0.8302, allocations: 1.691 MB / 1.04 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002733/0.833, allocations: 2.303 MB / 1.043 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.8453, allocations: 8.465 MB / 1.051 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8453, allocations: 0 / 1.051 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8453, allocations: 4 kB / 1.051 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.58e-05/0.8454, allocations: 4 kB / 1.051 GB, free: 12.66 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.01182/0.8572, allocations: 5.122 MB / 1.056 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.8572, allocations: 11.97 kB / 1.056 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000598/0.8578, allocations: 463.5 kB / 1.056 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00648/0.8643, allocations: 1.028 MB / 1.057 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003867/0.8682, allocations: 2.269 MB / 1.06 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.8684, allocations: 250.4 kB / 1.06 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000506/0.8689, allocations: 323.9 kB / 1.06 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2759/1.145, allocations: 4.23 MB / 1.064 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/1.145, allocations: 6.703 kB / 1.064 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000535/1.146, allocations: 136 kB / 1.064 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/1.146, allocations: 172.8 kB / 1.065 GB, free: 312.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008551/1.154, allocations: 4.781 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.01689/1.171, allocations: 14.49 MB / 1.083 GB, free: 302.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005366/1.177, allocations: 4.539 MB / 1.088 GB, free: 300.6 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003198/1.18, allocations: 2.458 MB / 1.09 GB, free: 299.7 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/1.181, allocations: 1.606 MB / 1.092 GB, free: 298 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/1.181, allocations: 81.23 kB / 1.092 GB, free: 297.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=392): time 5.871e-06/1.181, allocations: 0 / 1.092 GB, free: 297.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=392): time 0.0083/1.19, allocations: 5.555 MB / 1.097 GB, free: 295.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/1.19, allocations: 90.08 kB / 1.097 GB, free: 295.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/1.191, allocations: 1.688 MB / 1.099 GB, free: 294.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001785/1.191, allocations: 97.36 kB / 1.099 GB, free: 294.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/1.192, allocations: 1.149 MB / 1.1 GB, free: 293.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006418/1.193, allocations: 1.383 MB / 1.102 GB, free: 292.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007349/1.193, allocations: 0.5589 MB / 1.102 GB, free: 292.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.192e-05/1.193, allocations: 305.1 kB / 1.102 GB, free: 292.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/1.195, allocations: 1.559 MB / 1.104 GB, free: 291.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/1.198, allocations: 1.917 MB / 1.106 GB, free: 290.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004554/1.202, allocations: 3.766 MB / 1.109 GB, free: 288.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.202, allocations: 3.906 kB / 1.109 GB, free: 288.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005414/1.208, allocations: 4.197 MB / 1.114 GB, free: 286.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.208, allocations: 5.156 kB / 1.114 GB, free: 286.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.208, allocations: 7.406 kB / 1.114 GB, free: 286.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/1.208, allocations: 23.12 kB / 1.114 GB, free: 286.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/1.211, allocations: 0.6929 MB / 1.114 GB, free: 286 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/1.211, allocations: 21.44 kB / 1.114 GB, free: 286 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/1.213, allocations: 269 kB / 1.115 GB, free: 285.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/1.213, allocations: 118.6 kB / 1.115 GB, free: 285.9 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.001014/1.214, allocations: 0.7986 MB / 1.115 GB, free: 285.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004204/1.214, allocations: 309.4 kB / 1.116 GB, free: 285.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006038/1.22, allocations: 4.43 MB / 1.12 GB, free: 280.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.22, allocations: 36 kB / 1.12 GB, free: 280.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.22, allocations: 4.906 kB / 1.12 GB, free: 280.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004439/1.225, allocations: 3.799 MB / 1.124 GB, free: 277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009921/1.235, allocations: 8.65 MB / 1.132 GB, free: 268.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.235, allocations: 0 / 1.132 GB, free: 268.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002994/1.238, allocations: 0.727 MB / 1.133 GB, free: 267.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/1.238, allocations: 19.94 kB / 1.133 GB, free: 267.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/1.238, allocations: 82.92 kB / 1.133 GB, free: 267.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/1.238, allocations: 16 kB / 1.133 GB, free: 267.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.238, allocations: 7.938 kB / 1.133 GB, free: 267.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007373/1.245, allocations: 6.583 MB / 1.14 GB, free: 260.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009895/1.246, allocations: 0.8194 MB / 1.14 GB, free: 260.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003746/1.247, allocations: 75.94 kB / 1.14 GB, free: 260 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.249, allocations: 88.8 kB / 1.14 GB, free: 259.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003806/1.249, allocations: 230.7 kB / 1.141 GB, free: 259.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/1.249, allocations: 116 kB / 1.141 GB, free: 259.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001138/1.25, allocations: 1.153 MB / 1.142 GB, free: 258.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/1.25, allocations: 3.625 kB / 1.142 GB, free: 258.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001757/1.252, allocations: 1.234 MB / 1.143 GB, free: 257.2 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.00811/1.26, allocations: 7.517 MB / 1.15 GB, free: 249.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004504/1.265, allocations: 3.947 MB / 1.154 GB, free: 245.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.265, allocations: 4 kB / 1.154 GB, free: 245.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/1.267, allocations: 2.148 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.005826/1.273, allocations: 1.601 MB / 1.158 GB, free: 242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/1.301, allocations: 25.82 MB / 1.183 GB, free: 216 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.302, allocations: 2.205 MB / 1.185 GB, free: 213.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003025/1.305, allocations: 1.2 MB / 1.187 GB, free: 212.6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/1.307, allocations: 1.386 MB / 1.188 GB, free: 211.2 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/1.307, allocations: 0 / 1.188 GB, free: 211.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/1.408, allocations: 85.81 MB / 1.272 GB, free: 126.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/16.53, allocations: 13.7 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)