Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001584/0.001584, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001815/0.001815, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7727/0.7727, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3276, allocations: 80.19 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002159/0.3298, allocations: 1.394 MB / 0.5829 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003442/0.3333, allocations: 3.034 MB / 0.5859 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/0.3333, allocations: 0 / 0.5859 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.987e-05/0.3334, allocations: 13.23 kB / 0.5859 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.3336, allocations: 28.06 kB / 0.5859 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.3354, allocations: 1.001 MB / 0.5869 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3356, allocations: 84.28 kB / 0.5869 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.3356, allocations: 5.609 kB / 0.587 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.3357, allocations: 43.73 kB / 0.587 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.3359, allocations: 156.4 kB / 0.5871 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.3359, allocations: 14.16 kB / 0.5872 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.3375, allocations: 1.382 MB / 0.5885 GB, free: 22.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005856/0.3381, allocations: 0.6832 MB / 0.5892 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.3384, allocations: 444.7 kB / 0.5896 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.3397, allocations: 1.786 MB / 0.5913 GB, free: 20.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3397, allocations: 2.031 kB / 0.5913 GB, free: 20.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3397, allocations: 3.938 kB / 0.5913 GB, free: 20.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.3397, allocations: 0 / 0.5913 GB, free: 20.12 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.0082/0.3479, allocations: 1.695 MB / 0.593 GB, free: 18.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.348, allocations: 9.109 kB / 0.593 GB, free: 18.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/0.3483, allocations: 144.9 kB / 0.5932 GB, free: 18.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.3488, allocations: 0.525 MB / 0.5937 GB, free: 17.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3488, allocations: 4.375 kB / 0.5937 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.3488, allocations: 12.62 kB / 0.5937 GB, free: 17.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.3492, allocations: 392.4 kB / 0.5941 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.3492, allocations: 0.5625 kB / 0.5941 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3492, allocations: 0.5625 kB / 0.5941 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3492, allocations: 0 / 0.5941 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.3495, allocations: 434.9 kB / 0.5945 GB, free: 16.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.35, allocations: 0.8074 MB / 0.5953 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.3504, allocations: 0.5615 MB / 0.5958 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.3506, allocations: 337.7 kB / 0.5961 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000724/0.3513, allocations: 1.034 MB / 0.5971 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.3516, allocations: 404 kB / 0.5975 GB, free: 13.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.3516, allocations: 7.922 kB / 0.5975 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009609/0.3526, allocations: 1.348 MB / 0.5988 GB, free: 11.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.3526, allocations: 77.11 kB / 0.5989 GB, free: 11.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.3538, allocations: 1.847 MB / 0.6007 GB, free: 10 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.3539, allocations: 34.59 kB / 0.6008 GB, free: 9.961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.3541, allocations: 477.3 kB / 0.6012 GB, free: 9.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3542, allocations: 17.62 kB / 0.6012 GB, free: 9.473 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.3544, allocations: 351.5 kB / 0.6016 GB, free: 9.125 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.3544, allocations: 309.1 kB / 0.6019 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008577/0.3553, allocations: 1.51 MB / 0.6033 GB, free: 7.309 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009232/0.3562, allocations: 1.644 MB / 0.6049 GB, free: 5.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006254/0.3625, allocations: 3.695 MB / 0.6085 GB, free: 1.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3625, allocations: 0 / 0.6085 GB, free: 1.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003781/0.3663, allocations: 4.321 MB / 0.6128 GB, free: 13.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3663, allocations: 4 kB / 0.6128 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3663, allocations: 6.094 kB / 0.6128 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3664, allocations: 4 kB / 0.6128 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3665, allocations: 19.98 kB / 0.6128 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3665, allocations: 0 / 0.6128 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.367, allocations: 225.4 kB / 0.613 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.3671, allocations: 27.97 kB / 0.613 GB, free: 13.23 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.0003916/0.3675, allocations: 367.3 kB / 0.6134 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.3676, allocations: 126 kB / 0.6135 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.3679, allocations: 141.9 kB / 0.6136 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3679, allocations: 1.812 kB / 0.6137 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3679, allocations: 4 kB / 0.6137 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3679, allocations: 0 / 0.6137 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.3685, allocations: 0.6832 MB / 0.6143 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3685, allocations: 0 / 0.6143 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/0.3686, allocations: 8.828 kB / 0.6143 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3686, allocations: 0 / 0.6143 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3686, allocations: 4.625 kB / 0.6143 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3686, allocations: 0 / 0.6143 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3686, allocations: 1.625 kB / 0.6143 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.3696, allocations: 1.061 MB / 0.6154 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.3698, allocations: 199.1 kB / 0.6156 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/0.3699, allocations: 4 kB / 0.6156 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.3701, allocations: 8.922 kB / 0.6156 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/0.3701, allocations: 4 kB / 0.6156 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.3702, allocations: 12.66 kB / 0.6156 GB, free: 10.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001162/0.3713, allocations: 1.106 MB / 0.6167 GB, free: 9.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3713, allocations: 0 / 0.6167 GB, free: 9.383 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009559/0.3723, allocations: 439.8 kB / 0.6171 GB, free: 8.953 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.001062/0.3734, allocations: 481.9 kB / 0.6175 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.3757, allocations: 2.642 MB / 0.6201 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3757, allocations: 0 / 0.6201 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.376, allocations: 341.5 kB / 0.6205 GB, free: 5.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3764, allocations: 58.47 kB / 0.6205 GB, free: 5.438 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.3792, allocations: 2.565 MB / 0.623 GB, free: 2.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006745/0.3799, allocations: 1.155 MB / 0.6241 GB, free: 1.676 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.38, allocations: 36.64 kB / 0.6242 GB, free: 1.641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.3801, allocations: 27.42 kB / 0.6242 GB, free: 1.613 MB / 462.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3801, allocations: 0 / 0.6242 GB, free: 1.613 MB / 462.1 MB Notification: Performance of Templates: time 0.01727/0.3974, allocations: 10.1 MB / 0.6341 GB, free: 7.555 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)