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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.0008873/0.0008873, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005763/0.005763, allocations: 169.9 kB / 16.27 MB, free: 6.324 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.004/1.004, allocations: 143.4 MB / 434.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 8 kB / 0.5166 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 83.41 MB / 0.5981 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4869/0.6327, allocations: 199.3 MB / 0.7927 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.6431, allocations: 6.396 MB / 0.799 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.6445, allocations: 31.81 kB / 0.799 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.6463, allocations: 0.6454 MB / 0.7997 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006276/0.6525, allocations: 2.514 MB / 0.8021 GB, free: 10.64 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001646/0.6542, allocations: 0.6446 MB / 0.8027 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004846/0.6591, allocations: 4.823 MB / 0.8074 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.6604, allocations: 0.9239 MB / 0.8083 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.6625, allocations: 1.043 MB / 0.8094 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.6648, allocations: 1.101 MB / 0.8104 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.6649, allocations: 56 kB / 0.8105 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004778/0.6697, allocations: 2.712 MB / 0.8131 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005386/0.6703, allocations: 442.7 kB / 0.8136 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009329/0.6712, allocations: 0.6783 MB / 0.8142 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004244/0.6755, allocations: 2.933 MB / 0.8171 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6755, allocations: 0 / 0.8171 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.664e-06/0.6755, allocations: 0 / 0.8171 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.6755, allocations: 4 kB / 0.8171 GB, free: 11.23 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.003804/0.6793, allocations: 1.527 MB / 0.8186 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.6794, allocations: 8.031 kB / 0.8186 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/0.6816, allocations: 350.1 kB / 0.8189 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.6829, allocations: 0.8428 MB / 0.8198 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.683, allocations: 74.02 kB / 0.8198 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.6831, allocations: 107.9 kB / 0.8199 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.6851, allocations: 1.195 MB / 0.8211 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.6851, allocations: 0.5625 kB / 0.8211 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.6852, allocations: 39.98 kB / 0.8211 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.389e-05/0.6853, allocations: 66.06 kB / 0.8212 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.6872, allocations: 1.246 MB / 0.8224 GB, free: 5.652 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.005987/0.6932, allocations: 5.073 MB / 0.8274 GB, free: 124 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.6947, allocations: 1.153 MB / 0.8285 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007028/0.6954, allocations: 0.5012 MB / 0.829 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.753e-05/0.6954, allocations: 20.7 kB / 0.829 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007301/0.6962, allocations: 496.2 kB / 0.8295 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.775e-06/0.6962, allocations: 3.938 kB / 0.8295 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001942/0.6981, allocations: 1.149 MB / 0.8306 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.6982, allocations: 64 kB / 0.8307 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.6989, allocations: 0.5782 MB / 0.8312 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.6989, allocations: 41.7 kB / 0.8313 GB, free: 12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.6992, allocations: 455.7 kB / 0.8317 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.6995, allocations: 276.1 kB / 0.832 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.6996, allocations: 69.62 kB / 0.832 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6997, allocations: 378.8 kB / 0.8324 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.7002, allocations: 337.8 kB / 0.8327 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005448/0.7008, allocations: 449.8 kB / 0.8331 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.7018, allocations: 0.8193 MB / 0.8339 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.7019, allocations: 0 / 0.8339 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001305/0.7032, allocations: 0.9336 MB / 0.8349 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.7032, allocations: 8 kB / 0.8349 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.7032, allocations: 7.938 kB / 0.8349 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.7032, allocations: 4 kB / 0.8349 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/0.7039, allocations: 163.7 kB / 0.835 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.7039, allocations: 4 kB / 0.835 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.705, allocations: 163.4 kB / 0.8352 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.705, allocations: 24 kB / 0.8352 GB, free: 7.855 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.0004586/0.7055, allocations: 329.6 kB / 0.8355 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.7056, allocations: 83.05 kB / 0.8356 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.7059, allocations: 107.8 kB / 0.8357 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.7059, allocations: 15.94 kB / 0.8357 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7059, allocations: 0 / 0.8357 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/0.7071, allocations: 1.093 MB / 0.8368 GB, free: 6.133 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.003068/0.7102, allocations: 2.305 MB / 0.839 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7102, allocations: 4 kB / 0.839 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008083/0.711, allocations: 175.8 kB / 0.8392 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.711, allocations: 4 kB / 0.8392 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.7111, allocations: 16 kB / 0.8392 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.7111, allocations: 4 kB / 0.8392 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7111, allocations: 0 / 0.8392 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.7128, allocations: 1.358 MB / 0.8406 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/0.7132, allocations: 256 kB / 0.8408 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.723e-05/0.7133, allocations: 16 kB / 0.8408 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/0.7141, allocations: 100.4 kB / 0.8409 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.7142, allocations: 44.59 kB / 0.841 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.7143, allocations: 27.98 kB / 0.841 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004581/0.7148, allocations: 411.1 kB / 0.8414 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7148, allocations: 0 / 0.8414 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008546/0.7156, allocations: 367 kB / 0.8417 GB, free: 0.9531 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.0002716/0.7159, allocations: 183.2 kB / 0.8419 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.717, allocations: 0.798 MB / 0.8427 GB, free: 15.97 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.717, allocations: 0 / 0.8427 GB, free: 15.97 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.7176, allocations: 431.5 kB / 0.8431 GB, free: 15.55 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.7203, allocations: 0.5623 MB / 0.8436 GB, free: 15.01 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.7237, allocations: 2.741 MB / 0.8463 GB, free: 12.24 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/0.7243, allocations: 1.14 MB / 0.8474 GB, free: 11.07 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009678/0.7253, allocations: 272.4 kB / 0.8477 GB, free: 10.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.7255, allocations: 79.42 kB / 0.8478 GB, free: 10.73 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/0.7255, allocations: 0 / 0.8478 GB, free: 10.73 MB / 0.67 GB Notification: Performance of Templates: time 0.3398/1.065, allocations: 18.17 MB / 0.8655 GB, free: 206.2 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)