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.001368/0.001368, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001546/0.001546, allocations: 195.2 kB / 16.26 MB, free: 6.621 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.9542/0.9542, allocations: 143 MB / 433.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.91 kB / 0.5137 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1495, allocations: 82.04 MB / 0.5938 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4369/0.5864, allocations: 201.7 MB / 0.7907 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009746/0.5962, allocations: 6.343 MB / 0.7969 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.5978, allocations: 35.81 kB / 0.7969 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.5998, allocations: 0.6611 MB / 0.7976 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006295/0.6061, allocations: 2.528 MB / 0.8 GB, free: 10.32 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.0019/0.608, allocations: 0.6402 MB / 0.8007 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004036/0.6121, allocations: 3.272 MB / 0.8039 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.6136, allocations: 1.11 MB / 0.8049 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.616, allocations: 1.265 MB / 0.8062 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/0.6191, allocations: 1.162 MB / 0.8073 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006326/0.6198, allocations: 128 kB / 0.8074 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005145/0.6249, allocations: 2.474 MB / 0.8099 GB, free: 244 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008389/0.6258, allocations: 0.5143 MB / 0.8104 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.6273, allocations: 0.7391 MB / 0.8111 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005418/0.6327, allocations: 3.023 MB / 0.814 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6328, allocations: 4 kB / 0.814 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6328, allocations: 0 / 0.814 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.248e-05/0.6329, allocations: 0 / 0.814 GB, free: 11.95 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.004803/0.6377, allocations: 1.772 MB / 0.8158 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6377, allocations: 8.031 kB / 0.8158 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.6403, allocations: 350.2 kB / 0.8161 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.642, allocations: 0.8427 MB / 0.8169 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.6421, allocations: 74 kB / 0.817 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.6423, allocations: 103.9 kB / 0.8171 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.6446, allocations: 1.195 MB / 0.8183 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.6447, allocations: 3.984 kB / 0.8183 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.6448, allocations: 40 kB / 0.8183 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.315e-05/0.6449, allocations: 62.08 kB / 0.8184 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.6469, allocations: 1.253 MB / 0.8196 GB, free: 6.113 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.006929/0.6539, allocations: 5.066 MB / 0.8245 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.6554, allocations: 1.155 MB / 0.8257 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007066/0.6561, allocations: 0.5051 MB / 0.8262 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.167e-05/0.6562, allocations: 8.656 kB / 0.8262 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007255/0.657, allocations: 493 kB / 0.8266 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/0.657, allocations: 0 / 0.8266 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001972/0.6589, allocations: 1.153 MB / 0.8278 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.659, allocations: 71.98 kB / 0.8278 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007437/0.6598, allocations: 0.5782 MB / 0.8284 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.6598, allocations: 41.7 kB / 0.8284 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.6602, allocations: 463.6 kB / 0.8289 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.6604, allocations: 264.1 kB / 0.8291 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.6607, allocations: 130.6 kB / 0.8293 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6608, allocations: 386.8 kB / 0.8296 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.6613, allocations: 329.8 kB / 0.8299 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.6619, allocations: 452.7 kB / 0.8304 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.6629, allocations: 0.8233 MB / 0.8312 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.663, allocations: 7.938 kB / 0.8312 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001382/0.6643, allocations: 0.9257 MB / 0.8321 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6644, allocations: 4 kB / 0.8321 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.6644, allocations: 4.625 kB / 0.8321 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.6644, allocations: 4.344 kB / 0.8321 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.6651, allocations: 171.7 kB / 0.8323 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.6651, allocations: 8 kB / 0.8323 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.6662, allocations: 151.2 kB / 0.8324 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.6663, allocations: 32.5 kB / 0.8324 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.0005231/0.6668, allocations: 329.5 kB / 0.8328 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.667, allocations: 75.16 kB / 0.8328 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.6673, allocations: 111.7 kB / 0.8329 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6673, allocations: 7.938 kB / 0.8329 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/0.6673, allocations: 4 kB / 0.833 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/0.6685, allocations: 1.086 MB / 0.834 GB, free: 6.543 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.003305/0.6718, allocations: 2.316 MB / 0.8363 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6718, allocations: 0 / 0.8363 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008539/0.6727, allocations: 175.8 kB / 0.8364 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.6727, allocations: 4 kB / 0.8364 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.6728, allocations: 17.73 kB / 0.8365 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.6728, allocations: 11.97 kB / 0.8365 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6728, allocations: 0 / 0.8365 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.6746, allocations: 1.354 MB / 0.8378 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004535/0.6751, allocations: 252 kB / 0.838 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.6752, allocations: 19.94 kB / 0.8381 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009324/0.6761, allocations: 101.5 kB / 0.8382 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.6762, allocations: 44.59 kB / 0.8382 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.6763, allocations: 24 kB / 0.8382 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004791/0.6768, allocations: 415 kB / 0.8386 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6768, allocations: 0 / 0.8386 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009679/0.6778, allocations: 367.1 kB / 0.839 GB, free: 1.355 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.0002792/0.6781, allocations: 186.9 kB / 0.8391 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.6799, allocations: 1.025 MB / 0.8401 GB, free: 144 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6799, allocations: 4.062 kB / 0.8401 GB, free: 140 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005573/0.6804, allocations: 431.6 kB / 0.8406 GB, free: 15.71 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.6831, allocations: 0.589 MB / 0.8411 GB, free: 15.18 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.6869, allocations: 2.638 MB / 0.8437 GB, free: 12.52 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000739/0.6876, allocations: 1.139 MB / 0.8448 GB, free: 11.35 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001031/0.6887, allocations: 277.3 kB / 0.8451 GB, free: 11.07 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.6889, allocations: 79.42 kB / 0.8452 GB, free: 11 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.6889, allocations: 0 / 0.8452 GB, free: 11 MB / 0.67 GB Notification: Performance of Templates: time 0.2833/0.9722, allocations: 19.01 MB / 0.8637 GB, free: 210.3 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)