Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.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 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.BenchmarkFlowDistribution1,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.BenchmarkFlowDistribution1") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1,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.BenchmarkFlowDistribution1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 119.7 kB / 16.42 MB, free: 6.496 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.001397/0.001397, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.279/2.279, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 59.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8203/0.8225, allocations: 140.4 MB / 1.089 GB, free: 5.543 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 disFloHea.pumFlo.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 ter.fan.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.BenchmarkFlowDistribution1): time 0.4616/1.284, allocations: 424.9 MB / 1.504 GB, free: 4.055 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.09331/1.378, allocations: 64.39 MB / 1.566 GB, free: 3.504 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01408/1.392, allocations: 298.3 kB / 1.567 GB, free: 3.211 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.00898/1.401, allocations: 2.792 MB / 1.569 GB, free: 412 kB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02736/1.428, allocations: 7.653 MB / 1.577 GB, free: 8.719 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.01506/1.443, allocations: 5.149 MB / 1.582 GB, free: 3.602 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.8118/2.255, allocations: 42.66 MB / 1.624 GB, free: 32.35 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03116/2.286, allocations: 20.12 MB / 1.643 GB, free: 29.61 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03141/2.318, allocations: 14.65 MB / 1.658 GB, free: 29.36 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02291/2.341, allocations: 11.53 MB / 1.669 GB, free: 27.38 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.007413/2.348, allocations: 1.809 MB / 1.671 GB, free: 27.38 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02236/2.37, allocations: 7.263 MB / 1.678 GB, free: 27.38 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01085/2.381, allocations: 5.396 MB / 1.683 GB, free: 26.76 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.0301/2.411, allocations: 9.451 MB / 1.692 GB, free: 24.29 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04617/2.458, allocations: 31.57 MB / 1.723 GB, free: 21.27 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/2.458, allocations: 0 / 1.723 GB, free: 21.27 MB / 1.311 GB Notification: Performance of FrontEnd: time 3.507e-06/2.458, allocations: 6.562 kB / 1.723 GB, free: 21.27 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.001064/2.459, allocations: 3.188 kB / 1.723 GB, free: 21.27 MB / 1.311 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.05715/2.516, allocations: 18.67 MB / 1.741 GB, free: 13.51 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/2.516, allocations: 13.75 kB / 1.741 GB, free: 13.51 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03502/2.551, allocations: 6.195 MB / 1.747 GB, free: 10.79 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04004/2.591, allocations: 17.02 MB / 1.764 GB, free: 15.65 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001099/2.592, allocations: 0.797 MB / 1.765 GB, free: 15.19 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004788/2.597, allocations: 1.016 MB / 1.766 GB, free: 14.51 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04247/2.64, allocations: 16.19 MB / 1.781 GB, free: 2.586 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000235/2.64, allocations: 17.38 kB / 1.781 GB, free: 2.578 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00207/2.642, allocations: 406.4 kB / 1.782 GB, free: 2.48 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000349/2.642, allocations: 379.5 kB / 1.782 GB, free: 2.117 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04102/2.683, allocations: 15.77 MB / 1.798 GB, free: 3.84 MB / 1.342 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.1262/2.81, allocations: 64.4 MB / 1.861 GB, free: 1.219 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02809/2.838, allocations: 11.79 MB / 1.872 GB, free: 5.266 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01338/2.851, allocations: 5.978 MB / 1.878 GB, free: 15.26 MB / 1.436 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04219/2.893, allocations: 17.46 MB / 1.895 GB, free: 13.53 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01513/2.909, allocations: 6.295 MB / 1.901 GB, free: 7.148 MB / 1.451 GB Notification: Performance of pre-optimization done (n=557): time 1.128e-05/2.909, allocations: 0 / 1.901 GB, free: 7.148 MB / 1.451 GB Notification: Performance of matching and sorting (n=557): time 0.06815/2.977, allocations: 22.05 MB / 1.923 GB, free: 0.9062 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/2.977, allocations: 313.4 kB / 1.923 GB, free: 0.5352 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03691/3.014, allocations: 14.3 MB / 1.937 GB, free: 2.301 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.002597/3.016, allocations: 181.7 kB / 1.937 GB, free: 2.117 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.01186/3.028, allocations: 6.788 MB / 1.944 GB, free: 11.34 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.00392/3.032, allocations: 1.924 MB / 1.946 GB, free: 9.43 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008006/3.04, allocations: 1.713 MB / 1.947 GB, free: 7.715 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 0.000115/3.04, allocations: 309.1 kB / 1.948 GB, free: 7.41 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01393/3.054, allocations: 5.802 MB / 1.953 GB, free: 1.602 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01788/3.072, allocations: 8.45 MB / 1.961 GB, free: 8.145 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03182/3.104, allocations: 13.21 MB / 1.974 GB, free: 10.3 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-05/3.104, allocations: 20 kB / 1.974 GB, free: 10.28 MB / 1.529 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.04643/3.151, allocations: 16.37 MB / 1.99 GB, free: 10.18 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.818e-05/3.151, allocations: 28 kB / 1.99 GB, free: 10.15 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/3.151, allocations: 60 kB / 1.99 GB, free: 10.09 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01467/3.166, allocations: 3.762 MB / 1.994 GB, free: 6.32 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01125/3.177, allocations: 2.138 MB / 1.996 GB, free: 4.281 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/3.189, allocations: 10.24 MB / 2.006 GB, free: 9.82 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01441/3.204, allocations: 1.656 MB / 2.008 GB, free: 8.156 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002453/3.206, allocations: 402.8 kB / 2.008 GB, free: 7.766 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02472/3.231, allocations: 10.37 MB / 2.018 GB, free: 13.38 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01639/3.248, allocations: 8.127 MB / 2.026 GB, free: 4.25 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03111/3.279, allocations: 12.63 MB / 2.039 GB, free: 6.98 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001037/3.279, allocations: 16 kB / 2.039 GB, free: 6.965 MB / 1.592 GB Notification: Performance of matching and sorting (n=959) (initialization_lambda0): time 0.04509/3.324, allocations: 15.39 MB / 2.054 GB, free: 7.84 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 9.078e-05/3.324, allocations: 32 kB / 2.054 GB, free: 7.809 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/3.324, allocations: 63.94 kB / 2.054 GB, free: 7.746 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01265/3.337, allocations: 3.1 MB / 2.057 GB, free: 4.641 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/3.347, allocations: 2.034 MB / 2.059 GB, free: 2.703 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00745/3.355, allocations: 5.774 MB / 2.064 GB, free: 12.84 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01597/3.371, allocations: 1.411 MB / 2.066 GB, free: 11.43 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003194/3.374, allocations: 383.9 kB / 2.066 GB, free: 11.05 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * 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 (841): * Single equations (assignments): 824 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 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.005874/3.38, allocations: 0.6784 MB / 2.067 GB, free: 10.47 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006674/3.387, allocations: 1.258 MB / 2.068 GB, free: 9.199 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04673/3.434, allocations: 13.7 MB / 2.081 GB, free: 11.45 MB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03191/3.466, allocations: 11.43 MB / 2.093 GB, free: 15.88 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-05/3.466, allocations: 4 kB / 2.093 GB, free: 15.88 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01211/3.478, allocations: 2.776 MB / 2.095 GB, free: 13.06 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006439/3.484, allocations: 136 kB / 2.095 GB, free: 12.93 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01186/3.496, allocations: 0.9506 MB / 2.096 GB, free: 11.98 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001892/3.498, allocations: 419.1 kB / 2.097 GB, free: 11.57 MB / 1.654 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04435/3.542, allocations: 14.84 MB / 2.111 GB, free: 12.74 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04753/3.59, allocations: 18.84 MB / 2.13 GB, free: 9.75 MB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01353/3.604, allocations: 5.663 MB / 2.135 GB, free: 4.059 MB / 1.686 GB Notification: Performance of sorting global known variables: time 0.02545/3.629, allocations: 9.934 MB / 2.145 GB, free: 10.18 MB / 1.701 GB Notification: Performance of Backend: time 1.973e-06/3.629, allocations: 0 / 2.145 GB, free: 10.18 MB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.05339/3.683, allocations: 17.21 MB / 2.162 GB, free: 9.789 MB / 1.717 GB Notification: Performance of SimCode: time 1.096/4.779, allocations: 34.12 MB / 2.195 GB, free: 0.7941 GB / 1.733 GB Notification: Performance of Templates: time 0.4281/5.207, allocations: 318 MB / 2.506 GB, free: 0.5676 GB / 1.733 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe 2>&1)