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.001443/0.001443, 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.00171/0.001711, allocations: 193.4 kB / 16.14 MB, free: 6.66 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.598 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 1.036/1.036, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.89 kB / 0.5135 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1478, allocations: 82.03 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4773/0.6251, allocations: 202 MB / 0.7909 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009554/0.6347, allocations: 6.46 MB / 0.7972 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.6359, allocations: 35.75 kB / 0.7972 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.6376, allocations: 0.6376 MB / 0.7979 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00557/0.6432, allocations: 2.526 MB / 0.8003 GB, free: 10.02 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.001533/0.6447, allocations: 0.6295 MB / 0.8009 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004393/0.6491, allocations: 4.828 MB / 0.8057 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.6503, allocations: 0.9704 MB / 0.8066 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.6521, allocations: 1.082 MB / 0.8077 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.6541, allocations: 1.154 MB / 0.8088 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.6542, allocations: 72 kB / 0.8089 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/0.6588, allocations: 2.716 MB / 0.8115 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004995/0.6593, allocations: 482.7 kB / 0.812 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008029/0.6601, allocations: 0.6805 MB / 0.8126 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004002/0.6641, allocations: 2.98 MB / 0.8155 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6641, allocations: 0 / 0.8155 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of FrontEnd: time 7.01e-07/0.6641, allocations: 0 / 0.8155 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.6641, allocations: 0 / 0.8155 GB, free: 10.39 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.003841/0.668, allocations: 1.769 MB / 0.8173 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.668, allocations: 8.031 kB / 0.8173 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.6703, allocations: 350.2 kB / 0.8176 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.6715, allocations: 0.8388 MB / 0.8184 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.6716, allocations: 78 kB / 0.8185 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.6718, allocations: 99.98 kB / 0.8186 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.6736, allocations: 1.195 MB / 0.8198 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.6737, allocations: 0 / 0.8198 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.6738, allocations: 43.94 kB / 0.8198 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.394e-05/0.6739, allocations: 66.06 kB / 0.8199 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.6757, allocations: 1.242 MB / 0.8211 GB, free: 4.578 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.005778/0.6815, allocations: 5.073 MB / 0.826 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.6829, allocations: 1.155 MB / 0.8272 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/0.6836, allocations: 0.5012 MB / 0.8277 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.6836, allocations: 12.66 kB / 0.8277 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00068/0.6843, allocations: 493 kB / 0.8281 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.314e-06/0.6843, allocations: 0 / 0.8281 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001843/0.6862, allocations: 1.153 MB / 0.8293 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.6862, allocations: 68 kB / 0.8293 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/0.6869, allocations: 0.5782 MB / 0.8299 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.6869, allocations: 41.7 kB / 0.8299 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.6872, allocations: 459.8 kB / 0.8304 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.6874, allocations: 272.1 kB / 0.8306 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.6876, allocations: 126.6 kB / 0.8308 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6878, allocations: 382.8 kB / 0.8311 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.6883, allocations: 341.8 kB / 0.8314 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.6888, allocations: 445.3 kB / 0.8319 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.6899, allocations: 0.8233 MB / 0.8327 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6899, allocations: 3.938 kB / 0.8327 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00131/0.6912, allocations: 0.9257 MB / 0.8336 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6912, allocations: 8 kB / 0.8336 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6913, allocations: 4.344 kB / 0.8336 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.6913, allocations: 9.5 kB / 0.8336 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.6919, allocations: 163.7 kB / 0.8338 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.692, allocations: 4 kB / 0.8338 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/0.6929, allocations: 151.2 kB / 0.8339 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/0.693, allocations: 32 kB / 0.8339 GB, free: 6.719 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.0004177/0.6934, allocations: 337.5 kB / 0.8343 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.6935, allocations: 79.14 kB / 0.8343 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.6938, allocations: 107.8 kB / 0.8344 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.6938, allocations: 11.94 kB / 0.8345 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6938, allocations: 0 / 0.8345 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/0.695, allocations: 1.089 MB / 0.8355 GB, free: 5.004 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.003069/0.6981, allocations: 2.313 MB / 0.8378 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6981, allocations: 4 kB / 0.8378 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000863/0.699, allocations: 179.8 kB / 0.8379 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.699, allocations: 0 / 0.8379 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.699, allocations: 16 kB / 0.838 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.699, allocations: 8.031 kB / 0.838 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6991, allocations: 0 / 0.838 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.701, allocations: 1.358 MB / 0.8393 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/0.7015, allocations: 248 kB / 0.8395 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.7016, allocations: 16 kB / 0.8395 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008082/0.7024, allocations: 99.75 kB / 0.8396 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.7025, allocations: 52.59 kB / 0.8397 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.193e-05/0.7026, allocations: 23.98 kB / 0.8397 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004603/0.703, allocations: 415 kB / 0.8401 GB, free: 176 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7031, allocations: 3.938 kB / 0.8401 GB, free: 172 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008941/0.704, allocations: 363.1 kB / 0.8405 GB, free: 15.81 MB / 0.67 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.000259/0.7042, allocations: 182.4 kB / 0.8406 GB, free: 15.63 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.7054, allocations: 0.8025 MB / 0.8414 GB, free: 14.82 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7054, allocations: 0 / 0.8414 GB, free: 14.82 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.7059, allocations: 423.5 kB / 0.8418 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/0.7084, allocations: 0.5656 MB / 0.8424 GB, free: 13.87 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.7118, allocations: 2.627 MB / 0.8449 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.7124, allocations: 1.136 MB / 0.8461 GB, free: 10.05 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009542/0.7134, allocations: 273.3 kB / 0.8463 GB, free: 9.777 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.7136, allocations: 79.42 kB / 0.8464 GB, free: 9.699 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/0.7136, allocations: 0 / 0.8464 GB, free: 9.699 MB / 0.67 GB Notification: Performance of Templates: time 0.285/0.9986, allocations: 18.3 MB / 0.8643 GB, free: 210.8 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)