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.005293/0.005293, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001196, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.9063/0.9063, allocations: 143 MB / 433.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.89 kB / 0.5955 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4022, allocations: 82.03 MB / 0.6756 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.566/0.9682, allocations: 204.3 MB / 0.8751 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008883/0.9771, allocations: 6.389 MB / 0.8814 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009347/0.9781, allocations: 38.75 kB / 0.8814 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.9798, allocations: 0.7256 MB / 0.8821 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005155/0.9851, allocations: 2.685 MB / 0.8847 GB, free: 1.754 MB / 0.6856 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.001445/0.9865, allocations: 0.702 MB / 0.8854 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003946/0.9905, allocations: 3.285 MB / 0.8886 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.9918, allocations: 1.139 MB / 0.8897 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.9937, allocations: 1.267 MB / 0.891 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.9955, allocations: 1.092 MB / 0.892 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.9957, allocations: 128 kB / 0.8922 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003912/0.9996, allocations: 2.361 MB / 0.8945 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004444/1, allocations: 0.5124 MB / 0.895 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006619/1.001, allocations: 0.7429 MB / 0.8957 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/1.004, allocations: 2.886 MB / 0.8985 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/1.004, allocations: 0 / 0.8985 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.102e-06/1.004, allocations: 2.875 kB / 0.8985 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.348e-05/1.004, allocations: 0 / 0.8985 GB, free: 1.438 MB / 0.6856 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.003287/1.007, allocations: 1.771 MB / 0.9002 GB, free: 16.61 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/1.007, allocations: 8.969 kB / 0.9003 GB, free: 16.61 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/1.009, allocations: 347.4 kB / 0.9006 GB, free: 16.55 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/1.01, allocations: 0.8753 MB / 0.9014 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/1.01, allocations: 78.3 kB / 0.9015 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.01, allocations: 104.3 kB / 0.9016 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/1.012, allocations: 1.186 MB / 0.9028 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/1.012, allocations: 0.8125 kB / 0.9028 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/1.012, allocations: 44.56 kB / 0.9028 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/1.012, allocations: 62.33 kB / 0.9029 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/1.013, allocations: 1.252 MB / 0.9041 GB, free: 16.12 MB / 0.7012 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.004918/1.018, allocations: 5.098 MB / 0.9091 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/1.02, allocations: 1.153 MB / 0.9102 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/1.02, allocations: 0.5068 MB / 0.9107 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/1.02, allocations: 14.67 kB / 0.9107 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005383/1.021, allocations: 486.4 kB / 0.9112 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 2.094e-06/1.021, allocations: 0 / 0.9112 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.001483/1.022, allocations: 1.161 MB / 0.9123 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/1.022, allocations: 59.75 kB / 0.9124 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/1.023, allocations: 0.5815 MB / 0.9129 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/1.023, allocations: 38.39 kB / 0.913 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/1.023, allocations: 468.4 kB / 0.9134 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/1.023, allocations: 269.3 kB / 0.9137 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/1.023, allocations: 132.5 kB / 0.9138 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.024, allocations: 386.1 kB / 0.9142 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/1.024, allocations: 328.9 kB / 0.9145 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/1.024, allocations: 450.6 kB / 0.9149 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/1.025, allocations: 0.8254 MB / 0.9157 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.025, allocations: 3.375 kB / 0.9157 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001059/1.026, allocations: 0.9285 MB / 0.9166 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.026, allocations: 5.031 kB / 0.9166 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.026, allocations: 4.812 kB / 0.9166 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.026, allocations: 11.69 kB / 0.9166 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/1.027, allocations: 154.7 kB / 0.9168 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/1.027, allocations: 12.53 kB / 0.9168 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005993/1.028, allocations: 59.12 kB / 0.9169 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/1.028, allocations: 29.47 kB / 0.9169 GB, free: 11.8 MB / 0.7012 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.0003262/1.028, allocations: 328.8 kB / 0.9172 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.028, allocations: 87.3 kB / 0.9173 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/1.028, allocations: 108.6 kB / 0.9174 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.028, allocations: 5.5 kB / 0.9174 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.028, allocations: 0 / 0.9174 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/1.029, allocations: 1.095 MB / 0.9185 GB, free: 11.17 MB / 0.7012 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.002574/1.032, allocations: 2.31 MB / 0.9207 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.032, allocations: 0 / 0.9207 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007416/1.033, allocations: 172.2 kB / 0.9209 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/1.033, allocations: 3.094 kB / 0.9209 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/1.033, allocations: 19 kB / 0.9209 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/1.033, allocations: 2.344 kB / 0.9209 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.033, allocations: 0.9688 kB / 0.9209 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/1.034, allocations: 1.364 MB / 0.9222 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/1.035, allocations: 248.7 kB / 0.9225 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.035, allocations: 15.31 kB / 0.9225 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/1.035, allocations: 24.42 kB / 0.9225 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/1.035, allocations: 47.39 kB / 0.9226 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/1.035, allocations: 27.16 kB / 0.9226 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003635/1.036, allocations: 413.5 kB / 0.923 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/1.036, allocations: 0 / 0.923 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007074/1.037, allocations: 363.8 kB / 0.9233 GB, free: 10.16 MB / 0.7012 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.0002456/1.037, allocations: 190 kB / 0.9235 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008967/1.038, allocations: 0.8043 MB / 0.9243 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.038, allocations: 0 / 0.9243 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000431/1.038, allocations: 427.9 kB / 0.9247 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.04, allocations: 0.5938 MB / 0.9253 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/1.043, allocations: 2.167 MB / 0.9274 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/1.044, allocations: 1.138 MB / 0.9285 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006963/1.044, allocations: 278.9 kB / 0.9288 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/1.044, allocations: 72.69 kB / 0.9288 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of SimCode: time 3.11e-07/1.044, allocations: 0 / 0.9288 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of Templates: time 0.02641/1.071, allocations: 19.56 MB / 0.9479 GB, free: 15.71 MB / 0.7169 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)