Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.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: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006356/0.0006356, allocations: 91.84 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.003683/0.003683, allocations: 170.8 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.13/1.13, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.8407/0.8407, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002696, allocations: 8 kB / 0.5164 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1216, allocations: 83.41 MB / 0.5978 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.3676/0.4892, allocations: 199.3 MB / 0.7925 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007536/0.4968, allocations: 6.385 MB / 0.7987 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.4972, allocations: 31.81 kB / 0.7988 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.4984, allocations: 0.6454 MB / 0.7994 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.5026, allocations: 2.515 MB / 0.8019 GB, free: 11.03 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.5037, allocations: 0.6418 MB / 0.8025 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003602/0.5073, allocations: 4.827 MB / 0.8072 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009223/0.5082, allocations: 0.9273 MB / 0.8081 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.5094, allocations: 1.043 MB / 0.8091 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.5109, allocations: 1.092 MB / 0.8102 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.16e-05/0.511, allocations: 56 kB / 0.8102 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.5142, allocations: 2.708 MB / 0.8129 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.5145, allocations: 450.7 kB / 0.8133 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005396/0.5151, allocations: 0.6705 MB / 0.814 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.5176, allocations: 2.94 MB / 0.8168 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5176, allocations: 0 / 0.8168 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5176, allocations: 0 / 0.8168 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.5176, allocations: 0 / 0.8168 GB, free: 11.63 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.002963/0.5206, allocations: 1.523 MB / 0.8183 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.5206, allocations: 11.97 kB / 0.8183 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/0.5225, allocations: 355 kB / 0.8187 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5235, allocations: 0.8428 MB / 0.8195 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.5236, allocations: 74.02 kB / 0.8196 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.5237, allocations: 107.9 kB / 0.8197 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.5253, allocations: 1.183 MB / 0.8208 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.5254, allocations: 0 / 0.8208 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.163e-05/0.5255, allocations: 47.97 kB / 0.8209 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/0.5255, allocations: 66.06 kB / 0.8209 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.5272, allocations: 1.253 MB / 0.8222 GB, free: 6.039 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.005116/0.5323, allocations: 5.077 MB / 0.8271 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.5336, allocations: 1.159 MB / 0.8283 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.5342, allocations: 0.5012 MB / 0.8287 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.5343, allocations: 20.78 kB / 0.8288 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006048/0.5349, allocations: 480.2 kB / 0.8292 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.965e-06/0.5349, allocations: 0 / 0.8292 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001628/0.5365, allocations: 1.165 MB / 0.8304 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.5366, allocations: 64 kB / 0.8304 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.5372, allocations: 0.5782 MB / 0.831 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.5372, allocations: 37.7 kB / 0.831 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.5375, allocations: 459.7 kB / 0.8315 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.5377, allocations: 264.1 kB / 0.8317 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.5378, allocations: 65.69 kB / 0.8318 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5379, allocations: 382.8 kB / 0.8321 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.5383, allocations: 337.8 kB / 0.8325 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.5388, allocations: 448.7 kB / 0.8329 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009732/0.5398, allocations: 0.8233 MB / 0.8337 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5398, allocations: 0 / 0.8337 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001167/0.541, allocations: 0.9257 MB / 0.8346 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.541, allocations: 9.906 kB / 0.8346 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.541, allocations: 8 kB / 0.8346 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.541, allocations: 4 kB / 0.8346 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.5416, allocations: 167.7 kB / 0.8348 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.5416, allocations: 4 kB / 0.8348 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/0.5425, allocations: 159.2 kB / 0.8349 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.5425, allocations: 24 kB / 0.835 GB, free: 8.25 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0003419/0.5429, allocations: 333.5 kB / 0.8353 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.543, allocations: 79.06 kB / 0.8353 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.5432, allocations: 115.7 kB / 0.8355 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5432, allocations: 11.94 kB / 0.8355 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5432, allocations: 0 / 0.8355 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/0.5443, allocations: 1.089 MB / 0.8365 GB, free: 6.527 MB / 0.6544 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 postOpt removeSimpleEquations (simulation): time 0.002694/0.547, allocations: 2.309 MB / 0.8388 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.547, allocations: 7.984 kB / 0.8388 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/0.5477, allocations: 167.8 kB / 0.839 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.5478, allocations: 12.02 kB / 0.839 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.5478, allocations: 16 kB / 0.839 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.5478, allocations: 4 kB / 0.839 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5478, allocations: 0 / 0.839 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.5494, allocations: 1.354 MB / 0.8403 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.5497, allocations: 252 kB / 0.8405 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/0.5498, allocations: 20 kB / 0.8406 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/0.5505, allocations: 99.75 kB / 0.8407 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.5506, allocations: 48.59 kB / 0.8407 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.5506, allocations: 23.98 kB / 0.8407 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003853/0.551, allocations: 415.1 kB / 0.8411 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.551, allocations: 0 / 0.8411 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006392/0.5516, allocations: 359 kB / 0.8415 GB, free: 1.348 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0002225/0.5519, allocations: 196.4 kB / 0.8417 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009855/0.5529, allocations: 0.802 MB / 0.8424 GB, free: 356 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5529, allocations: 0 / 0.8424 GB, free: 356 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.5534, allocations: 423.5 kB / 0.8428 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.5557, allocations: 0.5724 MB / 0.8434 GB, free: 15.39 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.5585, allocations: 2.729 MB / 0.8461 GB, free: 12.63 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006023/0.5591, allocations: 1.14 MB / 0.8472 GB, free: 11.46 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007907/0.5599, allocations: 279.1 kB / 0.8474 GB, free: 11.19 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.5602, allocations: 75.42 kB / 0.8475 GB, free: 11.11 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.5602, allocations: 0 / 0.8475 GB, free: 11.11 MB / 0.67 GB Notification: Performance of Templates: time 0.2245/0.7847, allocations: 18.18 MB / 0.8653 GB, free: 206.1 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)