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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.001231/0.001231, allocations: 108 kB / 15.61 MB, free: 152 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.001178/0.001178, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7896/0.7896, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002019, allocations: 64.3 kB / 0.5019 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3684, allocations: 80.19 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002173/0.3706, allocations: 1.397 MB / 0.5816 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003833/0.3745, allocations: 3.029 MB / 0.5846 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.3746, allocations: 0 / 0.5846 GB, free: 1.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.192e-05/0.3747, allocations: 7.719 kB / 0.5846 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.3749, allocations: 34.03 kB / 0.5846 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.3773, allocations: 1.006 MB / 0.5856 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3774, allocations: 82.19 kB / 0.5857 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.3774, allocations: 5.25 kB / 0.5857 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.3775, allocations: 40.92 kB / 0.5857 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.3777, allocations: 159.2 kB / 0.5858 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.3778, allocations: 13.34 kB / 0.5859 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.3798, allocations: 1.376 MB / 0.5872 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006905/0.3805, allocations: 0.6823 MB / 0.5879 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.3808, allocations: 446.3 kB / 0.5883 GB, free: 220 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.3832, allocations: 1.766 MB / 0.59 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3832, allocations: 4 kB / 0.59 GB, free: 15.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3832, allocations: 3.938 kB / 0.59 GB, free: 15.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.3832, allocations: 0.9688 kB / 0.59 GB, free: 15.61 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.01142/0.3946, allocations: 1.692 MB / 0.5917 GB, free: 14.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3947, allocations: 9.531 kB / 0.5917 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.3947, allocations: 37.55 kB / 0.5917 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.3952, allocations: 145.3 kB / 0.5919 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.3958, allocations: 0.5249 MB / 0.5924 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3958, allocations: 2.812 kB / 0.5924 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.3958, allocations: 9.875 kB / 0.5924 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.3963, allocations: 401.1 kB / 0.5928 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3963, allocations: 0 / 0.5928 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3963, allocations: 0 / 0.5928 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3963, allocations: 1.781 kB / 0.5928 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.3968, allocations: 434.1 kB / 0.5932 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/0.3976, allocations: 0.8018 MB / 0.594 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.3982, allocations: 0.5665 MB / 0.5945 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.3985, allocations: 336.3 kB / 0.5948 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.3995, allocations: 1.031 MB / 0.5959 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003822/0.3999, allocations: 407.1 kB / 0.5962 GB, free: 11.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.3999, allocations: 0 / 0.5962 GB, free: 11.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001407/0.4013, allocations: 1.342 MB / 0.5976 GB, free: 11.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.4013, allocations: 80.11 kB / 0.5976 GB, free: 11.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.4033, allocations: 1.845 MB / 0.5994 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.4033, allocations: 43.72 kB / 0.5995 GB, free: 10.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.4037, allocations: 471.8 kB / 0.5999 GB, free: 9.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.4037, allocations: 19.27 kB / 0.5999 GB, free: 9.746 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/0.4041, allocations: 356.4 kB / 0.6003 GB, free: 9.574 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.4041, allocations: 302.5 kB / 0.6006 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.4055, allocations: 1.514 MB / 0.602 GB, free: 8.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.4069, allocations: 1.641 MB / 0.6037 GB, free: 7.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007212/0.4142, allocations: 3.697 MB / 0.6073 GB, free: 5.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4142, allocations: 3.938 kB / 0.6073 GB, free: 5.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004258/0.4185, allocations: 4.312 MB / 0.6115 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4185, allocations: 8.031 kB / 0.6115 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.4185, allocations: 0 / 0.6115 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4185, allocations: 4 kB / 0.6115 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.4187, allocations: 19.92 kB / 0.6115 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4187, allocations: 0 / 0.6115 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007494/0.4194, allocations: 232.3 kB / 0.6117 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.4195, allocations: 23.98 kB / 0.6117 GB, free: 0.5312 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.0005113/0.42, allocations: 371 kB / 0.6121 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.4201, allocations: 122 kB / 0.6122 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.4205, allocations: 145 kB / 0.6124 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4205, allocations: 0 / 0.6124 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4205, allocations: 4 kB / 0.6124 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4205, allocations: 0 / 0.6124 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006332/0.4211, allocations: 0.6833 MB / 0.613 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4211, allocations: 0 / 0.613 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.4212, allocations: 12.02 kB / 0.613 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4212, allocations: 4 kB / 0.613 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4213, allocations: 4 kB / 0.613 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4213, allocations: 0 / 0.613 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4213, allocations: 0 / 0.613 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008876/0.4222, allocations: 1.063 MB / 0.6141 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.4223, allocations: 199.1 kB / 0.6143 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.4224, allocations: 0 / 0.6143 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.4226, allocations: 11.98 kB / 0.6143 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.4227, allocations: 11.97 kB / 0.6143 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.4227, allocations: 7.984 kB / 0.6143 GB, free: 13.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.4239, allocations: 1.104 MB / 0.6154 GB, free: 12.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.4239, allocations: 0 / 0.6154 GB, free: 12.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00143/0.4253, allocations: 439.8 kB / 0.6158 GB, free: 12.23 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.002247/0.4276, allocations: 1.974 MB / 0.6177 GB, free: 10.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.4299, allocations: 2.653 MB / 0.6203 GB, free: 7.562 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4299, allocations: 0 / 0.6203 GB, free: 7.562 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.4302, allocations: 344.3 kB / 0.6207 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.4307, allocations: 50.53 kB / 0.6207 GB, free: 7.172 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2837/0.7144, allocations: 36.42 MB / 0.6563 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/0.7152, allocations: 1.161 MB / 0.6574 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.7154, allocations: 28.56 kB / 0.6574 GB, free: 1.301 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/0.7158, allocations: 431.3 kB / 0.6578 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.7158, allocations: 4 kB / 0.6578 GB, free: 0.875 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2655/0.9814, allocations: 59.73 MB / 0.7162 GB, free: 5.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.939/9.92, allocations: 12.62 kB / 0.7162 GB, free: 5.262 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)