Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 108 kB / 16.41 MB, free: 6.441 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.001691/0.001691, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002323/0.002323, allocations: 287 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9427/0.9427, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001776, allocations: 99.84 kB / 0.6822 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4385, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001607/0.4402, allocations: 0.538 MB / 0.7676 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008401/0.441, allocations: 0.7766 MB / 0.7684 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.4411, allocations: 4 kB / 0.7684 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.4411, allocations: 0 / 0.7684 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.662e-06/0.4411, allocations: 0 / 0.7684 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.4414, allocations: 19.92 kB / 0.7684 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.173e-05/0.4414, allocations: 4 kB / 0.7684 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.4415, allocations: 0 / 0.7684 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.506e-05/0.4415, allocations: 3.984 kB / 0.7684 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.4417, allocations: 23.92 kB / 0.7684 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.4417, allocations: 0 / 0.7684 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.446e-06/0.4417, allocations: 0 / 0.7684 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.4417, allocations: 0 / 0.7684 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.4417, allocations: 4 kB / 0.7684 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 3.507e-05/0.4418, allocations: 0 / 0.7684 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4418, allocations: 0 / 0.7684 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4418, allocations: 0 / 0.7684 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.4418, allocations: 0 / 0.7684 GB, free: 2.551 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000297/0.4421, allocations: 319.6 kB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.4421, allocations: 8.031 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.4421, allocations: 0.9375 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.647e-05/0.4422, allocations: 160.4 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.4422, allocations: 384 / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.4423, allocations: 384 / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.48e-05/0.4424, allocations: 34.2 kB / 0.7689 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4424, allocations: 4.172 kB / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4424, allocations: 7.938 kB / 0.7689 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4424, allocations: 0 / 0.7689 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.4424, allocations: 3.938 kB / 0.7689 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.4427, allocations: 379.5 kB / 0.7693 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.4428, allocations: 173.1 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.4428, allocations: 84.14 kB / 0.7696 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.4428, allocations: 79.31 kB / 0.7696 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.4429, allocations: 113.8 kB / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/0.4429, allocations: 0 / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.683e-05/0.443, allocations: 33.62 kB / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.443, allocations: 126.7 kB / 0.7699 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.4431, allocations: 97.86 kB / 0.77 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.4431, allocations: 25.7 kB / 0.77 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.4432, allocations: 84.12 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.4432, allocations: 0 / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.4432, allocations: 17.62 kB / 0.7701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4433, allocations: 314.8 kB / 0.7704 GB, free: 312 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.735e-06/0.4433, allocations: 0 / 0.7704 GB, free: 312 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-06/0.4433, allocations: 0 / 0.7704 GB, free: 312 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/0.4434, allocations: 20.97 kB / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4434, allocations: 4 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.507e-05/0.4434, allocations: 33.64 kB / 0.7705 GB, free: 244 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.4435, allocations: 4 kB / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4435, allocations: 0 / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4435, allocations: 0 / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.4435, allocations: 4 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4436, allocations: 0 / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.4436, allocations: 3.656 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.4436, allocations: 32 / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.21e-05/0.4437, allocations: 197.1 kB / 0.7707 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.4437, allocations: 108.9 kB / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.4438, allocations: 106 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.795e-05/0.4439, allocations: 180.2 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-05/0.4439, allocations: 180.3 kB / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.444e-05/0.444, allocations: 184.3 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.4442, allocations: 405.1 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.111e-05/0.4442, allocations: 101 kB / 0.7719 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.4443, allocations: 108.9 kB / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.246e-05/0.4443, allocations: 176.3 kB / 0.7721 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/0.4444, allocations: 184.2 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.326e-05/0.4444, allocations: 188.1 kB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.154e-05/0.4445, allocations: 180.3 kB / 0.7727 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.4446, allocations: 315.7 kB / 0.773 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.4447, allocations: 178.1 kB / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.4448, allocations: 184.2 kB / 0.7733 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.4448, allocations: 105.2 kB / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.4449, allocations: 184.2 kB / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.445, allocations: 109 kB / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.704e-05/0.445, allocations: 75.28 kB / 0.7738 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.445, allocations: 0 / 0.7738 GB, free: 12.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001973/0.4452, allocations: 4.094 kB / 0.7738 GB, free: 12.63 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001373/0.4453, allocations: 182.5 kB / 0.7739 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.263e-05/0.4454, allocations: 3.938 kB / 0.774 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4454, allocations: 0 / 0.774 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.4454, allocations: 4 kB / 0.774 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.4458, allocations: 463.4 kB / 0.7744 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/0.446, allocations: 182 kB / 0.7746 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.4462, allocations: 0.669 MB / 0.7752 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.4462, allocations: 7.438 kB / 0.7752 GB, free: 11.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.4462, allocations: 0 / 0.7752 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Templates: time 0.001388/0.4476, allocations: 325.9 kB / 0.7755 GB, free: 10.75 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)