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.001084/0.001084, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001079/0.001079, allocations: 191.7 kB / 16.13 MB, free: 6.664 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.133/1.133, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.8081/0.8081, allocations: 143 MB / 433 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 63.89 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1176, allocations: 82.04 MB / 0.5937 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.3414/0.4591, allocations: 199.8 MB / 0.7888 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008383/0.4675, allocations: 7.508 MB / 0.7962 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.468, allocations: 35.75 kB / 0.7962 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.4692, allocations: 0.6025 MB / 0.7968 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00361/0.4729, allocations: 2.257 MB / 0.799 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.4748, allocations: 1.132 MB / 0.8001 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003002/0.4778, allocations: 4.159 MB / 0.8042 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007857/0.4786, allocations: 0.8013 MB / 0.805 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008627/0.4795, allocations: 0.8792 MB / 0.8058 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.4809, allocations: 0.9973 MB / 0.8068 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.481, allocations: 63.98 kB / 0.8068 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.484, allocations: 2.497 MB / 0.8093 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.4843, allocations: 398.8 kB / 0.8097 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.4848, allocations: 0.6104 MB / 0.8103 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.4871, allocations: 2.574 MB / 0.8128 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.4871, allocations: 0 / 0.8128 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4871, allocations: 4 kB / 0.8128 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.4872, allocations: 0 / 0.8128 GB, free: 13.32 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.002671/0.4898, allocations: 1.632 MB / 0.8144 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.4899, allocations: 12.03 kB / 0.8144 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.49, allocations: 131.3 kB / 0.8145 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.4923, allocations: 378.2 kB / 0.8149 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.4933, allocations: 0.8084 MB / 0.8157 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.4934, allocations: 69.94 kB / 0.8157 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.4935, allocations: 87.91 kB / 0.8158 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.495, allocations: 1.038 MB / 0.8168 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.495, allocations: 7.938 kB / 0.8168 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.4951, allocations: 39.94 kB / 0.8169 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.4951, allocations: 45.98 kB / 0.8169 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.4965, allocations: 0.8822 MB / 0.8178 GB, free: 8.066 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.5004, allocations: 4.28 MB / 0.822 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.5014, allocations: 0.6897 MB / 0.8226 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006703/0.5021, allocations: 458.9 kB / 0.8231 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005076/0.5026, allocations: 0.6732 MB / 0.8237 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.5027, allocations: 39.12 kB / 0.8238 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 1.674e-06/0.5027, allocations: 4 kB / 0.8238 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.001626/0.5043, allocations: 0.99 MB / 0.8247 GB, free: 420 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.5043, allocations: 59.97 kB / 0.8248 GB, free: 348 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/0.505, allocations: 0.6334 MB / 0.8254 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.505, allocations: 41.64 kB / 0.8254 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.5053, allocations: 432.1 kB / 0.8259 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.5055, allocations: 264.2 kB / 0.8261 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.5056, allocations: 110.3 kB / 0.8262 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5058, allocations: 390.7 kB / 0.8266 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.5062, allocations: 277.2 kB / 0.8269 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.5066, allocations: 357.1 kB / 0.8272 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009031/0.5076, allocations: 0.6586 MB / 0.8278 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5076, allocations: 0 / 0.8278 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001123/0.5087, allocations: 0.8008 MB / 0.8286 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5087, allocations: 4 kB / 0.8286 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5087, allocations: 4 kB / 0.8286 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5087, allocations: 4 kB / 0.8286 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/0.5093, allocations: 147.7 kB / 0.8288 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5093, allocations: 4.188 kB / 0.8288 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.5101, allocations: 111.4 kB / 0.8289 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.5102, allocations: 28 kB / 0.8289 GB, free: 12.03 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.0003098/0.5105, allocations: 294.2 kB / 0.8292 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.5106, allocations: 86.97 kB / 0.8293 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.5119, allocations: 0.7887 MB / 0.83 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5119, allocations: 12 kB / 0.8301 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5119, allocations: 4 kB / 0.8301 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009608/0.5129, allocations: 0.8191 MB / 0.8309 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.5151, allocations: 1.852 MB / 0.8327 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5151, allocations: 3.984 kB / 0.8327 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.5159, allocations: 167.8 kB / 0.8328 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5159, allocations: 4 kB / 0.8328 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.5159, allocations: 19.98 kB / 0.8329 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.516, allocations: 4 kB / 0.8329 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.516, allocations: 0 / 0.8329 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.5175, allocations: 1.193 MB / 0.834 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.5178, allocations: 251.8 kB / 0.8343 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.5179, allocations: 12 kB / 0.8343 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/0.5186, allocations: 78.84 kB / 0.8344 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5187, allocations: 44.48 kB / 0.8344 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.5188, allocations: 23.98 kB / 0.8344 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004427/0.5192, allocations: 455 kB / 0.8349 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5192, allocations: 0 / 0.8349 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006357/0.5198, allocations: 339.2 kB / 0.8352 GB, free: 5.457 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.001908/0.5218, allocations: 1.838 MB / 0.837 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009583/0.5227, allocations: 0.6718 MB / 0.8376 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5227, allocations: 0 / 0.8376 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004805/0.5232, allocations: 375 kB / 0.838 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.5253, allocations: 0.519 MB / 0.8385 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008768/0.534, allocations: 7.579 MB / 0.8459 GB, free: 10.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.5346, allocations: 1.093 MB / 0.847 GB, free: 9.188 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000734/0.5353, allocations: 222.2 kB / 0.8472 GB, free: 8.969 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.5358, allocations: 359.3 kB / 0.8475 GB, free: 8.621 MB / 0.67 GB Notification: Performance of SimCode: time 2.51e-07/0.5358, allocations: 0 / 0.8475 GB, free: 8.621 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.666/1.202, allocations: 24.18 MB / 0.8711 GB, free: 207.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/1.202, allocations: 215.2 kB / 0.8713 GB, free: 207.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/3.309, allocations: 1.828 kB / 0.8713 GB, free: 207.5 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)