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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005703/0.005703, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001183/0.001183, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9319/0.9319, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.91 kB / 0.5857 GB, free: 3.273 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3912, allocations: 80.92 MB / 0.6647 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002397/0.3937, allocations: 1.404 MB / 0.6661 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003972/0.3977, allocations: 3.027 MB / 0.669 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.3978, allocations: 1.5 kB / 0.669 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.398, allocations: 9.328 kB / 0.669 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.3982, allocations: 31.23 kB / 0.6691 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.4012, allocations: 0.9935 MB / 0.67 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.4014, allocations: 76.8 kB / 0.6701 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.4014, allocations: 10.31 kB / 0.6701 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.4015, allocations: 39.72 kB / 0.6702 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.4018, allocations: 156.3 kB / 0.6703 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.4018, allocations: 14.62 kB / 0.6703 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.4042, allocations: 1.383 MB / 0.6717 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007168/0.4049, allocations: 0.6861 MB / 0.6723 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006647/0.4056, allocations: 447.7 kB / 0.6728 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.4087, allocations: 1.783 MB / 0.6745 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4087, allocations: 0 / 0.6745 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4087, allocations: 1.25 kB / 0.6745 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.318e-05/0.4088, allocations: 3.938 kB / 0.6745 GB, free: 0.8984 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.01162/0.4204, allocations: 1.693 MB / 0.6762 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.4205, allocations: 9 kB / 0.6762 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005632/0.421, allocations: 143.8 kB / 0.6763 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007527/0.4218, allocations: 0.5244 MB / 0.6768 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.4218, allocations: 2.594 kB / 0.6768 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.4219, allocations: 8.344 kB / 0.6768 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.4224, allocations: 394.7 kB / 0.6772 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4224, allocations: 5 kB / 0.6772 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.4224, allocations: 0 / 0.6772 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4224, allocations: 5.062 kB / 0.6772 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.4229, allocations: 438.3 kB / 0.6776 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.4242, allocations: 0.8032 MB / 0.6784 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.4247, allocations: 0.5727 MB / 0.679 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.4251, allocations: 333.2 kB / 0.6793 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.4261, allocations: 1.025 MB / 0.6803 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004692/0.4266, allocations: 410.8 kB / 0.6807 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.4267, allocations: 0 / 0.6807 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001676/0.4283, allocations: 1.342 MB / 0.682 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.4284, allocations: 79.58 kB / 0.6821 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.4312, allocations: 1.85 MB / 0.6839 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.4313, allocations: 31.08 kB / 0.6839 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.4317, allocations: 476 kB / 0.6844 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.4318, allocations: 19.92 kB / 0.6844 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/0.4322, allocations: 347.8 kB / 0.6847 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4323, allocations: 306.5 kB / 0.685 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.4339, allocations: 1.511 MB / 0.6865 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.4355, allocations: 1.646 MB / 0.6881 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007319/0.4428, allocations: 3.69 MB / 0.6917 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.4429, allocations: 3.938 kB / 0.6917 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004753/0.4476, allocations: 4.32 MB / 0.6959 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4477, allocations: 4 kB / 0.6959 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.4477, allocations: 4 kB / 0.6959 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4477, allocations: 0 / 0.6959 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.4479, allocations: 19.92 kB / 0.6959 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4479, allocations: 0 / 0.6959 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009173/0.4488, allocations: 236.3 kB / 0.6962 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.4489, allocations: 19.98 kB / 0.6962 GB, free: 0.6211 MB / 0.5137 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006562/0.4495, allocations: 375 kB / 0.6966 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.4497, allocations: 122 kB / 0.6967 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.4502, allocations: 145 kB / 0.6968 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4503, allocations: 7.938 kB / 0.6968 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4503, allocations: 3.938 kB / 0.6968 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4503, allocations: 0 / 0.6968 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009407/0.4512, allocations: 0.691 MB / 0.6975 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4512, allocations: 4.031 kB / 0.6975 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.4513, allocations: 8 kB / 0.6975 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4513, allocations: 0 / 0.6975 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.4514, allocations: 3.984 kB / 0.6975 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.4514, allocations: 4 kB / 0.6975 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.4514, allocations: 0 / 0.6975 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000998/0.4524, allocations: 1.055 MB / 0.6985 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.4527, allocations: 199.1 kB / 0.6987 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.4528, allocations: 0 / 0.6987 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.4531, allocations: 8 kB / 0.6987 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.4531, allocations: 7.984 kB / 0.6987 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.4532, allocations: 11.98 kB / 0.6988 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001429/0.4546, allocations: 1.101 MB / 0.6998 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.4546, allocations: 4 kB / 0.6998 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00133/0.4559, allocations: 431.9 kB / 0.7002 GB, free: 12.32 MB / 0.5294 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 (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.00168/0.4576, allocations: 488.1 kB / 0.7007 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002509/0.4602, allocations: 2.644 MB / 0.7033 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4602, allocations: 0 / 0.7033 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.4605, allocations: 347.7 kB / 0.7036 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.4611, allocations: 50.48 kB / 0.7037 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.4645, allocations: 2.571 MB / 0.7062 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/0.4652, allocations: 1.153 MB / 0.7073 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.4654, allocations: 32.55 kB / 0.7073 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.4655, allocations: 23.42 kB / 0.7074 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.4655, allocations: 0 / 0.7074 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of Templates: time 0.01997/0.4855, allocations: 10.11 MB / 0.7172 GB, free: 10.86 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)