Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1") translateModel(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 288.4 MB / 304.3 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009705/0.0009705, allocations: 182.8 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 0.6316 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007641/0.0007641, allocations: 82.38 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003337, allocations: 15.22 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1676, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1): time 0.7639/0.9316, allocations: 390 MB / 1.362 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.08434/1.016, allocations: 63.28 MB / 1.423 GB, free: 4.93 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009903/1.026, allocations: 258.2 kB / 1.424 GB, free: 4.676 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.007045/1.033, allocations: 1.895 MB / 1.425 GB, free: 2.77 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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/Buildings 8.0.1-maint.8.0.x/Experimental/DHC/Loads/FlowDistribution.mo:186:18-186:29:writable] Warning: 'each' used when modifying non-array element y. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Experimental/DHC/Loads/FlowDistribution.mo:199:18-199:26:writable] Warning: 'each' used when modifying non-array element y. Notification: Performance of NFTyping.typeBindings: time 0.5932/1.626, allocations: 5.979 MB / 1.431 GB, free: 42.79 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0117/1.638, allocations: 3.434 MB / 1.435 GB, free: 42.75 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.1077/1.746, allocations: 46.3 MB / 1.48 GB, free: 41.86 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03204/1.778, allocations: 16.02 MB / 1.496 GB, free: 38.98 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03449/1.812, allocations: 10.78 MB / 1.506 GB, free: 38.96 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02542/1.838, allocations: 9.98 MB / 1.516 GB, free: 38.92 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.006455/1.844, allocations: 0.5435 MB / 1.516 GB, free: 38.92 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0255/1.87, allocations: 5.944 MB / 1.522 GB, free: 38.91 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01083/1.881, allocations: 3.782 MB / 1.526 GB, free: 38.62 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.02349/1.904, allocations: 7.407 MB / 1.533 GB, free: 38.08 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02863/1.933, allocations: 24.71 MB / 1.557 GB, free: 17.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.933, allocations: 5.094 kB / 1.557 GB, free: 17.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.076e-06/1.933, allocations: 0 / 1.557 GB, free: 17.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001038/1.934, allocations: 4 kB / 1.557 GB, free: 17.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 0.03874/1.973, allocations: 15.4 MB / 1.572 GB, free: 3.379 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.973, allocations: 11.97 kB / 1.572 GB, free: 3.367 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02905/2.002, allocations: 5.271 MB / 1.577 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04171/2.044, allocations: 16.42 MB / 1.593 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003475/2.047, allocations: 1.388 MB / 1.595 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005502/2.053, allocations: 1.033 MB / 1.596 GB, free: 1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04744/2.1, allocations: 15.25 MB / 1.611 GB, free: 5.945 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003189/2.1, allocations: 15.88 kB / 1.611 GB, free: 5.93 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003214/2.104, allocations: 403 kB / 1.611 GB, free: 5.84 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003936/2.104, allocations: 377 kB / 1.611 GB, free: 5.48 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03922/2.143, allocations: 14.44 MB / 1.626 GB, free: 11.17 MB / 0.9948 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.1162/2.26, allocations: 60.91 MB / 1.685 GB, free: 8.809 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0236/2.283, allocations: 10.24 MB / 1.695 GB, free: 1.223 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01142/2.295, allocations: 5.304 MB / 1.7 GB, free: 13.43 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04107/2.336, allocations: 16.45 MB / 1.716 GB, free: 1.766 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01195/2.348, allocations: 5.585 MB / 1.722 GB, free: 13.53 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007678/2.356, allocations: 0.8504 MB / 1.723 GB, free: 12.79 MB / 1.073 GB Notification: Performance of pre-optimization done (n=574): time 3.923e-05/2.356, allocations: 0 / 1.723 GB, free: 12.79 MB / 1.073 GB Notification: Performance of matching and sorting (n=574): time 0.06397/2.42, allocations: 20.65 MB / 1.743 GB, free: 11.61 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/2.42, allocations: 317.5 kB / 1.743 GB, free: 11.24 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03466/2.455, allocations: 13.91 MB / 1.757 GB, free: 0.9766 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.003057/2.458, allocations: 190.9 kB / 1.757 GB, free: 0.8906 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01221/2.47, allocations: 6.795 MB / 1.763 GB, free: 11.02 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.004169/2.474, allocations: 1.977 MB / 1.765 GB, free: 9.062 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009917/2.475, allocations: 152 kB / 1.766 GB, free: 8.914 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.000682/2.476, allocations: 0.6201 MB / 1.766 GB, free: 8.289 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01217/2.488, allocations: 4.925 MB / 1.771 GB, free: 3.359 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01667/2.505, allocations: 7.688 MB / 1.778 GB, free: 10.61 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02544/2.53, allocations: 11.68 MB / 1.79 GB, free: 14.11 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.716e-05/2.53, allocations: 16 kB / 1.79 GB, free: 14.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=971) (initialization): time 0.04316/2.574, allocations: 14.75 MB / 1.804 GB, free: 15.25 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001436/2.575, allocations: 1.812 MB / 1.806 GB, free: 12.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/2.575, allocations: 56 kB / 1.806 GB, free: 12.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/2.586, allocations: 3.004 MB / 1.809 GB, free: 9.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/2.597, allocations: 1.92 MB / 1.811 GB, free: 7.672 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/2.609, allocations: 9.723 MB / 1.82 GB, free: 13.71 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01633/2.626, allocations: 1.32 MB / 1.822 GB, free: 12.39 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002694/2.629, allocations: 387.8 kB / 1.822 GB, free: 12.01 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/2.629, allocations: 4 kB / 1.822 GB, free: 12.01 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03689/2.666, allocations: 12.71 MB / 1.834 GB, free: 15.23 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/2.666, allocations: 56 kB / 1.835 GB, free: 15.17 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/2.676, allocations: 2.651 MB / 1.837 GB, free: 12.52 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009454/2.685, allocations: 1.79 MB / 1.839 GB, free: 10.72 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008309/2.694, allocations: 5.754 MB / 1.844 GB, free: 4.852 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01465/2.709, allocations: 1.222 MB / 1.846 GB, free: 3.629 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002666/2.711, allocations: 375.9 kB / 1.846 GB, free: 3.262 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 254 * Number of states: 0 () * Number of discrete variables: 35 ($whenCondition1,$PRE.loa.nextTimeEvent,ter[5].con1.y,ter[4].con1.y,ter[3].con1.y,ter[2].con1.y,ter[1].con1.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,ter[1].hex.flowRegime,$PRE.ter[1].greThr.greHys.y,ter[1].greThr.greHys.y,ter[2].hex.flowRegime,$PRE.ter[2].greThr.greHys.y,ter[2].greThr.greHys.y,ter[3].hex.flowRegime,$PRE.ter[3].greThr.greHys.y,ter[3].greThr.greHys.y,ter[4].hex.flowRegime,$PRE.ter[4].greThr.greHys.y,ter[4].greThr.greHys.y,ter[5].hex.flowRegime,$PRE.ter[5].greThr.greHys.y,ter[5].greThr.greHys.y,loa.nextTimeEvent,$PRE.loa.nextTimeEventScaled,loa.nextTimeEventScaled,ter[1].hex.flowRegime_nominal,ter[2].hex.flowRegime_nominal,ter[3].hex.flowRegime_nominal,ter[4].hex.flowRegime_nominal,ter[5].hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 837 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 22,1 22,1 22,1 22,1 24} Notification: Performance of prepare postOptimizeDAE: time 0.9547/3.666, allocations: 5.366 MB / 1.851 GB, free: 0.522 GB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005286/3.671, allocations: 1.248 MB / 1.852 GB, free: 0.522 GB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04046/3.712, allocations: 12.49 MB / 1.865 GB, free: 0.5204 GB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02797/3.74, allocations: 10.27 MB / 1.875 GB, free: 0.5172 GB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.994e-05/3.74, allocations: 3.938 kB / 1.875 GB, free: 0.5172 GB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01036/3.75, allocations: 2.619 MB / 1.877 GB, free: 0.5165 GB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00581/3.756, allocations: 142.6 kB / 1.877 GB, free: 0.5164 GB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01421/3.77, allocations: 1.055 MB / 1.878 GB, free: 0.5164 GB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003037/3.773, allocations: 421.4 kB / 1.879 GB, free: 0.5163 GB / 1.182 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0402/3.814, allocations: 13.39 MB / 1.892 GB, free: 0.5131 GB / 1.182 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0355/3.849, allocations: 16.93 MB / 1.908 GB, free: 0.5078 GB / 1.182 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008777/3.858, allocations: 4.901 MB / 1.913 GB, free: 0.5053 GB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02381/3.882, allocations: 9.641 MB / 1.923 GB, free: 0.5005 GB / 1.182 GB Notification: Performance of Backend: time 1.493e-06/3.882, allocations: 0 / 1.923 GB, free: 0.5005 GB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.04689/3.929, allocations: 15.58 MB / 1.938 GB, free: 0.4905 GB / 1.182 GB Notification: Performance of SimCode: time 0.07585/4.005, allocations: 38.05 MB / 1.975 GB, free: 464.4 MB / 1.182 GB Notification: Performance of Templates: time 0.4069/4.412, allocations: 290.6 MB / 2.259 GB, free: 174.8 MB / 1.182 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.pipe 2>&1)