Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008305/0.0008305, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8125/0.8125, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002758, allocations: 13.56 kB / 0.5069 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001533/0.1371, allocations: 1.371 MB / 0.5886 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004496/0.1416, allocations: 3.797 MB / 0.5923 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.1417, allocations: 0 / 0.5923 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008542/0.1426, allocations: 338.9 kB / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.172e-05/0.1427, allocations: 55.84 kB / 0.5927 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.1443, allocations: 0.7177 MB / 0.5934 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1445, allocations: 107 kB / 0.5935 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.1445, allocations: 5.562 kB / 0.5935 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.1446, allocations: 47.8 kB / 0.5935 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.1448, allocations: 163.6 kB / 0.5937 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.1448, allocations: 20 kB / 0.5937 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.1463, allocations: 1.26 MB / 0.5949 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.1464, allocations: 247.3 kB / 0.5952 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.553e-05/0.1465, allocations: 125.2 kB / 0.5953 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009806/0.1475, allocations: 1.025 MB / 0.5963 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.1475, allocations: 4 kB / 0.5963 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1475, allocations: 0 / 0.5963 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.1476, allocations: 0 / 0.5963 GB, free: 9.836 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008919/0.1565, allocations: 1.221 MB / 0.5975 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.1565, allocations: 12.03 kB / 0.5975 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003033/0.1568, allocations: 94.64 kB / 0.5976 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.1572, allocations: 408.7 kB / 0.598 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.1573, allocations: 0 / 0.598 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.1573, allocations: 11.98 kB / 0.598 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.1577, allocations: 387.2 kB / 0.5983 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-06/0.1577, allocations: 0 / 0.5983 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1577, allocations: 4 kB / 0.5983 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1577, allocations: 0 / 0.5983 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.1581, allocations: 439.7 kB / 0.5988 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.1586, allocations: 0.6613 MB / 0.5994 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.1591, allocations: 0.5555 MB / 0.6 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008625/0.1599, allocations: 1.04 MB / 0.601 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.1603, allocations: 405 kB / 0.6014 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1603, allocations: 0 / 0.6014 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.00111/0.1614, allocations: 1.296 MB / 0.6026 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.1615, allocations: 81.11 kB / 0.6027 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.1626, allocations: 1.277 MB / 0.6039 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1626, allocations: 29.69 kB / 0.604 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1628, allocations: 285.5 kB / 0.6043 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1628, allocations: 15.81 kB / 0.6043 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.1628, allocations: 4 kB / 0.6043 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.163, allocations: 427.8 kB / 0.6047 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2179/0.3809, allocations: 1.353 MB / 0.606 GB, free: 48.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009583/0.3819, allocations: 1.496 MB / 0.6075 GB, free: 48.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.3831, allocations: 1.894 MB / 0.6093 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3831, allocations: 5.453 kB / 0.6093 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002881/0.386, allocations: 3.954 MB / 0.6132 GB, free: 47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.386, allocations: 6.469 kB / 0.6132 GB, free: 47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.386, allocations: 1.375 kB / 0.6132 GB, free: 47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.386, allocations: 6.594 kB / 0.6132 GB, free: 47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3861, allocations: 9.906 kB / 0.6132 GB, free: 47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3862, allocations: 8.828 kB / 0.6132 GB, free: 47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.3866, allocations: 231.2 kB / 0.6134 GB, free: 46.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.3866, allocations: 25.31 kB / 0.6135 GB, free: 46.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.3868, allocations: 243.6 kB / 0.6137 GB, free: 46.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.3869, allocations: 74.86 kB / 0.6138 GB, free: 46.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.3871, allocations: 79.3 kB / 0.6138 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3871, allocations: 4.344 kB / 0.6138 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3872, allocations: 6.172 kB / 0.6138 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3872, allocations: 2.594 kB / 0.6138 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.3875, allocations: 0.513 MB / 0.6143 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3875, allocations: 11.86 kB / 0.6144 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.3875, allocations: 3.219 kB / 0.6144 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3875, allocations: 3.188 kB / 0.6144 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3876, allocations: 7.234 kB / 0.6144 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3876, allocations: 7.109 kB / 0.6144 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3876, allocations: 0 / 0.6144 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.3882, allocations: 1.02 MB / 0.6154 GB, free: 46.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.3883, allocations: 162 kB / 0.6155 GB, free: 46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.3883, allocations: 3.953 kB / 0.6155 GB, free: 46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3885, allocations: 6.297 kB / 0.6155 GB, free: 46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.3885, allocations: 13.95 kB / 0.6155 GB, free: 46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.3886, allocations: 13.47 kB / 0.6156 GB, free: 46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005427/0.3891, allocations: 0.711 MB / 0.6163 GB, free: 45.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3891, allocations: 0 / 0.6163 GB, free: 45.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000805/0.3899, allocations: 398.1 kB / 0.6166 GB, free: 45.74 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008833/0.3908, allocations: 483.9 kB / 0.6171 GB, free: 45.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.3923, allocations: 2.491 MB / 0.6195 GB, free: 44.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3923, allocations: 0 / 0.6195 GB, free: 44.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.3926, allocations: 345.4 kB / 0.6199 GB, free: 44.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.3928, allocations: 51.66 kB / 0.6199 GB, free: 44.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.3944, allocations: 1.974 MB / 0.6218 GB, free: 43.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3948, allocations: 1.005 MB / 0.6228 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.395, allocations: 40.83 kB / 0.6229 GB, free: 43.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/0.3951, allocations: 29.59 kB / 0.6229 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.3951, allocations: 0 / 0.6229 GB, free: 43.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.01335/0.4085, allocations: 9.518 MB / 0.6322 GB, free: 42.57 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) Environment - environmentSimulation: