Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.1..TLoaODE.TAir|minTSet.y|ter.1..QReqHea_flow|ter.1..QActHea_flow|ter.1..mReqHeaWat_flow|ter.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.1..TLoaODE.TAir|minTSet.y|ter.1..QReqHea_flow|ter.1..QActHea_flow|ter.1..mReqHeaWat_flow|ter.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 108.1 kB / 16.41 MB, free: 6.516 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.001636/0.001636, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.488/1.488, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7979/0.8004, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter ter.fan.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2): time 1.219/2.02, allocations: 0.5 GB / 1.589 GB, free: 121.7 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.07339/2.093, allocations: 62.2 MB / 1.649 GB, free: 121.4 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01123/2.104, allocations: 250.6 kB / 1.65 GB, free: 121.4 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01064/2.115, allocations: 3.545 MB / 1.653 GB, free: 121.3 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.02387/2.139, allocations: 9.462 MB / 1.662 GB, free: 121 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.01662/2.156, allocations: 6.207 MB / 1.668 GB, free: 120.8 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.09491/2.251, allocations: 66.9 MB / 1.734 GB, free: 114.2 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03855/2.289, allocations: 30.62 MB / 1.764 GB, free: 85.13 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04071/2.33, allocations: 23.24 MB / 1.786 GB, free: 64.53 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02814/2.358, allocations: 17.72 MB / 1.804 GB, free: 48.82 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.008152/2.366, allocations: 2.641 MB / 1.806 GB, free: 46.18 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02511/2.391, allocations: 8.168 MB / 1.814 GB, free: 38.43 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01015/2.402, allocations: 7.081 MB / 1.821 GB, free: 31.46 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02759/2.429, allocations: 14.12 MB / 1.835 GB, free: 17.38 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.05782/2.487, allocations: 45.07 MB / 1.879 GB, free: 5.266 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/2.487, allocations: 0 / 1.879 GB, free: 5.266 MB / 1.342 GB Notification: Performance of FrontEnd: time 2.194e-06/2.487, allocations: 0 / 1.879 GB, free: 5.266 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.001408/2.489, allocations: 0 / 1.879 GB, free: 5.266 MB / 1.342 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.07379/2.562, allocations: 26.82 MB / 1.905 GB, free: 10.55 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/2.562, allocations: 8.031 kB / 1.905 GB, free: 10.54 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04332/2.606, allocations: 7.874 MB / 1.913 GB, free: 2.645 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06254/2.668, allocations: 26.69 MB / 1.939 GB, free: 8.309 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001446/2.67, allocations: 1.094 MB / 1.94 GB, free: 7.219 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005829/2.676, allocations: 1.404 MB / 1.941 GB, free: 5.82 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06143/2.737, allocations: 23.16 MB / 1.964 GB, free: 13.84 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005569/2.738, allocations: 47.53 kB / 1.964 GB, free: 13.79 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004382/2.742, allocations: 0.5678 MB / 1.965 GB, free: 13.23 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005937/2.743, allocations: 0.5123 MB / 1.965 GB, free: 12.71 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05452/2.797, allocations: 21.59 MB / 1.986 GB, free: 7.094 MB / 1.451 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.1797/2.977, allocations: 109 MB / 2.093 GB, free: 4.133 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0328/3.01, allocations: 12.99 MB / 2.105 GB, free: 6.988 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01674/3.027, allocations: 7.024 MB / 2.112 GB, free: 15.94 MB / 1.592 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.05037/3.077, allocations: 20.26 MB / 2.132 GB, free: 11.59 MB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0171/3.094, allocations: 7.337 MB / 2.139 GB, free: 4.164 MB / 1.607 GB Notification: Performance of pre-optimization done (n=577): time 8.956e-06/3.094, allocations: 0 / 2.139 GB, free: 4.164 MB / 1.607 GB Notification: Performance of matching and sorting (n=577): time 0.05697/3.151, allocations: 21.66 MB / 2.16 GB, free: 14.38 MB / 1.639 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/3.151, allocations: 295.8 kB / 2.16 GB, free: 14.04 MB / 1.639 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.069/4.221, allocations: 22.74 MB / 2.183 GB, free: 0.6921 GB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.002243/4.223, allocations: 193 kB / 2.183 GB, free: 0.692 GB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.0135/4.236, allocations: 10.66 MB / 2.193 GB, free: 0.6865 GB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.003237/4.24, allocations: 2.041 MB / 2.195 GB, free: 0.6855 GB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005909/4.246, allocations: 2.307 MB / 2.198 GB, free: 0.6845 GB / 1.639 GB Notification: Performance of setup shared object (initialization): time 4.307e-05/4.246, allocations: 303.2 kB / 2.198 GB, free: 0.6842 GB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01757/4.263, allocations: 7.269 MB / 2.205 GB, free: 0.6823 GB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02207/4.285, allocations: 11.92 MB / 2.217 GB, free: 0.6751 GB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03811/4.323, allocations: 17.57 MB / 2.234 GB, free: 0.6666 GB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001582/4.324, allocations: 32.47 kB / 2.234 GB, free: 0.6666 GB / 1.639 GB Notification: Performance of matching and sorting (n=1249) (initialization): time 0.05279/4.376, allocations: 22.17 MB / 2.255 GB, free: 0.6599 GB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 9.393e-05/4.377, allocations: 60.78 kB / 2.255 GB, free: 0.6599 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/4.377, allocations: 116.6 kB / 2.256 GB, free: 0.6599 GB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03281/4.41, allocations: 10.29 MB / 2.266 GB, free: 0.6589 GB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009377/4.419, allocations: 2.328 MB / 2.268 GB, free: 0.6587 GB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/4.438, allocations: 10.67 MB / 2.278 GB, free: 0.6549 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01848/4.457, allocations: 2.241 MB / 2.28 GB, free: 0.6537 GB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002467/4.459, allocations: 0.539 MB / 2.281 GB, free: 0.6536 GB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02597/4.485, allocations: 14.47 MB / 2.295 GB, free: 0.6461 GB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01791/4.503, allocations: 11.52 MB / 2.306 GB, free: 0.6369 GB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02872/4.532, allocations: 16.83 MB / 2.323 GB, free: 0.619 GB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001302/4.532, allocations: 35.75 kB / 2.323 GB, free: 0.619 GB / 1.639 GB Notification: Performance of matching and sorting (n=1249) (initialization_lambda0): time 0.05252/4.585, allocations: 21.36 MB / 2.344 GB, free: 0.598 GB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 9.449e-05/4.585, allocations: 59.5 kB / 2.344 GB, free: 0.598 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/4.585, allocations: 116.9 kB / 2.344 GB, free: 0.5979 GB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01711/4.602, allocations: 5.851 MB / 2.35 GB, free: 0.5922 GB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/4.612, allocations: 2.476 MB / 2.352 GB, free: 0.5898 GB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01852/4.631, allocations: 14.61 MB / 2.366 GB, free: 0.5752 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0184/4.649, allocations: 1.949 MB / 2.368 GB, free: 0.5733 GB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00212/4.651, allocations: 0.5192 MB / 2.369 GB, free: 0.5728 GB / 1.639 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * 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 (992): * Single equations (assignments): 985 * 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.003875/4.655, allocations: 0.8564 MB / 2.37 GB, free: 0.572 GB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005604/4.661, allocations: 1.79 MB / 2.371 GB, free: 0.5702 GB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03774/4.699, allocations: 17.4 MB / 2.388 GB, free: 0.5531 GB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02857/4.727, allocations: 14.55 MB / 2.402 GB, free: 0.5388 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/4.727, allocations: 3.984 kB / 2.402 GB, free: 0.5388 GB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009698/4.737, allocations: 3.722 MB / 2.406 GB, free: 0.5351 GB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005112/4.742, allocations: 120 kB / 2.406 GB, free: 0.535 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01612/4.758, allocations: 1.2 MB / 2.407 GB, free: 0.5338 GB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001474/4.76, allocations: 352.2 kB / 2.408 GB, free: 0.5335 GB / 1.639 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05268/4.813, allocations: 20.6 MB / 2.428 GB, free: 0.5134 GB / 1.639 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04166/4.854, allocations: 21.64 MB / 2.449 GB, free: 0.4921 GB / 1.639 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0124/4.867, allocations: 6.426 MB / 2.455 GB, free: 497.5 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.03077/4.897, allocations: 15.93 MB / 2.471 GB, free: 481.6 MB / 1.639 GB Notification: Performance of Backend: time 1.122e-06/4.898, allocations: 4 kB / 2.471 GB, free: 481.6 MB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.05841/4.956, allocations: 21.41 MB / 2.492 GB, free: 460.8 MB / 1.639 GB Notification: Performance of SimCode: time 0.09037/5.046, allocations: 50.12 MB / 2.541 GB, free: 410.9 MB / 1.639 GB Notification: Performance of Templates: time 1.653/6.699, allocations: 432.9 MB / 2.963 GB, free: 0.6474 GB / 1.639 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.pipe 2>&1)