Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",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.001139/0.001139, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.161/1.161, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.8383/0.8383, allocations: 143 MB / 433.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 59.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1223, allocations: 82.05 MB / 0.5944 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.358/0.4804, allocations: 202.1 MB / 0.7917 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008495/0.4889, allocations: 7.397 MB / 0.799 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.4894, allocations: 35.81 kB / 0.799 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.4907, allocations: 0.6953 MB / 0.7997 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.4944, allocations: 2.403 MB / 0.802 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.4965, allocations: 1.24 MB / 0.8032 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002289/0.4988, allocations: 2.904 MB / 0.8061 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009104/0.4997, allocations: 0.9457 MB / 0.807 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009372/0.5006, allocations: 1.012 MB / 0.808 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.5019, allocations: 0.9599 MB / 0.8089 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.5021, allocations: 112 kB / 0.809 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.5049, allocations: 2.132 MB / 0.8111 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.5052, allocations: 442.8 kB / 0.8115 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005554/0.5058, allocations: 0.6689 MB / 0.8122 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.5081, allocations: 2.462 MB / 0.8146 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.5081, allocations: 3.938 kB / 0.8146 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5081, allocations: 0 / 0.8146 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.5081, allocations: 0 / 0.8146 GB, free: 11.61 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002564/0.5107, allocations: 1.625 MB / 0.8162 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.5107, allocations: 8.031 kB / 0.8162 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.5108, allocations: 144.4 kB / 0.8163 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.513, allocations: 374.2 kB / 0.8167 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.514, allocations: 0.8084 MB / 0.8175 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.5141, allocations: 69.94 kB / 0.8175 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.5142, allocations: 91.89 kB / 0.8176 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.5156, allocations: 1.038 MB / 0.8186 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.5157, allocations: 3.938 kB / 0.8186 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.5157, allocations: 35.98 kB / 0.8187 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/0.5158, allocations: 49.92 kB / 0.8187 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.5171, allocations: 0.8938 MB / 0.8196 GB, free: 6.344 MB / 0.6387 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.003941/0.5211, allocations: 4.32 MB / 0.8238 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009895/0.5221, allocations: 0.6987 MB / 0.8245 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006581/0.5227, allocations: 455.8 kB / 0.8249 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005306/0.5233, allocations: 0.6771 MB / 0.8256 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.5233, allocations: 43.12 kB / 0.8256 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 1.784e-06/0.5233, allocations: 4 kB / 0.8256 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001583/0.5249, allocations: 0.9861 MB / 0.8266 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.525, allocations: 59.97 kB / 0.8267 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/0.5256, allocations: 0.6334 MB / 0.8273 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.5256, allocations: 41.7 kB / 0.8273 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.5259, allocations: 428.1 kB / 0.8277 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.5261, allocations: 252.2 kB / 0.828 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.5262, allocations: 122.3 kB / 0.8281 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5264, allocations: 390.7 kB / 0.8285 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.5268, allocations: 273.2 kB / 0.8287 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.5272, allocations: 365 kB / 0.8291 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008933/0.5281, allocations: 0.6587 MB / 0.8297 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5282, allocations: 0 / 0.8297 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001107/0.5293, allocations: 0.793 MB / 0.8305 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.5293, allocations: 7.984 kB / 0.8305 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5293, allocations: 4 kB / 0.8305 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5293, allocations: 4 kB / 0.8305 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.5299, allocations: 143.8 kB / 0.8306 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5299, allocations: 4 kB / 0.8306 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.5305, allocations: 59.7 kB / 0.8307 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.5306, allocations: 20 kB / 0.8307 GB, free: 10.34 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0003019/0.5309, allocations: 286.2 kB / 0.831 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.531, allocations: 90.95 kB / 0.8311 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.5322, allocations: 0.7964 MB / 0.8318 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5323, allocations: 8 kB / 0.8319 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5323, allocations: 3.938 kB / 0.8319 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009567/0.5332, allocations: 0.8152 MB / 0.8327 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.5354, allocations: 1.848 MB / 0.8345 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5354, allocations: 0 / 0.8345 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/0.5362, allocations: 179.7 kB / 0.8346 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5362, allocations: 4 kB / 0.8346 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.5362, allocations: 12 kB / 0.8346 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.5362, allocations: 7.984 kB / 0.8347 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5362, allocations: 4.562 kB / 0.8347 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.5377, allocations: 1.196 MB / 0.8358 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.538, allocations: 243.9 kB / 0.8361 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.5381, allocations: 19.98 kB / 0.8361 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/0.5387, allocations: 22.06 kB / 0.8361 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.5388, allocations: 44.5 kB / 0.8361 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.5389, allocations: 23.98 kB / 0.8362 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004472/0.5393, allocations: 455 kB / 0.8366 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5393, allocations: 0 / 0.8366 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006122/0.5399, allocations: 339.2 kB / 0.8369 GB, free: 3.824 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.001884/0.5418, allocations: 1.841 MB / 0.8387 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.5432, allocations: 0.8201 MB / 0.8395 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5432, allocations: 0 / 0.8395 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.5437, allocations: 371 kB / 0.8399 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.5457, allocations: 0.5474 MB / 0.8404 GB, free: 268 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008019/0.5537, allocations: 7.204 MB / 0.8474 GB, free: 8.895 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.5543, allocations: 1.089 MB / 0.8485 GB, free: 7.781 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007051/0.555, allocations: 233 kB / 0.8487 GB, free: 7.551 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.5554, allocations: 359.3 kB / 0.8491 GB, free: 7.203 MB / 0.67 GB Notification: Performance of SimCode: time 3.01e-07/0.5554, allocations: 0 / 0.8491 GB, free: 7.203 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2237/0.7791, allocations: 25.14 MB / 0.8736 GB, free: 209.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/7.5, allocations: 12.2 kB / 0.8736 GB, free: 209.8 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)