Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.001709/0.001709, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7624/0.7624, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.48 kB / 0.5019 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3459, allocations: 80.2 MB / 0.5802 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002623/0.3485, allocations: 1.397 MB / 0.5816 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004491/0.3531, allocations: 3.028 MB / 0.5846 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.3531, allocations: 0 / 0.5846 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.697e-05/0.3533, allocations: 12.55 kB / 0.5846 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.3535, allocations: 24.31 kB / 0.5846 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.3563, allocations: 1.003 MB / 0.5856 GB, free: 1.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.3564, allocations: 86.83 kB / 0.5857 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.3565, allocations: 3.5 kB / 0.5857 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.3565, allocations: 41.77 kB / 0.5857 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.3568, allocations: 145.6 kB / 0.5858 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.3568, allocations: 17.16 kB / 0.5859 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.3592, allocations: 1.365 MB / 0.5872 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.3594, allocations: 264.9 kB / 0.5874 GB, free: 480 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.3597, allocations: 279.4 kB / 0.5877 GB, free: 296 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.3623, allocations: 1.465 MB / 0.5891 GB, free: 15.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3623, allocations: 0 / 0.5891 GB, free: 15.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3623, allocations: 0.875 kB / 0.5891 GB, free: 15.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.3623, allocations: 0 / 0.5891 GB, free: 15.82 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.0111/0.3734, allocations: 1.218 MB / 0.5903 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3735, allocations: 9.781 kB / 0.5903 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.3735, allocations: 32.84 kB / 0.5904 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004201/0.3739, allocations: 86.31 kB / 0.5905 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.3744, allocations: 360.9 kB / 0.5908 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.3744, allocations: 3.312 kB / 0.5908 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.3745, allocations: 9.812 kB / 0.5908 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.375, allocations: 397 kB / 0.5912 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.375, allocations: 0 / 0.5912 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.375, allocations: 1.812 kB / 0.5912 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.375, allocations: 1.844 kB / 0.5912 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.3755, allocations: 431.4 kB / 0.5916 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.3762, allocations: 0.6401 MB / 0.5922 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.3767, allocations: 0.5653 MB / 0.5928 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.3771, allocations: 333.8 kB / 0.5931 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.3781, allocations: 1.036 MB / 0.5941 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.3785, allocations: 401.5 kB / 0.5945 GB, free: 12.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.3785, allocations: 1.344 kB / 0.5945 GB, free: 12.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001306/0.3798, allocations: 1.287 MB / 0.5958 GB, free: 12.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.3799, allocations: 88.75 kB / 0.5958 GB, free: 12.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.3812, allocations: 1.2 MB / 0.597 GB, free: 11.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.3812, allocations: 32.06 kB / 0.597 GB, free: 11.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.3815, allocations: 260.9 kB / 0.5973 GB, free: 11.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.3815, allocations: 18.31 kB / 0.5973 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/0.3819, allocations: 353.3 kB / 0.5976 GB, free: 11.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.382, allocations: 315.2 kB / 0.5979 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.3833, allocations: 1.359 MB / 0.5993 GB, free: 10.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.3846, allocations: 1.492 MB / 0.6007 GB, free: 9.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007238/0.3919, allocations: 3.546 MB / 0.6042 GB, free: 7.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3919, allocations: 3.938 kB / 0.6042 GB, free: 7.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004203/0.3961, allocations: 3.964 MB / 0.6081 GB, free: 4.312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3961, allocations: 8 kB / 0.6081 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3962, allocations: 0 / 0.6081 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3962, allocations: 0 / 0.6081 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3963, allocations: 20.02 kB / 0.6081 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3963, allocations: 4 kB / 0.6081 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.3969, allocations: 228.3 kB / 0.6083 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.3969, allocations: 27.98 kB / 0.6083 GB, free: 4.027 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.0002813/0.3972, allocations: 241.5 kB / 0.6086 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.3973, allocations: 62.78 kB / 0.6086 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.3976, allocations: 74.91 kB / 0.6087 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3976, allocations: 3.984 kB / 0.6087 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3976, allocations: 4 kB / 0.6087 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3976, allocations: 0 / 0.6087 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.3981, allocations: 0.489 MB / 0.6092 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3981, allocations: 0 / 0.6092 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.3981, allocations: 8 kB / 0.6092 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3982, allocations: 4 kB / 0.6092 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3982, allocations: 3.984 kB / 0.6092 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.3982, allocations: 7.969 kB / 0.6092 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3982, allocations: 4 kB / 0.6092 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.399, allocations: 0.9899 MB / 0.6102 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3991, allocations: 151.9 kB / 0.6103 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.3992, allocations: 8 kB / 0.6103 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.3994, allocations: 8 kB / 0.6103 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.3994, allocations: 11.97 kB / 0.6103 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.3994, allocations: 7.984 kB / 0.6104 GB, free: 1.852 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006684/0.4001, allocations: 0.6687 MB / 0.611 GB, free: 1.176 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4001, allocations: 0 / 0.611 GB, free: 1.176 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001291/0.4014, allocations: 395.8 kB / 0.6114 GB, free: 0.7891 MB / 446.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.002636/0.4041, allocations: 1.928 MB / 0.6133 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.4061, allocations: 2.502 MB / 0.6157 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4061, allocations: 0 / 0.6157 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.4064, allocations: 343.7 kB / 0.616 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.4066, allocations: 32.44 kB / 0.6161 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.4194, allocations: 14.93 MB / 0.6307 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.4199, allocations: 0.9601 MB / 0.6316 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.42, allocations: 32.56 kB / 0.6316 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.4203, allocations: 267.3 kB / 0.6319 GB, free: 11.56 MB / 478.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4203, allocations: 4 kB / 0.6319 GB, free: 11.56 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2405/0.6608, allocations: 19.4 MB / 0.6508 GB, free: 8.332 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/9.205, allocations: 17.84 kB / 0.6509 GB, free: 8.32 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)