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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00514/0.00514, allocations: 169.7 kB / 16.27 MB, free: 6.648 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7261/0.7261, allocations: 132.3 MB / 423.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003452, allocations: 9.75 kB / 0.5041 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3826, allocations: 81.58 MB / 0.5838 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001745/0.3844, allocations: 1.447 MB / 0.5852 GB, free: 3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005631/0.3901, allocations: 4.309 MB / 0.5894 GB, free: 68 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.3901, allocations: 1.094 kB / 0.5894 GB, free: 68 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.3913, allocations: 359.8 kB / 0.5898 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.3914, allocations: 45.38 kB / 0.5898 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.3939, allocations: 0.7723 MB / 0.5906 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.3942, allocations: 196 kB / 0.5907 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.3942, allocations: 9.766 kB / 0.5908 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.731e-05/0.3943, allocations: 50.69 kB / 0.5908 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.3946, allocations: 173 kB / 0.591 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.3946, allocations: 14.22 kB / 0.591 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.397, allocations: 1.401 MB / 0.5923 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.3973, allocations: 275.7 kB / 0.5926 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.3976, allocations: 327.4 kB / 0.5929 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.3998, allocations: 1.541 MB / 0.5944 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3998, allocations: 1.953 kB / 0.5944 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3998, allocations: 0 / 0.5944 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3999, allocations: 0 / 0.5944 GB, free: 14.21 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.0104/0.4103, allocations: 1.214 MB / 0.5956 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4103, allocations: 9.672 kB / 0.5956 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.4104, allocations: 38.5 kB / 0.5957 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.4107, allocations: 93.16 kB / 0.5957 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.4111, allocations: 405.6 kB / 0.5961 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.4111, allocations: 2.062 kB / 0.5961 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.4112, allocations: 12.31 kB / 0.5961 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.4116, allocations: 394.8 kB / 0.5965 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.4116, allocations: 5 kB / 0.5965 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4116, allocations: 0 / 0.5965 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4116, allocations: 5.391 kB / 0.5965 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.412, allocations: 434.4 kB / 0.5969 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005844/0.4126, allocations: 0.662 MB / 0.5976 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.4131, allocations: 0.5661 MB / 0.5981 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.4134, allocations: 336.4 kB / 0.5985 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009378/0.4144, allocations: 1.042 MB / 0.5995 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003926/0.4148, allocations: 403.1 kB / 0.5999 GB, free: 10.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4148, allocations: 0 / 0.5999 GB, free: 10.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001306/0.4161, allocations: 1.294 MB / 0.6011 GB, free: 10.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.4162, allocations: 83.39 kB / 0.6012 GB, free: 10.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.4174, allocations: 1.281 MB / 0.6025 GB, free: 9.516 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.4175, allocations: 28.48 kB / 0.6025 GB, free: 9.484 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.4177, allocations: 291.3 kB / 0.6028 GB, free: 9.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.4177, allocations: 23.77 kB / 0.6028 GB, free: 9.207 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.4179, allocations: 292.9 kB / 0.6031 GB, free: 9.051 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.418, allocations: 317.4 kB / 0.6034 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.4192, allocations: 1.358 MB / 0.6047 GB, free: 8.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.4206, allocations: 1.494 MB / 0.6062 GB, free: 7.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006637/0.4272, allocations: 3.545 MB / 0.6096 GB, free: 5.371 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.4272, allocations: 3.938 kB / 0.6096 GB, free: 5.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003708/0.4309, allocations: 3.965 MB / 0.6135 GB, free: 1.367 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.431, allocations: 6.656 kB / 0.6135 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.431, allocations: 4 kB / 0.6135 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.431, allocations: 0 / 0.6135 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.4311, allocations: 27.95 kB / 0.6135 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4311, allocations: 3.938 kB / 0.6135 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.4317, allocations: 228.3 kB / 0.6138 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.4318, allocations: 23.98 kB / 0.6138 GB, free: 1.078 MB / 446.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.000293/0.4321, allocations: 249.6 kB / 0.614 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.4321, allocations: 70.69 kB / 0.6141 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.4324, allocations: 83.66 kB / 0.6142 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4324, allocations: 0 / 0.6142 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4324, allocations: 4 kB / 0.6142 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4324, allocations: 3.984 kB / 0.6142 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.4328, allocations: 0.5099 MB / 0.6147 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4329, allocations: 0 / 0.6147 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.4329, allocations: 11.98 kB / 0.6147 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4329, allocations: 0 / 0.6147 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.433, allocations: 4 kB / 0.6147 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.433, allocations: 8.016 kB / 0.6147 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.433, allocations: 0 / 0.6147 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/0.4338, allocations: 1.006 MB / 0.6157 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.4339, allocations: 163.6 kB / 0.6158 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.4339, allocations: 7.984 kB / 0.6158 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.4341, allocations: 8 kB / 0.6158 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.4341, allocations: 7.984 kB / 0.6159 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.4342, allocations: 15.92 kB / 0.6159 GB, free: 14.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006779/0.4348, allocations: 0.714 MB / 0.6166 GB, free: 14.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4349, allocations: 0 / 0.6166 GB, free: 14.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00133/0.4362, allocations: 403.9 kB / 0.617 GB, free: 13.71 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.00205/0.4382, allocations: 1.931 MB / 0.6188 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.4402, allocations: 2.499 MB / 0.6213 GB, free: 9.246 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4402, allocations: 0 / 0.6213 GB, free: 9.246 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.4405, allocations: 339.8 kB / 0.6216 GB, free: 8.914 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.4409, allocations: 53.55 kB / 0.6217 GB, free: 8.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.4543, allocations: 15.03 MB / 0.6363 GB, free: 9.668 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.4548, allocations: 0.9917 MB / 0.6373 GB, free: 8.652 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.4549, allocations: 37.42 kB / 0.6373 GB, free: 8.613 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.4552, allocations: 291.3 kB / 0.6376 GB, free: 8.332 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4553, allocations: 0 / 0.6376 GB, free: 8.332 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5289/0.9842, allocations: 19.07 MB / 0.6562 GB, free: 5.52 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003759/0.9846, allocations: 281.2 kB / 0.6565 GB, free: 5.141 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/3.838, allocations: 3 kB / 0.6565 GB, free: 5.141 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)