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_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-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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_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_dev_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.001284/0.001288, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001258/0.001258, allocations: 192.8 kB / 16.14 MB, free: 6.688 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8812/0.8812, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.12 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1474, allocations: 80.93 MB / 0.5838 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002555/0.15, allocations: 1.46 MB / 0.5853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004553/0.1546, allocations: 3.216 MB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.1546, allocations: 4 kB / 0.5884 GB, free: 184 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.1548, allocations: 11.92 kB / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.155, allocations: 27.84 kB / 0.5885 GB, free: 144 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.157, allocations: 0.7605 MB / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1571, allocations: 111.7 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.1572, allocations: 4 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.1573, allocations: 47.84 kB / 0.5894 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.1575, allocations: 152.9 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.1575, allocations: 16 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.1594, allocations: 1.392 MB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.1596, allocations: 263.8 kB / 0.5911 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.1599, allocations: 278.3 kB / 0.5914 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.1617, allocations: 1.469 MB / 0.5928 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1617, allocations: 0 / 0.5928 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1618, allocations: 0 / 0.5928 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.1618, allocations: 4 kB / 0.5928 GB, free: 11.65 MB / 0.4981 GB 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.007372/0.1691, allocations: 1.207 MB / 0.594 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1692, allocations: 8.031 kB / 0.594 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.1692, allocations: 38.73 kB / 0.5941 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.1696, allocations: 87.69 kB / 0.5941 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.17, allocations: 364.8 kB / 0.5945 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.17, allocations: 4.375 kB / 0.5945 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.1701, allocations: 7.938 kB / 0.5945 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.1705, allocations: 391.2 kB / 0.5949 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1705, allocations: 0 / 0.5949 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1705, allocations: 4 kB / 0.5949 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1705, allocations: 3.938 kB / 0.5949 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.1709, allocations: 439.7 kB / 0.5953 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.1715, allocations: 0.6325 MB / 0.5959 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.172, allocations: 0.5633 MB / 0.5965 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.1723, allocations: 337.7 kB / 0.5968 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009725/0.1733, allocations: 1.036 MB / 0.5978 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/0.1737, allocations: 408.9 kB / 0.5982 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.1737, allocations: 0 / 0.5982 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001268/0.175, allocations: 1.285 MB / 0.5994 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.175, allocations: 85.23 kB / 0.5995 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.1762, allocations: 1.202 MB / 0.6007 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.1762, allocations: 25.7 kB / 0.6007 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.1764, allocations: 265.4 kB / 0.601 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.1764, allocations: 23.7 kB / 0.601 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.1768, allocations: 343.6 kB / 0.6013 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1769, allocations: 318 kB / 0.6016 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.178, allocations: 1.365 MB / 0.603 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2468/0.4248, allocations: 1.499 MB / 0.6044 GB, free: 52.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005862/0.4307, allocations: 3.535 MB / 0.6079 GB, free: 50.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.4307, allocations: 3.75 kB / 0.6079 GB, free: 50.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002995/0.4337, allocations: 3.956 MB / 0.6117 GB, free: 48.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4338, allocations: 6.438 kB / 0.6118 GB, free: 48.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.4338, allocations: 4.75 kB / 0.6118 GB, free: 48.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4338, allocations: 3.719 kB / 0.6118 GB, free: 48.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.4339, allocations: 16.98 kB / 0.6118 GB, free: 48.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4339, allocations: 0.8438 kB / 0.6118 GB, free: 48.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.4343, allocations: 229.4 kB / 0.612 GB, free: 48.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.4343, allocations: 24.25 kB / 0.612 GB, free: 48.61 MB / 0.4981 GB 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.0002127/0.4346, allocations: 246.9 kB / 0.6123 GB, free: 48.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.4346, allocations: 63.53 kB / 0.6123 GB, free: 48.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.4349, allocations: 73.17 kB / 0.6124 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4349, allocations: 3.219 kB / 0.6124 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4349, allocations: 0 / 0.6124 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4349, allocations: 1.5 kB / 0.6124 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.4352, allocations: 0.4962 MB / 0.6129 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4352, allocations: 0 / 0.6129 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.4352, allocations: 9.125 kB / 0.6129 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4353, allocations: 0.7812 kB / 0.6129 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4353, allocations: 5.219 kB / 0.6129 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4353, allocations: 1.562 kB / 0.6129 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4353, allocations: 2.719 kB / 0.6129 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006462/0.4359, allocations: 1.003 MB / 0.6139 GB, free: 47.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.436, allocations: 151.6 kB / 0.614 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.4361, allocations: 2.469 kB / 0.614 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.4362, allocations: 5.938 kB / 0.614 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.4362, allocations: 6.5 kB / 0.614 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.4363, allocations: 15.05 kB / 0.614 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004997/0.4368, allocations: 0.6721 MB / 0.6147 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4368, allocations: 1.969 kB / 0.6147 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008919/0.4377, allocations: 395.2 kB / 0.6151 GB, free: 47.57 MB / 0.4981 GB 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.001776/0.4395, allocations: 1.92 MB / 0.617 GB, free: 46.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.441, allocations: 2.497 MB / 0.6194 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.441, allocations: 1.406 kB / 0.6194 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.4413, allocations: 344.6 kB / 0.6197 GB, free: 45.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4416, allocations: 35.55 kB / 0.6198 GB, free: 45.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.4534, allocations: 15.03 MB / 0.6344 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.4538, allocations: 0.9639 MB / 0.6354 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.4539, allocations: 34.34 kB / 0.6354 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.4542, allocations: 263.5 kB / 0.6357 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.4542, allocations: 0 / 0.6357 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.4887, allocations: 19.04 MB / 0.6543 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.4889, allocations: 280.6 kB / 0.6545 GB, free: 36.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.692, allocations: 5.125 kB / 0.6545 GB, free: 36.64 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)