Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.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.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1") translateModel(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 111.4 kB / 16.38 MB, free: 6.016 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.001076/0.001076, allocations: 195.2 kB / 17.31 MB, free: 5.621 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.26/1.26, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.721/1.721, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.001424/0.001424, allocations: 70.25 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1961, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1): time 1.132/1.329, allocations: 425.1 MB / 1.2 GB, free: 22.79 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.07649/1.405, allocations: 67.34 MB / 1.266 GB, free: 21.8 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01115/1.416, allocations: 296.3 kB / 1.266 GB, free: 21.8 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.007204/1.424, allocations: 2.731 MB / 1.269 GB, free: 21.74 MB / 0.92 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.01798/1.442, allocations: 7.296 MB / 1.276 GB, free: 21.29 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01172/1.453, allocations: 4.927 MB / 1.281 GB, free: 19.22 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.06747/1.521, allocations: 42.44 MB / 1.322 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02883/1.55, allocations: 20.18 MB / 1.342 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02791/1.578, allocations: 14.44 MB / 1.356 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01996/1.598, allocations: 11.49 MB / 1.367 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.00537/1.603, allocations: 1.801 MB / 1.369 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01923/1.622, allocations: 7.141 MB / 1.376 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.009087/1.631, allocations: 5.368 MB / 1.381 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.02065/1.652, allocations: 9.424 MB / 1.39 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.03993/1.692, allocations: 30.72 MB / 1.42 GB, free: 1.734 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/1.692, allocations: 4 kB / 1.42 GB, free: 1.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.794e-06/1.692, allocations: 3.938 kB / 1.42 GB, free: 1.727 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0009228/1.693, allocations: 0 / 1.42 GB, free: 1.727 MB / 1.014 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.04737/1.74, allocations: 18.64 MB / 1.438 GB, free: 15.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.741, allocations: 12.03 kB / 1.438 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02917/1.77, allocations: 5.027 MB / 1.443 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03509/1.805, allocations: 16.34 MB / 1.459 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009508/1.806, allocations: 0.7986 MB / 1.46 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003766/1.81, allocations: 1.024 MB / 1.461 GB, free: 8.121 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03558/1.845, allocations: 15.72 MB / 1.476 GB, free: 8.066 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002135/1.845, allocations: 23.72 kB / 1.476 GB, free: 8.043 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/1.847, allocations: 407.1 kB / 1.477 GB, free: 7.648 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000345/1.847, allocations: 382.2 kB / 1.477 GB, free: 7.273 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03385/1.881, allocations: 14.99 MB / 1.492 GB, free: 8.266 MB / 1.092 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.1011/1.982, allocations: 63.35 MB / 1.554 GB, free: 6.094 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6472/2.63, allocations: 10.99 MB / 1.564 GB, free: 498.2 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01041/2.64, allocations: 5.593 MB / 1.57 GB, free: 498.1 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0345/2.675, allocations: 16.93 MB / 1.586 GB, free: 491 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.012/2.687, allocations: 5.824 MB / 1.592 GB, free: 489.3 MB / 1.154 GB Notification: Performance of pre-optimization done (n=556): time 8.867e-06/2.687, allocations: 0 / 1.592 GB, free: 489.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=556): time 0.05512/2.742, allocations: 20.94 MB / 1.613 GB, free: 484.7 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/2.742, allocations: 316.8 kB / 1.613 GB, free: 484.4 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02278/2.765, allocations: 14.19 MB / 1.627 GB, free: 479.7 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.001912/2.767, allocations: 185.1 kB / 1.627 GB, free: 479.6 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.006164/2.773, allocations: 6.766 MB / 1.634 GB, free: 474.8 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.00234/2.775, allocations: 1.922 MB / 1.635 GB, free: 473.2 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003135/2.778, allocations: 1.727 MB / 1.637 GB, free: 472.3 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 3.805e-05/2.778, allocations: 304.6 kB / 1.637 GB, free: 472 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009721/2.788, allocations: 5.392 MB / 1.643 GB, free: 469.3 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/2.799, allocations: 8.129 MB / 1.651 GB, free: 463.4 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02003/2.819, allocations: 12.47 MB / 1.663 GB, free: 456 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.367e-05/2.82, allocations: 15.06 kB / 1.663 GB, free: 456 MB / 1.154 GB Notification: Performance of matching and sorting (n=971) (initialization): time 0.03163/2.851, allocations: 15.45 MB / 1.678 GB, free: 441.9 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/2.851, allocations: 32 kB / 1.678 GB, free: 441.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.199e-05/2.851, allocations: 60 kB / 1.678 GB, free: 441.8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01296/2.864, allocations: 3.77 MB / 1.682 GB, free: 438 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008692/2.873, allocations: 2.02 MB / 1.684 GB, free: 436 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007936/2.881, allocations: 9.564 MB / 1.693 GB, free: 426.2 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/2.892, allocations: 1.511 MB / 1.694 GB, free: 424.7 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/2.894, allocations: 397.1 kB / 1.695 GB, free: 424.3 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01636/2.91, allocations: 9.97 MB / 1.705 GB, free: 414.3 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01024/2.921, allocations: 7.832 MB / 1.712 GB, free: 405.4 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01805/2.939, allocations: 11.93 MB / 1.724 GB, free: 392.6 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.703e-05/2.939, allocations: 16 kB / 1.724 GB, free: 392.6 MB / 1.154 GB Notification: Performance of matching and sorting (n=971) (initialization_lambda0): time 0.02886/2.968, allocations: 14.62 MB / 1.738 GB, free: 377.9 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/2.968, allocations: 28 kB / 1.738 GB, free: 377.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.528e-05/2.968, allocations: 62.38 kB / 1.738 GB, free: 377.8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0109/2.979, allocations: 3.097 MB / 1.741 GB, free: 374.7 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007882/2.987, allocations: 1.912 MB / 1.743 GB, free: 372.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/2.991, allocations: 5.77 MB / 1.749 GB, free: 366.9 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/3.002, allocations: 1.282 MB / 1.75 GB, free: 365.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001359/3.004, allocations: 377.1 kB / 1.75 GB, free: 365.2 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 271 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.loa.nextTimeEvent,$whenCondition1,ter[5].con1.y,ter[4].con1.y,ter[3].con1.y,ter[2].con1.y,ter[1].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].greThr.greHys.y,$PRE.ter[5].greThr.greHys.y,ter[5].hex.flowRegime,ter[4].greThr.greHys.y,$PRE.ter[4].greThr.greHys.y,ter[4].hex.flowRegime,ter[3].greThr.greHys.y,$PRE.ter[3].greThr.greHys.y,ter[3].hex.flowRegime,ter[2].greThr.greHys.y,$PRE.ter[2].greThr.greHys.y,ter[2].hex.flowRegime,ter[1].greThr.greHys.y,$PRE.ter[1].greThr.greHys.y,ter[1].hex.flowRegime,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 839 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 5 systems {(1,22), (1,22), (1,22), (1,22), (1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.002069/3.006, allocations: 0.6929 MB / 1.751 GB, free: 364.5 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003458/3.009, allocations: 1.251 MB / 1.752 GB, free: 363.3 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02564/3.035, allocations: 12.96 MB / 1.765 GB, free: 350.3 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02062/3.056, allocations: 10.76 MB / 1.775 GB, free: 339.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/3.056, allocations: 0 / 1.775 GB, free: 339.3 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007127/3.063, allocations: 2.703 MB / 1.778 GB, free: 336.6 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003673/3.067, allocations: 136 kB / 1.778 GB, free: 336.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008979/3.076, allocations: 0.7889 MB / 1.779 GB, free: 335.7 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/3.077, allocations: 403.9 kB / 1.779 GB, free: 335.3 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02975/3.106, allocations: 13.77 MB / 1.793 GB, free: 321.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02962/3.136, allocations: 17.78 MB / 1.81 GB, free: 303.6 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008575/3.145, allocations: 5.188 MB / 1.815 GB, free: 298.4 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01886/3.164, allocations: 9.857 MB / 1.825 GB, free: 288.6 MB / 1.154 GB Notification: Performance of Backend: time 2.074e-06/3.164, allocations: 0 / 1.825 GB, free: 288.6 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.03757/3.201, allocations: 16.3 MB / 1.841 GB, free: 272.9 MB / 1.154 GB Notification: Performance of SimCode: time 0.06198/3.263, allocations: 34.05 MB / 1.874 GB, free: 239 MB / 1.154 GB Notification: Performance of Templates: time 0.7138/3.977, allocations: 306.7 MB / 2.173 GB, free: 458.2 MB / 1.154 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.pipe 2>&1)