Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.006924/0.006924, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001104/0.001104, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9361/0.9361, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.89 kB / 0.5857 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3894, allocations: 80.91 MB / 0.6647 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001385/0.3908, allocations: 0.5445 MB / 0.6652 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006844/0.3915, allocations: 0.7853 MB / 0.666 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.3915, allocations: 1.094 kB / 0.666 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.3916, allocations: 0 / 0.666 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.3916, allocations: 0 / 0.666 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.3918, allocations: 19.45 kB / 0.666 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.785e-05/0.3919, allocations: 5.109 kB / 0.666 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.3919, allocations: 1.094 kB / 0.666 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.339e-05/0.3919, allocations: 1.062 kB / 0.666 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.3921, allocations: 19.02 kB / 0.666 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.3921, allocations: 0 / 0.666 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.056e-06/0.3921, allocations: 1.312 kB / 0.666 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.296e-06/0.3921, allocations: 0 / 0.666 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.3921, allocations: 0 / 0.666 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 3.486e-05/0.3922, allocations: 5.203 kB / 0.666 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3922, allocations: 0 / 0.666 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.562e-06/0.3922, allocations: 0 / 0.666 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3922, allocations: 5.562 kB / 0.666 GB, free: 6.52 MB / 0.4981 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.0001697/0.3924, allocations: 317 kB / 0.6663 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3924, allocations: 10.16 kB / 0.6663 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.3924, allocations: 0.9375 kB / 0.6663 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.747e-05/0.3925, allocations: 164.3 kB / 0.6665 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.3925, allocations: 1.469 kB / 0.6665 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.3925, allocations: 1.625 kB / 0.6665 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.878e-05/0.3926, allocations: 30.77 kB / 0.6665 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.3926, allocations: 3.938 kB / 0.6665 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.3926, allocations: 4 kB / 0.6665 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.3926, allocations: 1.25 kB / 0.6665 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.326e-05/0.3926, allocations: 1.312 kB / 0.6665 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.3928, allocations: 382.1 kB / 0.6669 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.509e-05/0.3928, allocations: 173.1 kB / 0.6671 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.3929, allocations: 89.58 kB / 0.6672 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.3929, allocations: 75.28 kB / 0.6672 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.3929, allocations: 107.2 kB / 0.6673 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.3929, allocations: 0 / 0.6673 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.216e-05/0.393, allocations: 27.14 kB / 0.6674 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.393, allocations: 130.6 kB / 0.6675 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.393, allocations: 99.22 kB / 0.6676 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.509e-06/0.3931, allocations: 25.7 kB / 0.6676 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.423e-05/0.3931, allocations: 85.53 kB / 0.6677 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.3931, allocations: 0 / 0.6677 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.3931, allocations: 16.38 kB / 0.6677 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.558e-05/0.3932, allocations: 314.8 kB / 0.668 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.662e-06/0.3932, allocations: 1.219 kB / 0.668 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-06/0.3932, allocations: 1.281 kB / 0.668 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.678e-05/0.3932, allocations: 10.27 kB / 0.668 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3932, allocations: 0 / 0.668 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.235e-05/0.3933, allocations: 39.19 kB / 0.6681 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.3933, allocations: 4.312 kB / 0.6681 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3933, allocations: 5.25 kB / 0.6681 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3933, allocations: 0 / 0.6681 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.393e-05/0.3934, allocations: 2.375 kB / 0.6681 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3934, allocations: 0 / 0.6681 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-06/0.3934, allocations: 7.938 kB / 0.6681 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.3934, allocations: 5.25 kB / 0.6681 GB, free: 4.246 MB / 0.4981 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 4.228e-05/0.3934, allocations: 187.7 kB / 0.6683 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.3935, allocations: 102.2 kB / 0.6684 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.3935, allocations: 113.4 kB / 0.6685 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.3935, allocations: 177.3 kB / 0.6686 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.206e-05/0.3936, allocations: 182.1 kB / 0.6688 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.3936, allocations: 184.2 kB / 0.669 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.3937, allocations: 402.1 kB / 0.6694 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.3937, allocations: 106.2 kB / 0.6695 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.254e-05/0.3937, allocations: 102.9 kB / 0.6696 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.3938, allocations: 176.3 kB / 0.6697 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.3938, allocations: 189.4 kB / 0.6699 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.991e-05/0.3938, allocations: 181.4 kB / 0.6701 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.129e-05/0.3938, allocations: 185.2 kB / 0.6703 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.47e-05/0.3939, allocations: 310.2 kB / 0.6706 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.3939, allocations: 191.4 kB / 0.6707 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.394, allocations: 177.4 kB / 0.6709 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.394, allocations: 106.4 kB / 0.671 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.394, allocations: 177.9 kB / 0.6712 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3941, allocations: 110.7 kB / 0.6713 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.451e-05/0.3941, allocations: 75.28 kB / 0.6714 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3941, allocations: 4.094 kB / 0.6714 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002255/0.3943, allocations: 1.375 kB / 0.6714 GB, free: 0.6758 MB / 0.4981 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 8.71e-05/0.3944, allocations: 184.9 kB / 0.6715 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.353e-05/0.3945, allocations: 5.25 kB / 0.6715 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3945, allocations: 1.312 kB / 0.6715 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.3945, allocations: 0 / 0.6715 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.3947, allocations: 461.5 kB / 0.672 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/0.3949, allocations: 157.5 kB / 0.6721 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.3951, allocations: 0.6729 MB / 0.6728 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.174e-05/0.3952, allocations: 4 kB / 0.6728 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.3952, allocations: 8.719 kB / 0.6728 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.3952, allocations: 0 / 0.6728 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.001687/0.3969, allocations: 178.9 kB / 0.673 GB, free: 15.1 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)