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.00124/0.001245, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001197/0.001197, allocations: 189.5 kB / 17.31 MB, free: 5.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.22/1.22, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.738/0.738, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 0.5068 GB, free: 7.617 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2842, allocations: 80.9 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002029/0.2863, allocations: 1.391 MB / 0.5872 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.2895, allocations: 3.029 MB / 0.5901 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.2895, allocations: 1.156 kB / 0.5901 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.804e-05/0.2896, allocations: 15.86 kB / 0.5901 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.2898, allocations: 27.84 kB / 0.5902 GB, free: 22.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.2915, allocations: 0.9928 MB / 0.5911 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.111e-05/0.2916, allocations: 87.73 kB / 0.5912 GB, free: 20.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.07e-05/0.2916, allocations: 2.578 kB / 0.5912 GB, free: 20.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.2916, allocations: 43.83 kB / 0.5913 GB, free: 20.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.2918, allocations: 162.6 kB / 0.5914 GB, free: 20.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.2918, allocations: 12 kB / 0.5914 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.2931, allocations: 1.378 MB / 0.5928 GB, free: 19.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004183/0.2936, allocations: 0.6856 MB / 0.5935 GB, free: 18.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.2938, allocations: 437.6 kB / 0.5939 GB, free: 18.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.295, allocations: 1.792 MB / 0.5956 GB, free: 16.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.295, allocations: 0 / 0.5956 GB, free: 16.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.295, allocations: 0.5625 kB / 0.5956 GB, free: 16.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.295, allocations: 3.984 kB / 0.5956 GB, free: 16.45 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.007643/0.3027, allocations: 1.691 MB / 0.5973 GB, free: 14.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.3027, allocations: 10.59 kB / 0.5973 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.303, allocations: 150.9 kB / 0.5974 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.3034, allocations: 0.5211 MB / 0.5979 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3035, allocations: 8.375 kB / 0.5979 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.3035, allocations: 12.81 kB / 0.598 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.3038, allocations: 392.5 kB / 0.5983 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3038, allocations: 1.406 kB / 0.5983 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3038, allocations: 0 / 0.5983 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3038, allocations: 0 / 0.5983 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.3041, allocations: 433.8 kB / 0.5987 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.3046, allocations: 0.8035 MB / 0.5995 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.3049, allocations: 0.5696 MB / 0.6001 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.3051, allocations: 341.6 kB / 0.6004 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/0.3057, allocations: 1.03 MB / 0.6014 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.306, allocations: 417 kB / 0.6018 GB, free: 9.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.306, allocations: 3.938 kB / 0.6018 GB, free: 9.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008609/0.3069, allocations: 1.34 MB / 0.6031 GB, free: 8.309 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.3069, allocations: 81.11 kB / 0.6032 GB, free: 8.211 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.308, allocations: 1.844 MB / 0.605 GB, free: 6.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.3081, allocations: 33.7 kB / 0.605 GB, free: 6.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.3083, allocations: 478.4 kB / 0.6055 GB, free: 5.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.3083, allocations: 15.81 kB / 0.6055 GB, free: 5.793 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.3085, allocations: 355.5 kB / 0.6059 GB, free: 5.441 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.307e-05/0.3086, allocations: 302.7 kB / 0.6061 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007912/0.3094, allocations: 1.514 MB / 0.6076 GB, free: 3.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/0.3102, allocations: 1.646 MB / 0.6092 GB, free: 1.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00627/0.3165, allocations: 3.69 MB / 0.6128 GB, free: 14.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3165, allocations: 0 / 0.6128 GB, free: 14.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00399/0.3205, allocations: 4.321 MB / 0.6171 GB, free: 9.832 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3206, allocations: 4 kB / 0.6171 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3206, allocations: 4.594 kB / 0.6171 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3206, allocations: 5.406 kB / 0.6171 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3207, allocations: 15.98 kB / 0.6171 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3207, allocations: 0 / 0.6171 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.3212, allocations: 228.9 kB / 0.6173 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.3213, allocations: 25.7 kB / 0.6173 GB, free: 9.555 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.0003838/0.3217, allocations: 365.5 kB / 0.6177 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.3218, allocations: 130 kB / 0.6178 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.3221, allocations: 142.8 kB / 0.6179 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3221, allocations: 4 kB / 0.6179 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3221, allocations: 0.5938 kB / 0.6179 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3221, allocations: 1.062 kB / 0.6179 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.3227, allocations: 0.6793 MB / 0.6186 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3227, allocations: 0 / 0.6186 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.3228, allocations: 8.578 kB / 0.6186 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3228, allocations: 5.938 kB / 0.6186 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3228, allocations: 0 / 0.6186 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3228, allocations: 0 / 0.6186 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3228, allocations: 4 kB / 0.6186 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008566/0.3237, allocations: 1.064 MB / 0.6197 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.3238, allocations: 204 kB / 0.6199 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.3239, allocations: 0 / 0.6199 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3241, allocations: 9.453 kB / 0.6199 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.3242, allocations: 7.938 kB / 0.6199 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.3242, allocations: 17.31 kB / 0.6199 GB, free: 6.824 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001062/0.3253, allocations: 1.104 MB / 0.621 GB, free: 5.695 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3253, allocations: 0 / 0.621 GB, free: 5.695 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009308/0.3262, allocations: 427.9 kB / 0.6214 GB, free: 5.277 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.0009901/0.3272, allocations: 488.7 kB / 0.6218 GB, free: 4.801 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.3293, allocations: 2.64 MB / 0.6244 GB, free: 2.152 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3293, allocations: 0 / 0.6244 GB, free: 2.152 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.3296, allocations: 347.7 kB / 0.6247 GB, free: 1.816 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.33, allocations: 57.84 kB / 0.6248 GB, free: 1.758 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.3325, allocations: 2.561 MB / 0.6273 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/0.3331, allocations: 1.153 MB / 0.6284 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.3333, allocations: 32.56 kB / 0.6285 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.3334, allocations: 27.41 kB / 0.6285 GB, free: 13.92 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3334, allocations: 0 / 0.6285 GB, free: 13.92 MB / 478.1 MB Notification: Performance of Templates: time 0.01621/0.3496, allocations: 10.09 MB / 0.6383 GB, free: 3.871 MB / 478.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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)