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.001223/0.001223, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001216/0.001216, allocations: 193.2 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7696/0.7696, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.5068 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3361, allocations: 80.91 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.002047/0.3382, allocations: 1.406 MB / 0.5872 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.3415, allocations: 3.022 MB / 0.5901 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.3416, allocations: 0 / 0.5901 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.954e-05/0.3417, allocations: 13.64 kB / 0.5902 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.3419, allocations: 35.77 kB / 0.5902 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.3437, allocations: 0.9914 MB / 0.5912 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.133e-05/0.3438, allocations: 80.41 kB / 0.5912 GB, free: 20.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.3438, allocations: 11.03 kB / 0.5912 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.3439, allocations: 35.86 kB / 0.5913 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.344, allocations: 165.6 kB / 0.5914 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.3441, allocations: 12 kB / 0.5914 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.3454, allocations: 1.382 MB / 0.5928 GB, free: 19.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004292/0.3458, allocations: 0.6795 MB / 0.5935 GB, free: 18.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.3461, allocations: 445 kB / 0.5939 GB, free: 18.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.3473, allocations: 1.792 MB / 0.5956 GB, free: 16.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3473, allocations: 0 / 0.5956 GB, free: 16.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3473, allocations: 0 / 0.5956 GB, free: 16.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.3473, allocations: 1.781 kB / 0.5956 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.007824/0.3551, allocations: 1.7 MB / 0.5973 GB, free: 14.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3552, allocations: 8.031 kB / 0.5973 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.3555, allocations: 144.2 kB / 0.5974 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.356, allocations: 0.5229 MB / 0.5979 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.356, allocations: 4.375 kB / 0.598 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.356, allocations: 16.11 kB / 0.598 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.3564, allocations: 392.7 kB / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3564, allocations: 0 / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3564, allocations: 0 / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3564, allocations: 0.8438 kB / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.3568, allocations: 436.4 kB / 0.5988 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.3573, allocations: 0.8014 MB / 0.5995 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.3577, allocations: 0.5653 MB / 0.6001 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3579, allocations: 341.6 kB / 0.6004 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007476/0.3587, allocations: 1.03 MB / 0.6014 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.359, allocations: 406.6 kB / 0.6018 GB, free: 9.719 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.359, allocations: 1.156 kB / 0.6018 GB, free: 9.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009872/0.36, allocations: 1.34 MB / 0.6031 GB, free: 8.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.3601, allocations: 87.42 kB / 0.6032 GB, free: 8.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.3613, allocations: 1.846 MB / 0.605 GB, free: 6.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.3613, allocations: 29.7 kB / 0.605 GB, free: 6.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.3616, allocations: 477.3 kB / 0.6055 GB, free: 5.867 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.3616, allocations: 19.8 kB / 0.6055 GB, free: 5.848 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.3618, allocations: 352.1 kB / 0.6058 GB, free: 5.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.3619, allocations: 306.2 kB / 0.6061 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008752/0.3628, allocations: 1.506 MB / 0.6076 GB, free: 3.691 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00096/0.3637, allocations: 1.647 MB / 0.6092 GB, free: 2.035 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006343/0.3701, allocations: 3.688 MB / 0.6128 GB, free: 14.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3701, allocations: 0 / 0.6128 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004199/0.3743, allocations: 4.325 MB / 0.617 GB, free: 9.895 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3744, allocations: 8 kB / 0.6171 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.3744, allocations: 1 kB / 0.6171 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3744, allocations: 0 / 0.6171 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3745, allocations: 21.2 kB / 0.6171 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.3745, allocations: 4 kB / 0.6171 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.3751, allocations: 228.3 kB / 0.6173 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.3751, allocations: 29.7 kB / 0.6173 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.0004246/0.3756, allocations: 368.6 kB / 0.6177 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.3757, allocations: 118 kB / 0.6178 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.376, allocations: 150.9 kB / 0.6179 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.376, allocations: 0 / 0.6179 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.376, allocations: 0.7188 kB / 0.6179 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.376, allocations: 7.938 kB / 0.6179 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.3766, allocations: 0.676 MB / 0.6186 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3766, allocations: 4.844 kB / 0.6186 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.3767, allocations: 4 kB / 0.6186 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.3767, allocations: 5.297 kB / 0.6186 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3767, allocations: 11.92 kB / 0.6186 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3767, allocations: 0 / 0.6186 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3767, allocations: 1.812 kB / 0.6186 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009507/0.3777, allocations: 1.068 MB / 0.6197 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.3779, allocations: 201.4 kB / 0.6199 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/0.378, allocations: 4 kB / 0.6199 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.3782, allocations: 4 kB / 0.6199 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.3782, allocations: 3.984 kB / 0.6199 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.3783, allocations: 12.48 kB / 0.6199 GB, free: 6.879 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001138/0.3794, allocations: 1.11 MB / 0.621 GB, free: 5.746 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3794, allocations: 0 / 0.621 GB, free: 5.746 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009994/0.3804, allocations: 423.9 kB / 0.6214 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.001037/0.3815, allocations: 487.6 kB / 0.6218 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.3837, allocations: 2.644 MB / 0.6244 GB, free: 2.203 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3837, allocations: 3.188 kB / 0.6244 GB, free: 2.203 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002933/0.384, allocations: 343.7 kB / 0.6248 GB, free: 1.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.3844, allocations: 47.36 kB / 0.6248 GB, free: 1.816 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.3871, allocations: 2.563 MB / 0.6273 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.3878, allocations: 1.149 MB / 0.6284 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.3879, allocations: 36.55 kB / 0.6285 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.432e-05/0.388, allocations: 27.36 kB / 0.6285 GB, free: 13.98 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.388, allocations: 0 / 0.6285 GB, free: 13.98 MB / 478.1 MB Notification: Performance of Templates: time 0.01767/0.4057, allocations: 10.1 MB / 0.6384 GB, free: 3.91 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)