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.008285/0.008285, allocations: 103.8 kB / 15.74 MB, free: 6.055 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.002123/0.002123, allocations: 194.3 kB / 16.68 MB, free: 5.965 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8044/0.8044, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 57.44 kB / 0.5852 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1546, allocations: 80.93 MB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002305/0.1569, allocations: 1.402 MB / 0.6656 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004176/0.1611, allocations: 3.024 MB / 0.6685 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.1613, allocations: 0 / 0.6685 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.1615, allocations: 11.86 kB / 0.6686 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.1617, allocations: 31.84 kB / 0.6686 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.164, allocations: 0.9924 MB / 0.6695 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1642, allocations: 87.67 kB / 0.6696 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.1642, allocations: 4 kB / 0.6696 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.1643, allocations: 35.91 kB / 0.6697 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1645, allocations: 147.6 kB / 0.6698 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.1645, allocations: 16 kB / 0.6698 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.1664, allocations: 1.377 MB / 0.6712 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.1666, allocations: 263.8 kB / 0.6714 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.1668, allocations: 274.3 kB / 0.6717 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.1685, allocations: 1.477 MB / 0.6731 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1685, allocations: 0 / 0.6731 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1685, allocations: 0 / 0.6731 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.1685, allocations: 0 / 0.6731 GB, free: 13.09 MB / 0.5137 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.007268/0.1758, allocations: 1.214 MB / 0.6743 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1759, allocations: 8.031 kB / 0.6743 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.1759, allocations: 38.73 kB / 0.6744 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.1763, allocations: 91.69 kB / 0.6744 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1767, allocations: 356.9 kB / 0.6748 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1767, allocations: 12.12 kB / 0.6748 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.1768, allocations: 4 kB / 0.6748 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.1772, allocations: 395.2 kB / 0.6752 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1772, allocations: 0 / 0.6752 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1772, allocations: 0 / 0.6752 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1772, allocations: 0 / 0.6752 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.1776, allocations: 435.7 kB / 0.6756 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.1782, allocations: 0.6325 MB / 0.6762 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.1787, allocations: 0.5673 MB / 0.6768 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.179, allocations: 333.6 kB / 0.6771 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009688/0.18, allocations: 1.032 MB / 0.6781 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003782/0.1804, allocations: 408.9 kB / 0.6785 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.1804, allocations: 0 / 0.6785 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001277/0.1817, allocations: 1.289 MB / 0.6797 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.1817, allocations: 85.09 kB / 0.6798 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.1828, allocations: 1.202 MB / 0.681 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.1828, allocations: 33.7 kB / 0.681 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.183, allocations: 261.4 kB / 0.6813 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.1831, allocations: 27.67 kB / 0.6813 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.1834, allocations: 347.5 kB / 0.6816 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.1835, allocations: 310 kB / 0.6819 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.1846, allocations: 1.365 MB / 0.6833 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.1858, allocations: 1.496 MB / 0.6847 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006704/0.1926, allocations: 3.538 MB / 0.6882 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.1926, allocations: 4 kB / 0.6882 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004298/0.1969, allocations: 3.961 MB / 0.6921 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.197, allocations: 4 kB / 0.6921 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.197, allocations: 4 kB / 0.6921 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.197, allocations: 0 / 0.6921 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.1971, allocations: 15.98 kB / 0.6921 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.1972, allocations: 0 / 0.6921 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.1976, allocations: 240.3 kB / 0.6923 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.1977, allocations: 23.98 kB / 0.6923 GB, free: 8.781 MB / 0.5294 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.0002713/0.198, allocations: 245.5 kB / 0.6926 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.198, allocations: 62.78 kB / 0.6926 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.1983, allocations: 74.89 kB / 0.6927 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1983, allocations: 0 / 0.6927 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1983, allocations: 4.031 kB / 0.6927 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1983, allocations: 4 kB / 0.6927 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.1988, allocations: 0.4966 MB / 0.6932 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1988, allocations: 0 / 0.6932 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.1988, allocations: 7.938 kB / 0.6932 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1988, allocations: 0 / 0.6932 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1989, allocations: 7.984 kB / 0.6932 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1989, allocations: 0 / 0.6932 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1989, allocations: 0 / 0.6932 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009062/0.1998, allocations: 1.001 MB / 0.6942 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/0.1999, allocations: 151.9 kB / 0.6943 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.1999, allocations: 4 kB / 0.6943 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.2001, allocations: 0 / 0.6943 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.2001, allocations: 7.984 kB / 0.6943 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.2002, allocations: 23.92 kB / 0.6944 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006326/0.2008, allocations: 0.6648 MB / 0.695 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2008, allocations: 0 / 0.695 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001033/0.2019, allocations: 391.9 kB / 0.6954 GB, free: 5.539 MB / 0.5294 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.002208/0.2041, allocations: 1.921 MB / 0.6973 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.2062, allocations: 2.503 MB / 0.6997 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2062, allocations: 3.938 kB / 0.6997 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.2066, allocations: 343.7 kB / 0.7 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.2069, allocations: 29.44 kB / 0.7001 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.2209, allocations: 15.03 MB / 0.7147 GB, free: 1.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.2215, allocations: 0.9679 MB / 0.7157 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.2216, allocations: 32.55 kB / 0.7157 GB, free: 488 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.2219, allocations: 263.3 kB / 0.716 GB, free: 224 kB / 0.545 GB Notification: Performance of SimCode: time 7.52e-07/0.2219, allocations: 0 / 0.716 GB, free: 224 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/0.2608, allocations: 19.59 MB / 0.7351 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.894/10.15, allocations: 15.69 kB / 0.7351 GB, free: 12.79 MB / 0.5762 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)