Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001013/0.001013, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.006635/0.006635, allocations: 171 kB / 16.26 MB, free: 6.613 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7633/0.7633, allocations: 132.4 MB / 423.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003809, allocations: 8.656 kB / 0.5041 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.444, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006513/0.4447, allocations: 273.7 kB / 0.584 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008554/0.4456, allocations: 0.7812 MB / 0.5847 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.678e-06/0.4456, allocations: 0 / 0.5847 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.4456, allocations: 2.875 kB / 0.5847 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.579e-06/0.4456, allocations: 0 / 0.5847 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.4459, allocations: 15.95 kB / 0.5848 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.087e-05/0.4459, allocations: 1.781 kB / 0.5848 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.4459, allocations: 2.672 kB / 0.5848 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.365e-05/0.446, allocations: 0.6562 kB / 0.5848 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.4461, allocations: 26.28 kB / 0.5848 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.4461, allocations: 3.938 kB / 0.5848 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.546e-06/0.4461, allocations: 0 / 0.5848 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-06/0.4461, allocations: 1 kB / 0.5848 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.4462, allocations: 26.89 kB / 0.5848 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 2.963e-05/0.4462, allocations: 0.75 kB / 0.5848 GB, free: 3.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4462, allocations: 1.656 kB / 0.5848 GB, free: 3.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4462, allocations: 0.7812 kB / 0.5848 GB, free: 3.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.4462, allocations: 0 / 0.5848 GB, free: 3.211 MB / 430.1 MB 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.000182/0.4464, allocations: 307.9 kB / 0.5851 GB, free: 2.867 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4465, allocations: 9.594 kB / 0.5851 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.4465, allocations: 1.656 kB / 0.5851 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.376e-05/0.4466, allocations: 169.6 kB / 0.5853 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4466, allocations: 1.25 kB / 0.5853 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.4466, allocations: 1.812 kB / 0.5853 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.553e-05/0.4467, allocations: 39.05 kB / 0.5853 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4467, allocations: 0 / 0.5853 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.4467, allocations: 0.8125 kB / 0.5853 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4467, allocations: 0 / 0.5853 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.4467, allocations: 2.078 kB / 0.5853 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.4469, allocations: 380.3 kB / 0.5857 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.799e-05/0.447, allocations: 174.5 kB / 0.5859 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.447, allocations: 81.23 kB / 0.5859 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.447, allocations: 75.28 kB / 0.586 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.4471, allocations: 111.4 kB / 0.5861 GB, free: 1.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.4471, allocations: 0 / 0.5861 GB, free: 1.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.119e-05/0.4471, allocations: 27.84 kB / 0.5861 GB, free: 1.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.4472, allocations: 128 kB / 0.5863 GB, free: 1.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.4472, allocations: 95.78 kB / 0.5864 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-06/0.4473, allocations: 30.61 kB / 0.5864 GB, free: 1.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.4473, allocations: 84.05 kB / 0.5865 GB, free: 1.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-06/0.4473, allocations: 1.469 kB / 0.5865 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.4473, allocations: 17.78 kB / 0.5865 GB, free: 1.336 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.4474, allocations: 316.5 kB / 0.5868 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-06/0.4474, allocations: 1.75 kB / 0.5868 GB, free: 1.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.4474, allocations: 0.5156 kB / 0.5868 GB, free: 1.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/0.4474, allocations: 7.844 kB / 0.5868 GB, free: 1.012 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4474, allocations: 0 / 0.5868 GB, free: 1.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.17e-05/0.4475, allocations: 34.8 kB / 0.5868 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4475, allocations: 6.516 kB / 0.5868 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.4475, allocations: 4 kB / 0.5868 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4475, allocations: 1.344 kB / 0.5868 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-05/0.4476, allocations: 1.578 kB / 0.5868 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4476, allocations: 4.781 kB / 0.5868 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.225e-05/0.4476, allocations: 3.984 kB / 0.5868 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.4476, allocations: 0.75 kB / 0.5868 GB, free: 0.9648 MB / 430.1 MB 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 5.645e-05/0.4477, allocations: 189.2 kB / 0.587 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.4478, allocations: 111 kB / 0.5871 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.4478, allocations: 106.5 kB / 0.5872 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/0.4478, allocations: 182 kB / 0.5874 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.897e-05/0.4479, allocations: 182 kB / 0.5876 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/0.4479, allocations: 182.2 kB / 0.5878 GB, free: 0 / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.4481, allocations: 404.4 kB / 0.5881 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.741e-05/0.4482, allocations: 105.5 kB / 0.5882 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.4482, allocations: 111 kB / 0.5883 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-05/0.4483, allocations: 181.9 kB / 0.5885 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.355e-05/0.4484, allocations: 182.4 kB / 0.5887 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.528e-05/0.4485, allocations: 178.3 kB / 0.5889 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-05/0.4485, allocations: 184.8 kB / 0.589 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.4487, allocations: 305.3 kB / 0.5893 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.4488, allocations: 184.6 kB / 0.5895 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.4489, allocations: 179 kB / 0.5897 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.4489, allocations: 107.4 kB / 0.5898 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.449, allocations: 184.8 kB / 0.59 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.4491, allocations: 110.7 kB / 0.5901 GB, free: 13.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.878e-05/0.4491, allocations: 80.12 kB / 0.5901 GB, free: 13.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4491, allocations: 1 kB / 0.5901 GB, free: 13.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.4493, allocations: 0.9688 kB / 0.5901 GB, free: 13.4 MB / 446.1 MB 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.0001502/0.4495, allocations: 178.7 kB / 0.5903 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.956e-05/0.4496, allocations: 10.81 kB / 0.5903 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4496, allocations: 0 / 0.5903 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.4496, allocations: 0 / 0.5903 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.45, allocations: 0.5217 MB / 0.5908 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001779/0.4501, allocations: 154.4 kB / 0.591 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.4504, allocations: 0.6718 MB / 0.5916 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.131e-05/0.4504, allocations: 0 / 0.5916 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.4505, allocations: 8.562 kB / 0.5916 GB, free: 11.83 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4505, allocations: 0 / 0.5916 GB, free: 11.83 MB / 446.1 MB Notification: Performance of Templates: time 0.001869/0.4523, allocations: 171.2 kB / 0.5918 GB, free: 11.81 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)