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.001267/0.001267, allocations: 106.9 kB / 16.41 MB, free: 6.488 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.001215/0.001215, allocations: 189.2 kB / 17.34 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002494/0.002494, allocations: 289.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9933/0.9933, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 99.84 kB / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4325, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001526/0.434, allocations: 0.5454 MB / 0.7676 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.435, allocations: 0.7766 MB / 0.7684 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.435, allocations: 4 kB / 0.7684 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.435, allocations: 0 / 0.7684 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.769e-06/0.435, allocations: 0 / 0.7684 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.4352, allocations: 19.92 kB / 0.7684 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.157e-05/0.4353, allocations: 4 kB / 0.7684 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.4353, allocations: 7.984 kB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.193e-05/0.4353, allocations: 0 / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.4355, allocations: 19.92 kB / 0.7684 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.4355, allocations: 0 / 0.7684 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-06/0.4355, allocations: 0 / 0.7684 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.4355, allocations: 4 kB / 0.7684 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.4355, allocations: 0 / 0.7684 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 3.816e-05/0.4355, allocations: 3.984 kB / 0.7684 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4355, allocations: 4 kB / 0.7684 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4355, allocations: 0 / 0.7684 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.4356, allocations: 0 / 0.7684 GB, free: 2.508 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.000305/0.4359, allocations: 307.5 kB / 0.7687 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.4359, allocations: 12.06 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.4359, allocations: 4.938 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.436, allocations: 160.4 kB / 0.7689 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.436, allocations: 4.375 kB / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.4361, allocations: 4.312 kB / 0.7689 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.097e-05/0.4361, allocations: 34.25 kB / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.4361, allocations: 192 / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.4362, allocations: 3.938 kB / 0.769 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.4362, allocations: 0 / 0.769 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.459e-05/0.4362, allocations: 0 / 0.769 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.4365, allocations: 379.5 kB / 0.7693 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.4366, allocations: 177 kB / 0.7695 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.4366, allocations: 84.14 kB / 0.7696 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.4367, allocations: 79.22 kB / 0.7696 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.4367, allocations: 113.9 kB / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4367, allocations: 4 kB / 0.7698 GB, free: 1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.87e-05/0.4368, allocations: 33.66 kB / 0.7698 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.4369, allocations: 130.6 kB / 0.7699 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.437, allocations: 93.8 kB / 0.77 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.437, allocations: 25.7 kB / 0.77 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.437, allocations: 87.94 kB / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.437, allocations: 0 / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.4371, allocations: 9.719 kB / 0.7701 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4372, allocations: 323 kB / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.4372, allocations: 4 kB / 0.7704 GB, free: 264 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.4372, allocations: 0 / 0.7704 GB, free: 264 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.169e-05/0.4372, allocations: 4.859 kB / 0.7704 GB, free: 256 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4372, allocations: 0 / 0.7704 GB, free: 256 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.911e-05/0.4373, allocations: 37.64 kB / 0.7705 GB, free: 212 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.4373, allocations: 4 kB / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.4373, allocations: 96 / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.4374, allocations: 7.938 kB / 0.7705 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.655e-05/0.4374, allocations: 4 kB / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4374, allocations: 3.984 kB / 0.7705 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.4374, allocations: 0 / 0.7705 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.4374, allocations: 0 / 0.7705 GB, free: 192 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 0.0001251/0.4376, allocations: 189 kB / 0.7707 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.4376, allocations: 109 kB / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/0.4377, allocations: 113.9 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.401e-05/0.4378, allocations: 176.3 kB / 0.7711 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.901e-05/0.4379, allocations: 176.3 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.992e-05/0.4379, allocations: 188.2 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.4382, allocations: 401.2 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.876e-05/0.4383, allocations: 104.9 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.4383, allocations: 109 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.649e-05/0.4384, allocations: 180.3 kB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.968e-05/0.4385, allocations: 180.2 kB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-05/0.4386, allocations: 176.3 kB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.715e-05/0.4387, allocations: 184.2 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.4388, allocations: 311.8 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.4389, allocations: 186 kB / 0.7731 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.439, allocations: 180.3 kB / 0.7733 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.4391, allocations: 105.2 kB / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.4392, allocations: 188.2 kB / 0.7736 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.4392, allocations: 109 kB / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.4393, allocations: 79.22 kB / 0.7738 GB, free: 12.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4393, allocations: 3.938 kB / 0.7738 GB, free: 12.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002053/0.4395, allocations: 0 / 0.7738 GB, free: 12.59 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.000146/0.4396, allocations: 179.5 kB / 0.774 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.513e-05/0.4397, allocations: 96 / 0.774 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.4397, allocations: 4.062 kB / 0.774 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.4397, allocations: 0 / 0.774 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.4401, allocations: 471.4 kB / 0.7744 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.4403, allocations: 144.3 kB / 0.7745 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.4406, allocations: 0.6768 MB / 0.7752 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.007e-05/0.4406, allocations: 7.938 kB / 0.7752 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.4406, allocations: 7.438 kB / 0.7752 GB, free: 11.05 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.4406, allocations: 0 / 0.7752 GB, free: 11.05 MB / 0.545 GB Notification: Performance of Templates: time 0.002014/0.4427, allocations: 181.1 kB / 0.7754 GB, free: 10.92 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)