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.001076/0.001076, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001176/0.001176, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.363/1.363, 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.8291/0.8291, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.89 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3836, allocations: 80.17 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002351/0.386, allocations: 1.41 MB / 0.5829 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.3897, allocations: 3.028 MB / 0.5859 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.3898, allocations: 0 / 0.5859 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.806e-05/0.3899, allocations: 13.23 kB / 0.5859 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.3901, allocations: 30.56 kB / 0.5859 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.3924, allocations: 0.9949 MB / 0.5869 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.3925, allocations: 88.89 kB / 0.5869 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.3925, allocations: 5.391 kB / 0.587 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.3926, allocations: 47.95 kB / 0.587 GB, free: 23.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.3928, allocations: 153.1 kB / 0.5871 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.3929, allocations: 13.72 kB / 0.5872 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.3947, allocations: 1.382 MB / 0.5885 GB, free: 22.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006361/0.3953, allocations: 0.6824 MB / 0.5892 GB, free: 22.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.3956, allocations: 442.9 kB / 0.5896 GB, free: 21.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.3973, allocations: 1.787 MB / 0.5913 GB, free: 20.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3973, allocations: 0 / 0.5913 GB, free: 20.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3973, allocations: 3.938 kB / 0.5913 GB, free: 20.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.3973, allocations: 1.5 kB / 0.5913 GB, free: 20.13 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.008187/0.4055, allocations: 1.69 MB / 0.593 GB, free: 18.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4056, allocations: 10.83 kB / 0.593 GB, free: 18.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.406, allocations: 138.9 kB / 0.5931 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.4065, allocations: 0.5342 MB / 0.5937 GB, free: 17.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.4065, allocations: 8.359 kB / 0.5937 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.4065, allocations: 12.12 kB / 0.5937 GB, free: 17.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.4069, allocations: 384.3 kB / 0.594 GB, free: 17.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4069, allocations: 9.406 kB / 0.5941 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4069, allocations: 0 / 0.5941 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4069, allocations: 0 / 0.5941 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.4072, allocations: 436.8 kB / 0.5945 GB, free: 16.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.4077, allocations: 0.8052 MB / 0.5953 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.4081, allocations: 0.5572 MB / 0.5958 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.4083, allocations: 337.5 kB / 0.5961 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007817/0.4091, allocations: 1.038 MB / 0.5971 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.4094, allocations: 394.8 kB / 0.5975 GB, free: 13.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.4094, allocations: 2.344 kB / 0.5975 GB, free: 13.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009958/0.4104, allocations: 1.347 MB / 0.5988 GB, free: 12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.4105, allocations: 81.61 kB / 0.5989 GB, free: 11.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.4117, allocations: 1.851 MB / 0.6007 GB, free: 10.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.4118, allocations: 30.86 kB / 0.6008 GB, free: 9.973 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.412, allocations: 473.3 kB / 0.6012 GB, free: 9.504 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.4121, allocations: 19.8 kB / 0.6012 GB, free: 9.484 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.4123, allocations: 357.1 kB / 0.6016 GB, free: 9.133 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.344e-05/0.4124, allocations: 305.1 kB / 0.6019 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000874/0.4132, allocations: 1.511 MB / 0.6033 GB, free: 7.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009406/0.4142, allocations: 1.647 MB / 0.6049 GB, free: 5.664 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006134/0.4203, allocations: 3.691 MB / 0.6085 GB, free: 1.883 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4204, allocations: 0 / 0.6085 GB, free: 1.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004055/0.4244, allocations: 4.323 MB / 0.6128 GB, free: 13.53 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.4245, allocations: 8 kB / 0.6128 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.4245, allocations: 0.9688 kB / 0.6128 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4245, allocations: 0 / 0.6128 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.4247, allocations: 20.52 kB / 0.6128 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.4247, allocations: 4 kB / 0.6128 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.4252, allocations: 225.9 kB / 0.613 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.4253, allocations: 27.97 kB / 0.613 GB, free: 13.25 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.0004262/0.4257, allocations: 371.8 kB / 0.6134 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.731e-05/0.4258, allocations: 118 kB / 0.6135 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.4262, allocations: 146.6 kB / 0.6136 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4262, allocations: 0 / 0.6136 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4262, allocations: 4 kB / 0.6136 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4262, allocations: 4 kB / 0.6137 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.4268, allocations: 0.6802 MB / 0.6143 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4268, allocations: 4 kB / 0.6143 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.4269, allocations: 13.33 kB / 0.6143 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.4269, allocations: 0 / 0.6143 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4269, allocations: 4 kB / 0.6143 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4269, allocations: 0 / 0.6143 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4269, allocations: 1.531 kB / 0.6143 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.4279, allocations: 1.062 MB / 0.6154 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.4281, allocations: 195.1 kB / 0.6156 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.4282, allocations: 8 kB / 0.6156 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.4284, allocations: 4.609 kB / 0.6156 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.4284, allocations: 4 kB / 0.6156 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/0.4285, allocations: 18 kB / 0.6156 GB, free: 10.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001155/0.4297, allocations: 1.104 MB / 0.6167 GB, free: 9.391 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4297, allocations: 4 kB / 0.6167 GB, free: 9.387 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001011/0.4307, allocations: 427.9 kB / 0.6171 GB, free: 8.969 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.001118/0.4318, allocations: 486.3 kB / 0.6175 GB, free: 8.492 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002305/0.4341, allocations: 2.654 MB / 0.6201 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4341, allocations: 0 / 0.6201 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.4345, allocations: 333.4 kB / 0.6205 GB, free: 5.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.4349, allocations: 54.47 kB / 0.6205 GB, free: 5.449 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.4378, allocations: 2.568 MB / 0.623 GB, free: 2.863 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006878/0.4385, allocations: 1.153 MB / 0.6241 GB, free: 1.684 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.4386, allocations: 28.56 kB / 0.6242 GB, free: 1.652 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.4387, allocations: 23.42 kB / 0.6242 GB, free: 1.629 MB / 462.1 MB Notification: Performance of SimCode: time 2.064e-06/0.4387, allocations: 0 / 0.6242 GB, free: 1.629 MB / 462.1 MB Notification: Performance of Templates: time 0.01874/0.4575, allocations: 10.1 MB / 0.6341 GB, free: 7.562 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)