Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2") translateModel(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 106.9 kB / 16.37 MB, free: 6.316 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.001178/0.001178, allocations: 186.3 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.191, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2): time 1.167/1.358, allocations: 0.5001 GB / 1.285 GB, free: 20.6 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.06875/1.427, allocations: 64.57 MB / 1.348 GB, free: 1.453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009031/1.436, allocations: 247.3 kB / 1.348 GB, free: 1.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.008877/1.445, allocations: 3.449 MB / 1.352 GB, free: 15.09 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:638:3-686:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanReal' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function 'Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.023/1.468, allocations: 8.982 MB / 1.36 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.01403/1.482, allocations: 6.044 MB / 1.366 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.1019/1.584, allocations: 66.49 MB / 1.431 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04779/1.631, allocations: 30.66 MB / 1.461 GB, free: 7.496 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04483/1.676, allocations: 22.81 MB / 1.483 GB, free: 1.809 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03193/1.708, allocations: 17.72 MB / 1.501 GB, free: 1.379 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.008508/1.717, allocations: 2.648 MB / 1.503 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02391/1.741, allocations: 8.156 MB / 1.511 GB, free: 7.004 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.01284/1.754, allocations: 7.084 MB / 1.518 GB, free: 0 / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.03086/1.785, allocations: 14.11 MB / 1.532 GB, free: 1.93 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 1.063/2.847, allocations: 45.62 MB / 1.577 GB, free: 134.4 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/2.847, allocations: 2.062 kB / 1.577 GB, free: 134.4 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.954e-06/2.847, allocations: 0 / 1.577 GB, free: 134.4 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.001287/2.849, allocations: 0 / 1.577 GB, free: 134.4 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3436 * Number of variables: 3436 Notification: Performance of Generate backend data structure: time 0.08376/2.933, allocations: 26.85 MB / 1.603 GB, free: 125.3 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/2.933, allocations: 9.625 kB / 1.603 GB, free: 125.3 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03976/2.972, allocations: 6.686 MB / 1.609 GB, free: 124 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06082/3.033, allocations: 25.95 MB / 1.635 GB, free: 120.6 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001377/3.035, allocations: 1.104 MB / 1.636 GB, free: 120.5 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007091/3.042, allocations: 1.417 MB / 1.637 GB, free: 120.5 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05725/3.099, allocations: 22.76 MB / 1.659 GB, free: 117.9 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000454/3.1, allocations: 50.78 kB / 1.659 GB, free: 117.9 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004424/3.104, allocations: 0.5669 MB / 1.66 GB, free: 117.9 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004092/3.104, allocations: 0.5102 MB / 1.66 GB, free: 117.9 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04723/3.152, allocations: 20.87 MB / 1.681 GB, free: 117.6 MB / 1.123 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.1456/3.297, allocations: 108.2 MB / 1.786 GB, free: 33.81 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02491/3.322, allocations: 12.26 MB / 1.798 GB, free: 21.41 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01262/3.335, allocations: 6.651 MB / 1.805 GB, free: 14.74 MB / 1.123 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 evalFunc (simulation): time 0.04576/3.381, allocations: 19.93 MB / 1.824 GB, free: 10.75 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01615/3.397, allocations: 6.961 MB / 1.831 GB, free: 3.711 MB / 1.139 GB Notification: Performance of pre-optimization done (n=577): time 1.033e-05/3.397, allocations: 0 / 1.831 GB, free: 3.711 MB / 1.139 GB Notification: Performance of matching and sorting (n=577): time 0.05617/3.453, allocations: 20.28 MB / 1.851 GB, free: 15.31 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/3.453, allocations: 291.9 kB / 1.851 GB, free: 14.96 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04919/3.502, allocations: 22.61 MB / 1.873 GB, free: 8.488 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.002788/3.505, allocations: 187.8 kB / 1.874 GB, free: 8.301 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.01599/3.521, allocations: 10.63 MB / 1.884 GB, free: 13.66 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.003889/3.525, allocations: 2.04 MB / 1.886 GB, free: 11.64 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007878/3.533, allocations: 2.334 MB / 1.888 GB, free: 9.289 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.57e-05/3.533, allocations: 301.1 kB / 1.888 GB, free: 8.992 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01731/3.551, allocations: 6.966 MB / 1.895 GB, free: 2.008 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02149/3.572, allocations: 11.72 MB / 1.907 GB, free: 4.309 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03478/3.607, allocations: 17.04 MB / 1.923 GB, free: 2.074 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/3.607, allocations: 32 kB / 1.923 GB, free: 2.043 MB / 1.233 GB Notification: Performance of matching and sorting (n=1264) (initialization): time 0.05359/3.661, allocations: 21.3 MB / 1.944 GB, free: 13.34 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 9.863e-05/3.661, allocations: 56 kB / 1.944 GB, free: 13.28 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/3.661, allocations: 114.7 kB / 1.944 GB, free: 13.17 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03216/3.693, allocations: 9.379 MB / 1.954 GB, free: 3.844 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/3.703, allocations: 2.344 MB / 1.956 GB, free: 1.637 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01954/3.723, allocations: 9.587 MB / 1.965 GB, free: 8.059 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02157/3.745, allocations: 2.137 MB / 1.967 GB, free: 5.918 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002907/3.748, allocations: 0.535 MB / 1.968 GB, free: 5.383 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03018/3.778, allocations: 14.15 MB / 1.982 GB, free: 7.215 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01894/3.797, allocations: 11.31 MB / 1.993 GB, free: 9.922 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03178/3.829, allocations: 16.31 MB / 2.009 GB, free: 8.418 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001372/3.829, allocations: 32 kB / 2.009 GB, free: 8.387 MB / 1.326 GB Notification: Performance of matching and sorting (n=1264) (initialization_lambda0): time 0.05065/3.879, allocations: 20.24 MB / 2.028 GB, free: 4.785 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/3.88, allocations: 52 kB / 2.028 GB, free: 4.734 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/3.88, allocations: 116 kB / 2.029 GB, free: 4.621 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4198/4.3, allocations: 4.925 MB / 2.033 GB, free: 0.6309 GB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01125/4.311, allocations: 2.489 MB / 2.036 GB, free: 0.6309 GB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/4.33, allocations: 13.53 MB / 2.049 GB, free: 0.6271 GB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02014/4.35, allocations: 1.851 MB / 2.051 GB, free: 0.627 GB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002747/4.353, allocations: 0.5188 MB / 2.051 GB, free: 0.627 GB / 1.342 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.loa.nextTimeEvent,$whenCondition1,ter[5].con.con1.y,ter[4].con.con1.y,ter[3].con.con1.y,ter[2].con.con1.y,ter[1].con.con1.y,ter[5].hex.flowRegime_nominal,ter[4].hex.flowRegime_nominal,ter[3].hex.flowRegime_nominal,ter[2].hex.flowRegime_nominal,ter[1].hex.flowRegime_nominal,loa.nextTimeEventScaled,$PRE.loa.nextTimeEventScaled,loa.nextTimeEvent,ter[5].hex.flowRegime,ter[4].hex.flowRegime,ter[3].hex.flowRegime,ter[2].hex.flowRegime,ter[1].hex.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1007): * Single equations (assignments): 1000 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,241)} Notification: Performance of prepare postOptimizeDAE: time 0.003337/4.356, allocations: 0.8609 MB / 2.052 GB, free: 0.6269 GB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006065/4.362, allocations: 1.781 MB / 2.054 GB, free: 0.6269 GB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04346/4.406, allocations: 16.33 MB / 2.07 GB, free: 0.6242 GB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03163/4.438, allocations: 13.54 MB / 2.083 GB, free: 0.6204 GB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/4.438, allocations: 1.25 kB / 2.083 GB, free: 0.6204 GB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01157/4.449, allocations: 3.671 MB / 2.087 GB, free: 0.6194 GB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007084/4.456, allocations: 116.1 kB / 2.087 GB, free: 0.6193 GB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01593/4.472, allocations: 1.066 MB / 2.088 GB, free: 0.6192 GB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001596/4.474, allocations: 364.3 kB / 2.088 GB, free: 0.6192 GB / 1.342 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04695/4.521, allocations: 18.53 MB / 2.106 GB, free: 0.6155 GB / 1.342 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04237/4.563, allocations: 20.63 MB / 2.126 GB, free: 0.6096 GB / 1.342 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01188/4.575, allocations: 6.047 MB / 2.132 GB, free: 0.6081 GB / 1.342 GB Notification: Performance of sorting global known variables: time 0.02744/4.603, allocations: 15.83 MB / 2.148 GB, free: 0.6002 GB / 1.342 GB Notification: Performance of Backend: time 6.71e-07/4.603, allocations: 0 / 2.148 GB, free: 0.6002 GB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.05568/4.658, allocations: 20.76 MB / 2.168 GB, free: 0.5813 GB / 1.342 GB Notification: Performance of SimCode: time 0.09691/4.755, allocations: 50.04 MB / 2.217 GB, free: 0.5328 GB / 1.342 GB Notification: Performance of Templates: time 0.5233/5.279, allocations: 421.1 MB / 2.628 GB, free: 127.1 MB / 1.342 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2.pipe 2>&1)