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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 112.6 kB / 16.37 MB, free: 6 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.0009954/0.0009955, allocations: 196 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.281/1.281, 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.7788/0.7788, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 0.5068 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3206, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002622/0.3232, allocations: 1.727 MB / 0.5875 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.3279, allocations: 4.211 MB / 0.5916 GB, free: 20.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3281, allocations: 8.438 kB / 0.5916 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.3293, allocations: 364.7 kB / 0.592 GB, free: 20.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.3294, allocations: 68.5 kB / 0.592 GB, free: 20.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.3316, allocations: 0.9804 MB / 0.593 GB, free: 19.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.3318, allocations: 152.9 kB / 0.5931 GB, free: 19.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.3318, allocations: 9.562 kB / 0.5931 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.3319, allocations: 59.72 kB / 0.5932 GB, free: 18.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.3321, allocations: 161.6 kB / 0.5934 GB, free: 18.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.3321, allocations: 12 kB / 0.5934 GB, free: 18.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.3335, allocations: 1.369 MB / 0.5947 GB, free: 17.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.3336, allocations: 283.8 kB / 0.595 GB, free: 17.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.3338, allocations: 306.7 kB / 0.5953 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.335, allocations: 1.543 MB / 0.5968 GB, free: 15.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3351, allocations: 0.5625 kB / 0.5968 GB, free: 15.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3351, allocations: 3.281 kB / 0.5968 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.3351, allocations: 0 / 0.5968 GB, free: 15.3 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.007281/0.3424, allocations: 1.281 MB / 0.598 GB, free: 13.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3424, allocations: 9.109 kB / 0.598 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.3428, allocations: 96.47 kB / 0.5981 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.3432, allocations: 406 kB / 0.5985 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3432, allocations: 9.438 kB / 0.5985 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.3432, allocations: 8.125 kB / 0.5985 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.3436, allocations: 388.7 kB / 0.5989 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3436, allocations: 0 / 0.5989 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3436, allocations: 1.719 kB / 0.5989 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3436, allocations: 0 / 0.5989 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.3439, allocations: 447.1 kB / 0.5993 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.3444, allocations: 0.6573 MB / 0.6 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.3447, allocations: 0.5633 MB / 0.6005 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.345, allocations: 350.9 kB / 0.6009 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007354/0.3457, allocations: 1.019 MB / 0.6019 GB, free: 9.711 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.346, allocations: 406.9 kB / 0.6022 GB, free: 9.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.346, allocations: 0 / 0.6022 GB, free: 9.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009373/0.347, allocations: 1.298 MB / 0.6035 GB, free: 7.992 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.347, allocations: 79.08 kB / 0.6036 GB, free: 7.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008763/0.3479, allocations: 1.277 MB / 0.6048 GB, free: 6.609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3479, allocations: 33.7 kB / 0.6049 GB, free: 6.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3481, allocations: 277.4 kB / 0.6051 GB, free: 6.293 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.3481, allocations: 28.73 kB / 0.6052 GB, free: 6.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.3484, allocations: 347.5 kB / 0.6055 GB, free: 5.922 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.667e-05/0.3484, allocations: 319.5 kB / 0.6058 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007806/0.3492, allocations: 1.369 MB / 0.6071 GB, free: 4.234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.3501, allocations: 1.495 MB / 0.6086 GB, free: 2.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006058/0.3561, allocations: 3.54 MB / 0.612 GB, free: 15.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3561, allocations: 0 / 0.612 GB, free: 15.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003839/0.36, allocations: 3.971 MB / 0.6159 GB, free: 11.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.36, allocations: 7.938 kB / 0.6159 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.36, allocations: 4.312 kB / 0.6159 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3601, allocations: 0 / 0.6159 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3602, allocations: 19.98 kB / 0.616 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3602, allocations: 0.6875 kB / 0.616 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.3607, allocations: 234.6 kB / 0.6162 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.3608, allocations: 31.95 kB / 0.6162 GB, free: 10.8 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.0002943/0.361, allocations: 250.4 kB / 0.6164 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.3611, allocations: 70.69 kB / 0.6165 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.3614, allocations: 81.31 kB / 0.6166 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3614, allocations: 4 kB / 0.6166 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3614, allocations: 0.625 kB / 0.6166 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3614, allocations: 5.562 kB / 0.6166 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.3618, allocations: 0.5138 MB / 0.6171 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3619, allocations: 4 kB / 0.6171 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.54e-05/0.3619, allocations: 4 kB / 0.6171 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3619, allocations: 0.75 kB / 0.6171 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.362, allocations: 11.98 kB / 0.6171 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.362, allocations: 1.406 kB / 0.6171 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.362, allocations: 0 / 0.6171 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.3628, allocations: 1.004 MB / 0.6181 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.3629, allocations: 161.3 kB / 0.6183 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.363, allocations: 4 kB / 0.6183 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3631, allocations: 7.984 kB / 0.6183 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.3632, allocations: 5.25 kB / 0.6183 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.3632, allocations: 15.97 kB / 0.6183 GB, free: 8.578 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007098/0.364, allocations: 0.7193 MB / 0.619 GB, free: 7.855 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.364, allocations: 0 / 0.619 GB, free: 7.855 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009783/0.365, allocations: 403.8 kB / 0.6194 GB, free: 7.461 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.00103/0.366, allocations: 493.1 kB / 0.6198 GB, free: 6.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.3681, allocations: 2.488 MB / 0.6223 GB, free: 4.484 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3681, allocations: 0.5938 kB / 0.6223 GB, free: 4.484 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.3685, allocations: 340.7 kB / 0.6226 GB, free: 4.152 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3689, allocations: 65.19 kB / 0.6227 GB, free: 4.094 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.3709, allocations: 1.858 MB / 0.6245 GB, free: 2.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.3714, allocations: 0.9856 MB / 0.6254 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.3715, allocations: 37.2 kB / 0.6255 GB, free: 1.168 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.601e-05/0.3716, allocations: 23.42 kB / 0.6255 GB, free: 1.145 MB / 462.1 MB Notification: Performance of SimCode: time 1.764e-06/0.3716, allocations: 4 kB / 0.6255 GB, free: 1.141 MB / 462.1 MB Notification: Performance of Templates: time 0.01677/0.3884, allocations: 10.16 MB / 0.6354 GB, free: 7.035 MB / 478.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)