Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001151/0.001151, allocations: 112.6 kB / 16.37 MB, free: 5.949 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.001168/0.001168, allocations: 199 kB / 17.31 MB, free: 5.574 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7613/0.7613, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.337, allocations: 80.19 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002626/0.3397, allocations: 1.725 MB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00471/0.3444, allocations: 4.233 MB / 0.5874 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.3445, allocations: 2 kB / 0.5874 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.3456, allocations: 364.6 kB / 0.5877 GB, free: 22.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.969e-05/0.3457, allocations: 57.14 kB / 0.5878 GB, free: 22.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.348, allocations: 0.9864 MB / 0.5887 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.3482, allocations: 148.9 kB / 0.5889 GB, free: 22.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.3483, allocations: 16.3 kB / 0.5889 GB, free: 22.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.011e-05/0.3484, allocations: 51.56 kB / 0.5889 GB, free: 22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.3486, allocations: 162.3 kB / 0.5891 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.3486, allocations: 15.84 kB / 0.5891 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.3503, allocations: 1.379 MB / 0.5904 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.3504, allocations: 276.5 kB / 0.5907 GB, free: 20.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.3506, allocations: 308.4 kB / 0.591 GB, free: 20.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.3518, allocations: 1.547 MB / 0.5925 GB, free: 18.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3519, allocations: 0 / 0.5925 GB, free: 18.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3519, allocations: 0 / 0.5925 GB, free: 18.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3519, allocations: 0 / 0.5925 GB, free: 18.95 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.007775/0.3597, allocations: 1.273 MB / 0.5938 GB, free: 17.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3597, allocations: 18.27 kB / 0.5938 GB, free: 17.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.36, allocations: 94.34 kB / 0.5939 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.3605, allocations: 402 kB / 0.5942 GB, free: 17.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3605, allocations: 4.375 kB / 0.5943 GB, free: 17.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.3605, allocations: 12.12 kB / 0.5943 GB, free: 17.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.3609, allocations: 385.5 kB / 0.5946 GB, free: 16.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3609, allocations: 0 / 0.5946 GB, free: 16.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3609, allocations: 7.984 kB / 0.5946 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3609, allocations: 0 / 0.5946 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.3612, allocations: 438.3 kB / 0.5951 GB, free: 16.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.3616, allocations: 0.6651 MB / 0.5957 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.362, allocations: 0.5646 MB / 0.5963 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.3622, allocations: 338.6 kB / 0.5966 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007147/0.3629, allocations: 1.026 MB / 0.5976 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.3632, allocations: 412.3 kB / 0.598 GB, free: 12.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.3632, allocations: 0 / 0.598 GB, free: 12.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.00101/0.3643, allocations: 1.294 MB / 0.5992 GB, free: 11.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.3643, allocations: 93.73 kB / 0.5993 GB, free: 11.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.3652, allocations: 1.275 MB / 0.6006 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.3652, allocations: 29.7 kB / 0.6006 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3654, allocations: 281.4 kB / 0.6009 GB, free: 9.934 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.3654, allocations: 27.64 kB / 0.6009 GB, free: 9.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.3656, allocations: 353.1 kB / 0.6012 GB, free: 9.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.3657, allocations: 318 kB / 0.6015 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008132/0.3665, allocations: 1.362 MB / 0.6029 GB, free: 7.879 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008276/0.3673, allocations: 1.491 MB / 0.6043 GB, free: 6.379 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/0.3734, allocations: 3.542 MB / 0.6078 GB, free: 2.746 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3734, allocations: 1.844 kB / 0.6078 GB, free: 2.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003311/0.3767, allocations: 3.969 MB / 0.6117 GB, free: 14.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3767, allocations: 4 kB / 0.6117 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.3767, allocations: 1.562 kB / 0.6117 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3768, allocations: 7.938 kB / 0.6117 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3769, allocations: 12 kB / 0.6117 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3769, allocations: 5.078 kB / 0.6117 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.3774, allocations: 236.2 kB / 0.6119 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.3774, allocations: 24.94 kB / 0.6119 GB, free: 14.45 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.0002861/0.3777, allocations: 246.7 kB / 0.6122 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.3778, allocations: 74.69 kB / 0.6122 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.3781, allocations: 80.69 kB / 0.6123 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3781, allocations: 2.312 kB / 0.6123 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3781, allocations: 0 / 0.6123 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3781, allocations: 4 kB / 0.6123 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.3785, allocations: 0.5099 MB / 0.6128 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3786, allocations: 0 / 0.6128 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.3786, allocations: 12.61 kB / 0.6128 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3786, allocations: 0 / 0.6128 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3787, allocations: 8.688 kB / 0.6128 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3787, allocations: 4 kB / 0.6128 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3787, allocations: 0.5312 kB / 0.6128 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/0.3796, allocations: 1.013 MB / 0.6138 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.3797, allocations: 155.8 kB / 0.614 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.3798, allocations: 7.984 kB / 0.614 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.3799, allocations: 4 kB / 0.614 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.38, allocations: 8.516 kB / 0.614 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.38, allocations: 12.7 kB / 0.614 GB, free: 12.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007119/0.3807, allocations: 0.7193 MB / 0.6147 GB, free: 11.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.362e-06/0.3808, allocations: 0 / 0.6147 GB, free: 11.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009632/0.3817, allocations: 407.8 kB / 0.6151 GB, free: 11.11 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.001052/0.3828, allocations: 482.7 kB / 0.6156 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002082/0.3849, allocations: 2.496 MB / 0.618 GB, free: 8.129 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3849, allocations: 5.75 kB / 0.618 GB, free: 8.125 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.3852, allocations: 339.8 kB / 0.6183 GB, free: 7.793 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3856, allocations: 57.86 kB / 0.6184 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.3877, allocations: 1.854 MB / 0.6202 GB, free: 5.863 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.3882, allocations: 0.9874 MB / 0.6212 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.3883, allocations: 33.06 kB / 0.6212 GB, free: 4.832 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3884, allocations: 35.41 kB / 0.6212 GB, free: 4.797 MB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3884, allocations: 3.938 kB / 0.6212 GB, free: 4.793 MB / 462.1 MB Notification: Performance of Templates: time 0.01744/0.4059, allocations: 10.17 MB / 0.6312 GB, free: 10.69 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)