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.001075/0.001076, allocations: 101.8 kB / 16.27 MB, free: 6.414 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.00098/0.00098, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.252/1.252, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.8146/0.8145, allocations: 143.1 MB / 434.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 0.5148 GB, free: 15.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3319, allocations: 82.02 MB / 0.5949 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4801/0.8121, allocations: 204.3 MB / 0.7944 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008645/0.8208, allocations: 6.377 MB / 0.8007 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.8225, allocations: 40.72 kB / 0.8007 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.8246, allocations: 0.7307 MB / 0.8014 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.8311, allocations: 2.675 MB / 0.804 GB, free: 1.105 MB / 0.5762 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.00171/0.8328, allocations: 0.6962 MB / 0.8047 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003457/0.8363, allocations: 3.279 MB / 0.8079 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.8379, allocations: 1.138 MB / 0.809 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.8402, allocations: 1.242 MB / 0.8102 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002241/0.8424, allocations: 1.103 MB / 0.8113 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003803/0.8428, allocations: 128.1 kB / 0.8114 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004443/0.8473, allocations: 2.356 MB / 0.8137 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007185/0.848, allocations: 0.5151 MB / 0.8142 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.8496, allocations: 0.7407 MB / 0.815 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005085/0.8547, allocations: 2.862 MB / 0.8178 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8548, allocations: 6.422 kB / 0.8178 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8548, allocations: 2.406 kB / 0.8178 GB, free: 268 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.336e-05/0.8548, allocations: 3.938 kB / 0.8178 GB, free: 264 kB / 0.5762 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.005003/0.8598, allocations: 1.768 MB / 0.8195 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.8599, allocations: 10.72 kB / 0.8195 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.8623, allocations: 349 kB / 0.8198 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.864, allocations: 0.8385 MB / 0.8207 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.864, allocations: 76.86 kB / 0.8207 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.8643, allocations: 104.2 kB / 0.8208 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.8663, allocations: 1.187 MB / 0.822 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.8663, allocations: 0 / 0.822 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.8665, allocations: 52.45 kB / 0.822 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/0.8665, allocations: 60.52 kB / 0.8221 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.8685, allocations: 1.247 MB / 0.8233 GB, free: 14.62 MB / 0.5919 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.006487/0.875, allocations: 5.138 MB / 0.8283 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.8763, allocations: 1.156 MB / 0.8295 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006423/0.877, allocations: 0.5026 MB / 0.83 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.8771, allocations: 16.56 kB / 0.83 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006524/0.8777, allocations: 486.7 kB / 0.8304 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.214e-06/0.8777, allocations: 4 kB / 0.8304 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001884/0.8796, allocations: 1.156 MB / 0.8316 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.8797, allocations: 62.84 kB / 0.8316 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007487/0.8804, allocations: 0.5782 MB / 0.8322 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.8805, allocations: 39.23 kB / 0.8322 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.8808, allocations: 458.2 kB / 0.8327 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.8811, allocations: 265.3 kB / 0.8329 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.8813, allocations: 136.5 kB / 0.833 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.8815, allocations: 384.8 kB / 0.8334 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.882, allocations: 330.6 kB / 0.8337 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.8825, allocations: 454 kB / 0.8342 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/0.8835, allocations: 0.8204 MB / 0.835 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.8836, allocations: 3.25 kB / 0.835 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001291/0.8849, allocations: 0.9358 MB / 0.8359 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.8849, allocations: 6.094 kB / 0.8359 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.8849, allocations: 2.875 kB / 0.8359 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8849, allocations: 5.906 kB / 0.8359 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.8855, allocations: 159.7 kB / 0.836 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.8856, allocations: 7.469 kB / 0.8361 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/0.8863, allocations: 58.03 kB / 0.8361 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.8864, allocations: 23.12 kB / 0.8361 GB, free: 5.867 MB / 0.5919 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.0004381/0.8868, allocations: 342.7 kB / 0.8365 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.887, allocations: 81.03 kB / 0.8365 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.8872, allocations: 113.2 kB / 0.8366 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.8872, allocations: 7.375 kB / 0.8367 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.8873, allocations: 4 kB / 0.8367 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.8885, allocations: 1.09 MB / 0.8377 GB, free: 4.586 MB / 0.5919 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.003095/0.8916, allocations: 2.315 MB / 0.84 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8916, allocations: 0 / 0.84 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008189/0.8924, allocations: 173.4 kB / 0.8401 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.8924, allocations: 4 kB / 0.8401 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/0.8925, allocations: 23.98 kB / 0.8402 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.8925, allocations: 0 / 0.8402 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8925, allocations: 11.88 kB / 0.8402 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.8943, allocations: 1.357 MB / 0.8415 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.8947, allocations: 252 kB / 0.8417 GB, free: 380 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.8949, allocations: 16 kB / 0.8418 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/0.8955, allocations: 26.05 kB / 0.8418 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.8956, allocations: 44.53 kB / 0.8418 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.8957, allocations: 24 kB / 0.8419 GB, free: 272 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004738/0.8962, allocations: 419 kB / 0.8423 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8962, allocations: 0 / 0.8423 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009276/0.8971, allocations: 367.1 kB / 0.8426 GB, free: 15.5 MB / 0.6075 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.0002832/0.8974, allocations: 173.3 kB / 0.8428 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.8991, allocations: 1.03 MB / 0.8438 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.8991, allocations: 4.125 kB / 0.8438 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005483/0.8997, allocations: 435.4 kB / 0.8442 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.9023, allocations: 0.5896 MB / 0.8448 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.9057, allocations: 2.267 MB / 0.847 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008141/0.9065, allocations: 1.136 MB / 0.8481 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.9068, allocations: 87.36 kB / 0.8482 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.9068, allocations: 0 / 0.8482 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of Templates: time 0.02332/0.9301, allocations: 15.8 MB / 0.8636 GB, free: 10.16 MB / 0.6231 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)