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.001575/0.001575, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 199.6 kB / 16.79 MB, free: 6.809 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.093/1.093, allocations: 143 MB / 433.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 0.5141 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1629, allocations: 82.04 MB / 0.5943 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5288/0.6918, allocations: 202 MB / 0.7916 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.7019, allocations: 6.456 MB / 0.7979 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.7036, allocations: 35.81 kB / 0.7979 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.7056, allocations: 0.6454 MB / 0.7985 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006713/0.7123, allocations: 2.519 MB / 0.801 GB, free: 10.08 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.001813/0.7142, allocations: 0.6291 MB / 0.8016 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005112/0.7193, allocations: 4.832 MB / 0.8063 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.7207, allocations: 0.9611 MB / 0.8073 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.7228, allocations: 1.093 MB / 0.8083 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.725, allocations: 1.143 MB / 0.8094 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.7252, allocations: 72 kB / 0.8095 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005087/0.7303, allocations: 2.723 MB / 0.8122 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005741/0.7309, allocations: 470.7 kB / 0.8126 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009139/0.7318, allocations: 0.6805 MB / 0.8133 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002837/0.7346, allocations: 2.156 MB / 0.8154 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7346, allocations: 3.938 kB / 0.8154 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7347, allocations: 0 / 0.8154 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.7347, allocations: 3.938 kB / 0.8154 GB, free: 11.28 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.004143/0.7388, allocations: 1.773 MB / 0.8171 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.7389, allocations: 8.031 kB / 0.8171 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.7412, allocations: 346.2 kB / 0.8175 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.7425, allocations: 0.8466 MB / 0.8183 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.7426, allocations: 81.98 kB / 0.8184 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.7428, allocations: 104 kB / 0.8185 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.7447, allocations: 1.195 MB / 0.8196 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.7447, allocations: 0 / 0.8196 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.7449, allocations: 36 kB / 0.8197 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.129e-05/0.7449, allocations: 62.06 kB / 0.8197 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.7468, allocations: 1.249 MB / 0.8209 GB, free: 5.449 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.006102/0.7529, allocations: 5.069 MB / 0.8259 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.7544, allocations: 1.155 MB / 0.827 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/0.7551, allocations: 0.505 MB / 0.8275 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.7552, allocations: 8.656 kB / 0.8275 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007062/0.7559, allocations: 488.2 kB / 0.828 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.344e-06/0.7559, allocations: 4 kB / 0.828 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001942/0.7579, allocations: 1.157 MB / 0.8291 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.7579, allocations: 64 kB / 0.8292 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/0.7586, allocations: 0.5782 MB / 0.8298 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.7586, allocations: 41.7 kB / 0.8298 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.7589, allocations: 455.7 kB / 0.8302 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.7592, allocations: 276.1 kB / 0.8305 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.7594, allocations: 130.6 kB / 0.8306 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.7595, allocations: 386.8 kB / 0.831 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.76, allocations: 329.8 kB / 0.8313 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.7606, allocations: 448.7 kB / 0.8317 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.7617, allocations: 0.8194 MB / 0.8325 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7617, allocations: 0 / 0.8325 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001332/0.763, allocations: 0.9377 MB / 0.8334 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.763, allocations: 4.938 kB / 0.8334 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.7631, allocations: 4 kB / 0.8334 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.7631, allocations: 4 kB / 0.8335 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.7638, allocations: 164.5 kB / 0.8336 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.7638, allocations: 4 kB / 0.8336 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/0.7648, allocations: 167.2 kB / 0.8338 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.7648, allocations: 20 kB / 0.8338 GB, free: 7.594 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.0004379/0.7653, allocations: 333.5 kB / 0.8341 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.7654, allocations: 79.14 kB / 0.8342 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.7656, allocations: 107.8 kB / 0.8343 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.7656, allocations: 11.94 kB / 0.8343 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.7656, allocations: 4 kB / 0.8343 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/0.7669, allocations: 1.089 MB / 0.8354 GB, free: 5.879 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.003143/0.77, allocations: 2.318 MB / 0.8376 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.77, allocations: 0 / 0.8376 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000839/0.7709, allocations: 175.8 kB / 0.8378 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.7709, allocations: 4 kB / 0.8378 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.7709, allocations: 16 kB / 0.8378 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.771, allocations: 4 kB / 0.8378 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.771, allocations: 0 / 0.8378 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.7727, allocations: 1.354 MB / 0.8391 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.7731, allocations: 260 kB / 0.8394 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.7732, allocations: 12 kB / 0.8394 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/0.774, allocations: 99.75 kB / 0.8395 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/0.7742, allocations: 44.59 kB / 0.8395 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.7742, allocations: 31.86 kB / 0.8396 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004677/0.7747, allocations: 411.1 kB / 0.84 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7747, allocations: 0 / 0.84 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008956/0.7756, allocations: 367.1 kB / 0.8403 GB, free: 0.6953 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.0002897/0.7759, allocations: 182.5 kB / 0.8405 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.7771, allocations: 0.7981 MB / 0.8413 GB, free: 15.71 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7771, allocations: 0 / 0.8413 GB, free: 15.71 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.7776, allocations: 427.6 kB / 0.8417 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.7801, allocations: 0.5638 MB / 0.8422 GB, free: 14.75 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.7836, allocations: 2.702 MB / 0.8449 GB, free: 12.02 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.7843, allocations: 1.14 MB / 0.846 GB, free: 10.85 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.7846, allocations: 83.42 kB / 0.8461 GB, free: 10.77 MB / 0.67 GB Notification: Performance of SimCode: time 6.12e-07/0.7846, allocations: 0 / 0.8461 GB, free: 10.77 MB / 0.67 GB Notification: Performance of Templates: time 0.3017/1.086, allocations: 15.79 MB / 0.8615 GB, free: 206 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)