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.004357/0.004357, allocations: 100.4 kB / 15.73 MB, free: 5.988 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.001051/0.001051, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.9294/0.9294, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 63.91 kB / 0.5955 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3399, allocations: 82.03 MB / 0.6756 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.537/0.877, allocations: 204.3 MB / 0.8751 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008497/0.8855, allocations: 6.389 MB / 0.8814 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.8867, allocations: 37.38 kB / 0.8814 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.8884, allocations: 0.7294 MB / 0.8821 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005391/0.8938, allocations: 2.684 MB / 0.8847 GB, free: 1.676 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.0016/0.8954, allocations: 0.7037 MB / 0.8854 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004545/0.9, allocations: 3.277 MB / 0.8886 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.9015, allocations: 1.137 MB / 0.8897 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.9039, allocations: 1.26 MB / 0.891 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.9056, allocations: 1.102 MB / 0.892 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.9059, allocations: 134.2 kB / 0.8922 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.9101, allocations: 2.356 MB / 0.8945 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004738/0.9106, allocations: 0.516 MB / 0.895 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000748/0.9113, allocations: 0.7384 MB / 0.8957 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.9145, allocations: 2.89 MB / 0.8985 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9145, allocations: 0 / 0.8985 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9145, allocations: 2.109 kB / 0.8985 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.9145, allocations: 0 / 0.8985 GB, free: 1.367 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.003292/0.9178, allocations: 1.766 MB / 0.9002 GB, free: 16.54 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.9179, allocations: 10.94 kB / 0.9002 GB, free: 16.54 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/0.9199, allocations: 349.5 kB / 0.9006 GB, free: 16.48 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.921, allocations: 0.8777 MB / 0.9014 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.9211, allocations: 76.86 kB / 0.9015 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.9212, allocations: 105 kB / 0.9016 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.9228, allocations: 1.187 MB / 0.9028 GB, free: 16.07 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.9229, allocations: 7.25 kB / 0.9028 GB, free: 16.07 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.923, allocations: 47.14 kB / 0.9028 GB, free: 16.07 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.699e-05/0.9231, allocations: 60 kB / 0.9029 GB, free: 16.07 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.9246, allocations: 1.247 MB / 0.9041 GB, free: 16.05 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.004924/0.9295, allocations: 5.102 MB / 0.9091 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.9307, allocations: 1.151 MB / 0.9102 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/0.9313, allocations: 0.5006 MB / 0.9107 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.9313, allocations: 27.98 kB / 0.9107 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000576/0.9319, allocations: 488 kB / 0.9112 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 2.776e-06/0.9319, allocations: 0 / 0.9112 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.001575/0.9335, allocations: 1.155 MB / 0.9123 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.9336, allocations: 59.44 kB / 0.9124 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.9341, allocations: 0.5819 MB / 0.9129 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.9342, allocations: 39.58 kB / 0.913 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.9344, allocations: 461.7 kB / 0.9134 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.9346, allocations: 267.8 kB / 0.9137 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.9348, allocations: 133.9 kB / 0.9138 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.9349, allocations: 387.5 kB / 0.9142 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.9353, allocations: 329.5 kB / 0.9145 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.9358, allocations: 447.5 kB / 0.9149 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.9367, allocations: 0.8291 MB / 0.9157 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9367, allocations: 1 kB / 0.9157 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001089/0.9378, allocations: 0.9266 MB / 0.9166 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.9378, allocations: 12.06 kB / 0.9166 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9378, allocations: 3.062 kB / 0.9166 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.9379, allocations: 10.47 kB / 0.9166 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/0.9385, allocations: 157.7 kB / 0.9168 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.9385, allocations: 5.844 kB / 0.9168 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/0.9392, allocations: 62.38 kB / 0.9169 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.9393, allocations: 28.78 kB / 0.9169 GB, free: 11.72 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.000375/0.9397, allocations: 328.8 kB / 0.9172 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.9398, allocations: 80.06 kB / 0.9173 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.94, allocations: 110.8 kB / 0.9174 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.94, allocations: 6.047 kB / 0.9174 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.94, allocations: 3 kB / 0.9174 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.9411, allocations: 1.09 MB / 0.9185 GB, free: 11.1 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.002726/0.9438, allocations: 2.303 MB / 0.9207 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9438, allocations: 2.359 kB / 0.9207 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/0.9446, allocations: 178.3 kB / 0.9209 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.9446, allocations: 4.141 kB / 0.9209 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.9447, allocations: 21.61 kB / 0.9209 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.9447, allocations: 3.594 kB / 0.9209 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9447, allocations: 0.9688 kB / 0.9209 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.9463, allocations: 1.359 MB / 0.9222 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.9466, allocations: 252.8 kB / 0.9225 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.9467, allocations: 14.62 kB / 0.9225 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.9473, allocations: 23.22 kB / 0.9225 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.9474, allocations: 45.33 kB / 0.9226 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.9474, allocations: 29.72 kB / 0.9226 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004253/0.9479, allocations: 413.3 kB / 0.923 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9479, allocations: 0.8438 kB / 0.923 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007968/0.9487, allocations: 362.7 kB / 0.9233 GB, free: 10.09 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.0002604/0.949, allocations: 189.8 kB / 0.9235 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009428/0.9499, allocations: 0.8032 MB / 0.9243 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.9499, allocations: 4.828 kB / 0.9243 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.9504, allocations: 422.8 kB / 0.9247 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.9529, allocations: 0.5933 MB / 0.9253 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.9561, allocations: 2.167 MB / 0.9274 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/0.9569, allocations: 1.137 MB / 0.9285 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009002/0.9578, allocations: 280.6 kB / 0.9288 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.9581, allocations: 72.25 kB / 0.9288 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of SimCode: time 4.41e-07/0.9581, allocations: 0 / 0.9288 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of Templates: time 0.03124/0.9893, allocations: 19.28 MB / 0.9477 GB, free: 15.92 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)