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.0015/0.0015, allocations: 103.3 kB / 16.27 MB, free: 5.906 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.001544/0.001544, allocations: 189.3 kB / 17.19 MB, free: 5.551 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8128/0.8128, allocations: 135.2 MB / 426.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.001861, allocations: 67.89 kB / 0.5061 GB, free: 8.262 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4144, allocations: 80.92 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002482/0.417, allocations: 1.406 MB / 0.5865 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004179/0.4212, allocations: 3.008 MB / 0.5894 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.4213, allocations: 0.6562 kB / 0.5894 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.4214, allocations: 13.17 kB / 0.5894 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.4217, allocations: 32.52 kB / 0.5895 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.4245, allocations: 0.9956 MB / 0.5904 GB, free: 21.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.4246, allocations: 80.33 kB / 0.5905 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.4247, allocations: 7.984 kB / 0.5905 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.4247, allocations: 45.12 kB / 0.5906 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.4249, allocations: 153.7 kB / 0.5907 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.425, allocations: 12 kB / 0.5907 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.4267, allocations: 1.374 MB / 0.5921 GB, free: 19.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004866/0.4272, allocations: 0.6877 MB / 0.5927 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.4274, allocations: 441 kB / 0.5932 GB, free: 18.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.429, allocations: 1.772 MB / 0.5949 GB, free: 16.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.429, allocations: 0 / 0.5949 GB, free: 16.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4291, allocations: 5.375 kB / 0.5949 GB, free: 16.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.4291, allocations: 0 / 0.5949 GB, free: 16.5 MB / 446.1 MB 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.009725/0.4388, allocations: 1.696 MB / 0.5965 GB, free: 14.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4389, allocations: 8.031 kB / 0.5966 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003841/0.4393, allocations: 150.9 kB / 0.5967 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.4397, allocations: 0.522 MB / 0.5972 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4397, allocations: 4.375 kB / 0.5972 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.4397, allocations: 8.969 kB / 0.5972 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.4401, allocations: 400.9 kB / 0.5976 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4401, allocations: 0 / 0.5976 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4401, allocations: 0 / 0.5976 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.4401, allocations: 1 kB / 0.5976 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.4405, allocations: 436.8 kB / 0.598 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.4411, allocations: 0.8047 MB / 0.5988 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.4415, allocations: 0.5568 MB / 0.5993 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.4417, allocations: 346.6 kB / 0.5997 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007976/0.4425, allocations: 1.024 MB / 0.6007 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.4428, allocations: 405.5 kB / 0.6011 GB, free: 9.719 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.4428, allocations: 0 / 0.6011 GB, free: 9.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009664/0.4438, allocations: 1.346 MB / 0.6024 GB, free: 8.367 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.4438, allocations: 77.11 kB / 0.6025 GB, free: 8.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.4451, allocations: 1.85 MB / 0.6043 GB, free: 6.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.4451, allocations: 33.7 kB / 0.6043 GB, free: 6.336 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.4454, allocations: 474.5 kB / 0.6047 GB, free: 5.867 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.4454, allocations: 15.81 kB / 0.6048 GB, free: 5.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.4456, allocations: 351.5 kB / 0.6051 GB, free: 5.504 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.4457, allocations: 306.2 kB / 0.6054 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008772/0.4465, allocations: 1.519 MB / 0.6069 GB, free: 3.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009413/0.4475, allocations: 1.642 MB / 0.6085 GB, free: 2.031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006545/0.4541, allocations: 3.692 MB / 0.6121 GB, free: 14.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4541, allocations: 0 / 0.6121 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005132/0.4592, allocations: 4.317 MB / 0.6163 GB, free: 9.895 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.4593, allocations: 5.406 kB / 0.6163 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.4593, allocations: 3.984 kB / 0.6163 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.4593, allocations: 4 kB / 0.6163 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.4595, allocations: 16.59 kB / 0.6163 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4595, allocations: 0 / 0.6163 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.4601, allocations: 237.8 kB / 0.6165 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.4602, allocations: 23.98 kB / 0.6166 GB, free: 9.609 MB / 462.1 MB 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.0005201/0.4607, allocations: 366.1 kB / 0.6169 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.4608, allocations: 123.7 kB / 0.617 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.4612, allocations: 149.1 kB / 0.6172 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4612, allocations: 1 kB / 0.6172 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4612, allocations: 4 kB / 0.6172 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4612, allocations: 1.062 kB / 0.6172 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.4619, allocations: 0.6833 MB / 0.6179 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4619, allocations: 7.922 kB / 0.6179 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.462, allocations: 5 kB / 0.6179 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.462, allocations: 0 / 0.6179 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.462, allocations: 9.641 kB / 0.6179 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.462, allocations: 0 / 0.6179 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.462, allocations: 0 / 0.6179 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.4631, allocations: 1.057 MB / 0.6189 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.4633, allocations: 200.6 kB / 0.6191 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.004e-05/0.4634, allocations: 3.984 kB / 0.6191 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.4637, allocations: 8 kB / 0.6191 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.4637, allocations: 9.109 kB / 0.6191 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.4638, allocations: 7.984 kB / 0.6191 GB, free: 6.883 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001267/0.465, allocations: 1.106 MB / 0.6202 GB, free: 5.754 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.465, allocations: 0 / 0.6202 GB, free: 5.754 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00121/0.4663, allocations: 431.9 kB / 0.6206 GB, free: 5.332 MB / 462.1 MB 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.00127/0.4675, allocations: 490.3 kB / 0.6211 GB, free: 4.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.4703, allocations: 2.647 MB / 0.6237 GB, free: 2.199 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4703, allocations: 0 / 0.6237 GB, free: 2.199 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.4707, allocations: 343.8 kB / 0.624 GB, free: 1.863 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.4712, allocations: 53.55 kB / 0.6241 GB, free: 1.809 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.4746, allocations: 2.655 MB / 0.6266 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008893/0.4755, allocations: 1.154 MB / 0.6278 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4756, allocations: 23.42 kB / 0.6278 GB, free: 13.92 MB / 478.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4756, allocations: 0 / 0.6278 GB, free: 13.92 MB / 478.1 MB Notification: Performance of Templates: time 0.02723/0.5028, allocations: 15.03 MB / 0.6425 GB, free: 14.89 MB / 494.1 MB 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)