Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001107/0.001107, allocations: 114.5 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.001165/0.001165, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 60.12 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7749/0.7763, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2): time 1.283/2.06, allocations: 0.503 GB / 1.67 GB, free: 22.91 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.07789/2.137, allocations: 67.67 MB / 1.736 GB, free: 21.2 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01116/2.149, allocations: 257.1 kB / 1.737 GB, free: 21.2 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01174/2.16, allocations: 4.403 MB / 1.741 GB, free: 20.89 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02625/2.187, allocations: 9.829 MB / 1.751 GB, free: 18.32 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01493/2.202, allocations: 6.55 MB / 1.757 GB, free: 15.38 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.128/2.33, allocations: 83.61 MB / 1.839 GB, free: 12.93 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05148/2.381, allocations: 30.79 MB / 1.869 GB, free: 14.28 MB / 1.373 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06521/2.446, allocations: 23.54 MB / 1.892 GB, free: 7.887 MB / 1.389 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03951/2.486, allocations: 17.82 MB / 1.909 GB, free: 7.375 MB / 1.404 GB Notification: Performance of NFPackage.collectConstants: time 0.0124/2.498, allocations: 2.613 MB / 1.912 GB, free: 4.762 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03016/2.529, allocations: 8.337 MB / 1.92 GB, free: 12.86 MB / 1.42 GB Notification: Performance of NFScalarize.scalarize: time 0.01629/2.545, allocations: 7.785 MB / 1.927 GB, free: 5.156 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.03625/2.581, allocations: 15.24 MB / 1.942 GB, free: 5.957 MB / 1.436 GB Notification: Performance of NFConvertDAE.convert: time 0.07895/2.66, allocations: 48.6 MB / 1.99 GB, free: 6.375 MB / 1.482 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/2.661, allocations: 0 / 1.99 GB, free: 6.375 MB / 1.482 GB Notification: Performance of FrontEnd: time 1.964e-06/2.661, allocations: 0 / 1.99 GB, free: 6.375 MB / 1.482 GB Notification: Performance of Transformations before backend: time 0.001641/2.662, allocations: 0 / 1.99 GB, free: 6.375 MB / 1.482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3480 * Number of variables: 3480 Notification: Performance of Generate backend data structure: time 0.08436/2.747, allocations: 30.13 MB / 2.019 GB, free: 8.266 MB / 1.514 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/2.747, allocations: 8.922 kB / 2.019 GB, free: 8.258 MB / 1.514 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.035/2.782, allocations: 6.512 MB / 2.026 GB, free: 1.734 MB / 1.514 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08356/2.865, allocations: 36.21 MB / 2.061 GB, free: 14.05 MB / 1.561 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001551/2.867, allocations: 1.096 MB / 2.062 GB, free: 12.96 MB / 1.561 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006454/2.873, allocations: 1.429 MB / 2.063 GB, free: 11.54 MB / 1.561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06328/2.937, allocations: 22.42 MB / 2.085 GB, free: 4.004 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008861/2.938, allocations: 55.5 kB / 2.085 GB, free: 3.949 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005983/2.944, allocations: 0.5844 MB / 2.086 GB, free: 3.367 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005856/2.944, allocations: 0.5273 MB / 2.086 GB, free: 2.836 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05111/2.995, allocations: 18.98 MB / 2.105 GB, free: 15.83 MB / 1.607 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.8606/3.856, allocations: 113.1 MB / 2.215 GB, free: 0.6509 GB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01828/3.874, allocations: 10.29 MB / 2.225 GB, free: 0.6498 GB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01101/3.885, allocations: 5.531 MB / 2.231 GB, free: 0.6496 GB / 1.67 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.03813/3.924, allocations: 18.12 MB / 2.248 GB, free: 0.642 GB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01095/3.935, allocations: 5.791 MB / 2.254 GB, free: 0.6389 GB / 1.67 GB Notification: Performance of pre-optimization done (n=521): time 1.282e-05/3.935, allocations: 0 / 2.254 GB, free: 0.6389 GB / 1.67 GB Notification: Performance of matching and sorting (n=521): time 0.03862/3.973, allocations: 17.37 MB / 2.271 GB, free: 0.6318 GB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/3.973, allocations: 430.5 kB / 2.272 GB, free: 0.6313 GB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0649/4.038, allocations: 27.37 MB / 2.298 GB, free: 0.6096 GB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.00225/4.041, allocations: 185.7 kB / 2.298 GB, free: 0.6095 GB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.01674/4.057, allocations: 12.12 MB / 2.31 GB, free: 0.5988 GB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003266/4.061, allocations: 1.996 MB / 2.312 GB, free: 0.5969 GB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01005/4.071, allocations: 3.094 MB / 2.315 GB, free: 0.5939 GB / 1.67 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/4.071, allocations: 311.5 kB / 2.316 GB, free: 0.5936 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01466/4.085, allocations: 7.382 MB / 2.323 GB, free: 0.5864 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01826/4.104, allocations: 12.98 MB / 2.335 GB, free: 0.5716 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02722/4.131, allocations: 18.48 MB / 2.353 GB, free: 0.5521 GB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/4.131, allocations: 47.53 kB / 2.353 GB, free: 0.552 GB / 1.67 GB Notification: Performance of matching and sorting (n=1700) (initialization): time 0.04832/4.18, allocations: 23.38 MB / 2.376 GB, free: 0.5292 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/4.18, allocations: 68 kB / 2.376 GB, free: 0.5291 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001957/4.18, allocations: 144.2 kB / 2.377 GB, free: 0.529 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02134/4.201, allocations: 7.675 MB / 2.384 GB, free: 0.5215 GB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009507/4.211, allocations: 2.496 MB / 2.386 GB, free: 0.5191 GB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/4.228, allocations: 8.954 MB / 2.395 GB, free: 0.5103 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02178/4.25, allocations: 2.195 MB / 2.397 GB, free: 0.5082 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002865/4.252, allocations: 0.6208 MB / 2.398 GB, free: 0.5076 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02788/4.28, allocations: 15.77 MB / 2.413 GB, free: 0.4921 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0172/4.298, allocations: 12.65 MB / 2.426 GB, free: 488.9 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02484/4.322, allocations: 17.92 MB / 2.443 GB, free: 469 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001406/4.323, allocations: 46.08 kB / 2.443 GB, free: 468.9 MB / 1.67 GB Notification: Performance of matching and sorting (n=1700) (initialization_lambda0): time 0.04945/4.372, allocations: 23.14 MB / 2.466 GB, free: 445.7 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/4.372, allocations: 68 kB / 2.466 GB, free: 445.6 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000225/4.373, allocations: 144.1 kB / 2.466 GB, free: 445.5 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/4.383, allocations: 4.021 MB / 2.47 GB, free: 441.4 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01009/4.393, allocations: 2.589 MB / 2.473 GB, free: 438.8 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/4.409, allocations: 13.64 MB / 2.486 GB, free: 424.9 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01948/4.429, allocations: 1.819 MB / 2.488 GB, free: 423.1 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002366/4.431, allocations: 0.5975 MB / 2.488 GB, free: 422.5 MB / 1.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 647 * 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[1].hex.flowRegime_nominal,ter[1].hex.flowRegime,ter[2].hex.flowRegime_nominal,ter[2].hex.flowRegime,ter[3].hex.flowRegime_nominal,ter[3].hex.flowRegime,ter[4].hex.flowRegime_nominal,ter[4].hex.flowRegime,ter[5].hex.flowRegime_nominal,ter[5].hex.flowRegime,loa.nextTimeEventScaled,$PRE.loa.nextTimeEventScaled,loa.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1273 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * 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,206)} Notification: Performance of prepare postOptimizeDAE: time 0.003364/4.434, allocations: 0.9805 MB / 2.489 GB, free: 421.5 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008106/4.442, allocations: 2.138 MB / 2.491 GB, free: 419.4 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03053/4.473, allocations: 13.63 MB / 2.505 GB, free: 405.6 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02161/4.495, allocations: 10.93 MB / 2.515 GB, free: 394.5 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/4.495, allocations: 0 / 2.515 GB, free: 394.5 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01123/4.506, allocations: 3.969 MB / 2.519 GB, free: 390.5 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005711/4.512, allocations: 108 kB / 2.519 GB, free: 390.4 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01422/4.526, allocations: 0.9361 MB / 2.52 GB, free: 389.5 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001613/4.528, allocations: 311.4 kB / 2.52 GB, free: 389.2 MB / 1.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04088/4.569, allocations: 16.62 MB / 2.537 GB, free: 372.6 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03547/4.604, allocations: 17.9 MB / 2.554 GB, free: 354.5 MB / 1.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009078/4.613, allocations: 4.919 MB / 2.559 GB, free: 349.6 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.03845/4.652, allocations: 19.07 MB / 2.578 GB, free: 330.6 MB / 1.67 GB Notification: Performance of Backend: time 1.422e-06/4.652, allocations: 0 / 2.578 GB, free: 330.6 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.06111/4.713, allocations: 23.02 MB / 2.6 GB, free: 308 MB / 1.67 GB Notification: Performance of SimCode: time 0.1176/4.83, allocations: 56.9 MB / 2.656 GB, free: 251.2 MB / 1.67 GB Notification: Performance of Templates: time 2.382/7.212, allocations: 456.3 MB / 3.101 GB, free: 0.5246 GB / 1.67 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.pipe 2>&1)