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.001146/0.001146, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001196/0.001195, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.1 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.8322/0.8322, allocations: 143 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 0.5156 GB, free: 14.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3139, allocations: 82.02 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4901/0.804, allocations: 204.3 MB / 0.7952 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009107/0.8132, allocations: 6.376 MB / 0.8014 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.8146, allocations: 36.91 kB / 0.8015 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.8163, allocations: 0.7367 MB / 0.8022 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005906/0.8222, allocations: 2.669 MB / 0.8048 GB, free: 1.152 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.001665/0.8239, allocations: 0.7171 MB / 0.8055 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003623/0.8276, allocations: 3.269 MB / 0.8087 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.829, allocations: 1.137 MB / 0.8098 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.8313, allocations: 1.25 MB / 0.811 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/0.8335, allocations: 1.1 MB / 0.8121 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.8337, allocations: 128.2 kB / 0.8122 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004509/0.8382, allocations: 2.357 MB / 0.8145 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007222/0.839, allocations: 0.5126 MB / 0.815 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.8401, allocations: 0.7425 MB / 0.8157 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004346/0.8445, allocations: 2.882 MB / 0.8185 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8445, allocations: 0 / 0.8185 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8445, allocations: 1.125 kB / 0.8185 GB, free: 312 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.8446, allocations: 0 / 0.8185 GB, free: 312 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.00374/0.8483, allocations: 1.772 MB / 0.8203 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.8484, allocations: 7.094 kB / 0.8203 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.8505, allocations: 353.1 kB / 0.8206 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.852, allocations: 0.8752 MB / 0.8215 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/0.852, allocations: 77.33 kB / 0.8215 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.8522, allocations: 100 kB / 0.8216 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.854, allocations: 1.193 MB / 0.8228 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.854, allocations: 3.094 kB / 0.8228 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.8541, allocations: 49.75 kB / 0.8229 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.11e-05/0.8542, allocations: 56.84 kB / 0.8229 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.8559, allocations: 1.251 MB / 0.8241 GB, free: 14.52 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.006735/0.8627, allocations: 5.101 MB / 0.8291 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.8641, allocations: 1.156 MB / 0.8302 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/0.8648, allocations: 0.5006 MB / 0.8307 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.619e-05/0.8649, allocations: 16.45 kB / 0.8307 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007028/0.8656, allocations: 487.9 kB / 0.8312 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.665e-06/0.8656, allocations: 1.469 kB / 0.8312 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001992/0.8676, allocations: 1.158 MB / 0.8323 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.8677, allocations: 60.06 kB / 0.8324 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008061/0.8685, allocations: 0.5751 MB / 0.833 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/0.8685, allocations: 41.7 kB / 0.833 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.8689, allocations: 461.8 kB / 0.8334 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.8692, allocations: 270.7 kB / 0.8337 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.8694, allocations: 135.7 kB / 0.8338 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8695, allocations: 382.2 kB / 0.8342 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.87, allocations: 337.8 kB / 0.8345 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.8706, allocations: 446.4 kB / 0.8349 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.8716, allocations: 0.8263 MB / 0.8357 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.8716, allocations: 0 / 0.8357 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001449/0.8731, allocations: 0.9342 MB / 0.8367 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.8731, allocations: 5.906 kB / 0.8367 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.8731, allocations: 9.406 kB / 0.8367 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.8732, allocations: 11.61 kB / 0.8367 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.8739, allocations: 150.9 kB / 0.8368 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.8739, allocations: 5.469 kB / 0.8368 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/0.8747, allocations: 58.47 kB / 0.8369 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.8748, allocations: 32.2 kB / 0.8369 GB, free: 5.738 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.0006363/0.8754, allocations: 332 kB / 0.8372 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.8756, allocations: 80.25 kB / 0.8373 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.8758, allocations: 109.8 kB / 0.8374 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.8758, allocations: 8.656 kB / 0.8374 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.8759, allocations: 0 / 0.8374 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/0.8771, allocations: 1.094 MB / 0.8385 GB, free: 4.523 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.003405/0.8805, allocations: 2.316 MB / 0.8408 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.8805, allocations: 0 / 0.8408 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008291/0.8814, allocations: 178.2 kB / 0.8409 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.8814, allocations: 4 kB / 0.8409 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.8814, allocations: 12 kB / 0.8409 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.8815, allocations: 4 kB / 0.8409 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.8815, allocations: 7.031 kB / 0.841 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.8832, allocations: 1.351 MB / 0.8423 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/0.8837, allocations: 264.1 kB / 0.8425 GB, free: 316 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.8839, allocations: 20 kB / 0.8425 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.8845, allocations: 19.98 kB / 0.8426 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/0.8846, allocations: 51.72 kB / 0.8426 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.8846, allocations: 23.98 kB / 0.8426 GB, free: 204 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004944/0.8851, allocations: 411.1 kB / 0.843 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8851, allocations: 0 / 0.843 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009235/0.886, allocations: 367.1 kB / 0.8434 GB, free: 15.45 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.0003169/0.8864, allocations: 188 kB / 0.8436 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.8875, allocations: 0.8018 MB / 0.8443 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8875, allocations: 0 / 0.8443 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005243/0.8881, allocations: 423.4 kB / 0.8447 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.8904, allocations: 0.5898 MB / 0.8453 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.8938, allocations: 2.168 MB / 0.8474 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.8945, allocations: 1.14 MB / 0.8485 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009394/0.8955, allocations: 271.1 kB / 0.8488 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.8957, allocations: 75.42 kB / 0.8489 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of SimCode: time 1.293e-06/0.8957, allocations: 0 / 0.8489 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of Templates: time 0.02998/0.9257, allocations: 19.1 MB / 0.8675 GB, free: 7.031 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)