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.0008249/0.0008249, allocations: 91.77 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.003892/0.003892, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.153/1.153, allocations: 223.3 MB / 240.3 MB, free: 5.258 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.8384, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.000276, allocations: 8 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 83.41 MB / 0.598 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.3733/0.4958, allocations: 197.2 MB / 0.7905 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008689/0.5045, allocations: 7.423 MB / 0.7977 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004781/0.505, allocations: 31.81 kB / 0.7978 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.5062, allocations: 0.6025 MB / 0.7984 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00382/0.5101, allocations: 2.257 MB / 0.8006 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.5121, allocations: 1.133 MB / 0.8017 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003219/0.5153, allocations: 4.163 MB / 0.8057 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008109/0.5161, allocations: 0.7701 MB / 0.8065 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008941/0.517, allocations: 0.8519 MB / 0.8073 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.5185, allocations: 0.9668 MB / 0.8083 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.196e-05/0.5186, allocations: 48 kB / 0.8083 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.5216, allocations: 2.482 MB / 0.8107 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.522, allocations: 386.8 kB / 0.8111 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.5225, allocations: 0.6159 MB / 0.8117 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.5247, allocations: 2.535 MB / 0.8142 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.5247, allocations: 3.844 kB / 0.8142 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5247, allocations: 4 kB / 0.8142 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.5247, allocations: 4 kB / 0.8142 GB, free: 14.25 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.002402/0.5271, allocations: 1.406 MB / 0.8156 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.5272, allocations: 12.03 kB / 0.8156 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.5273, allocations: 139.2 kB / 0.8157 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.5295, allocations: 370.2 kB / 0.8161 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.5306, allocations: 0.8084 MB / 0.8169 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.5306, allocations: 73.92 kB / 0.8169 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.5307, allocations: 87.98 kB / 0.817 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.5322, allocations: 1.042 MB / 0.818 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.5322, allocations: 11.84 kB / 0.818 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.071e-05/0.5323, allocations: 32 kB / 0.8181 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-05/0.5324, allocations: 45.98 kB / 0.8181 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.5337, allocations: 0.8861 MB / 0.819 GB, free: 9.215 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.003882/0.5376, allocations: 4.292 MB / 0.8232 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.5387, allocations: 0.6936 MB / 0.8238 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006711/0.5393, allocations: 443 kB / 0.8243 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005116/0.5399, allocations: 0.6849 MB / 0.8249 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.5399, allocations: 39.12 kB / 0.825 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 4.969e-06/0.5399, allocations: 3.984 kB / 0.825 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.001608/0.5415, allocations: 1.006 MB / 0.826 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.5416, allocations: 55.97 kB / 0.826 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006275/0.5422, allocations: 0.6373 MB / 0.8266 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.5422, allocations: 37.7 kB / 0.8267 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.5425, allocations: 428.1 kB / 0.8271 GB, free: 364 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.5427, allocations: 252.3 kB / 0.8273 GB, free: 108 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.5428, allocations: 61.67 kB / 0.8274 GB, free: 40 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5429, allocations: 390.7 kB / 0.8278 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.5433, allocations: 277.2 kB / 0.828 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.5438, allocations: 365 kB / 0.8284 GB, free: 15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009306/0.5447, allocations: 0.6626 MB / 0.829 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5447, allocations: 0 / 0.829 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001123/0.5459, allocations: 0.7969 MB / 0.8298 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.5459, allocations: 7.938 kB / 0.8298 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5459, allocations: 3.938 kB / 0.8298 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5459, allocations: 16.12 kB / 0.8298 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.5465, allocations: 143.8 kB / 0.83 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5465, allocations: 4 kB / 0.83 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.5473, allocations: 119.3 kB / 0.8301 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.5474, allocations: 24.61 kB / 0.8301 GB, free: 13.2 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.0003083/0.5477, allocations: 286.2 kB / 0.8304 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.5478, allocations: 83.06 kB / 0.8304 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.5491, allocations: 0.8008 MB / 0.8312 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.5491, allocations: 8 kB / 0.8312 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5491, allocations: 0 / 0.8312 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009668/0.5501, allocations: 0.8191 MB / 0.832 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.5523, allocations: 1.86 MB / 0.8339 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5524, allocations: 4 kB / 0.8339 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007342/0.5531, allocations: 163.8 kB / 0.834 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.5531, allocations: 4 kB / 0.834 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.5532, allocations: 16 kB / 0.834 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.5532, allocations: 11.94 kB / 0.834 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5532, allocations: 0 / 0.834 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.5547, allocations: 1.201 MB / 0.8352 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.555, allocations: 247.9 kB / 0.8355 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.454e-05/0.5551, allocations: 20 kB / 0.8355 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/0.5558, allocations: 71.78 kB / 0.8355 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.5559, allocations: 44.5 kB / 0.8356 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.5559, allocations: 23.98 kB / 0.8356 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004568/0.5564, allocations: 455 kB / 0.836 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5564, allocations: 0 / 0.836 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006359/0.5571, allocations: 343.2 kB / 0.8364 GB, free: 6.613 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.00191/0.559, allocations: 1.84 MB / 0.8382 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009539/0.5599, allocations: 0.6796 MB / 0.8388 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.56, allocations: 4.312 kB / 0.8388 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.5605, allocations: 379 kB / 0.8392 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.5627, allocations: 0.5209 MB / 0.8397 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008905/0.5716, allocations: 7.731 MB / 0.8473 GB, free: 11.29 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.5722, allocations: 1.096 MB / 0.8483 GB, free: 10.17 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007438/0.5729, allocations: 223.9 kB / 0.8485 GB, free: 9.949 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004331/0.5733, allocations: 359.3 kB / 0.8489 GB, free: 9.598 MB / 0.67 GB Notification: Performance of SimCode: time 3.21e-07/0.5733, allocations: 0 / 0.8489 GB, free: 9.598 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7158/1.289, allocations: 23.98 MB / 0.8723 GB, free: 203.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/1.289, allocations: 216.5 kB / 0.8725 GB, free: 203.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/3.37, allocations: 6.531 kB / 0.8725 GB, free: 203.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)