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.001347/0.001347, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001195/0.001195, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8953/0.8953, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.88 kB / 0.505 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1524, allocations: 80.94 MB / 0.584 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00253/0.155, allocations: 1.454 MB / 0.5855 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004403/0.1594, allocations: 3.036 MB / 0.5884 GB, free: 240 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.1595, allocations: 0 / 0.5884 GB, free: 240 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1596, allocations: 7.875 kB / 0.5884 GB, free: 232 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1598, allocations: 27.89 kB / 0.5885 GB, free: 204 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.1624, allocations: 0.8858 MB / 0.5893 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1625, allocations: 83.69 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.1626, allocations: 7.984 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.922e-05/0.1627, allocations: 35.86 kB / 0.5894 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.1629, allocations: 157 kB / 0.5896 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.163, allocations: 15.94 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.1649, allocations: 1.412 MB / 0.591 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.1651, allocations: 267.8 kB / 0.5912 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.1653, allocations: 270.3 kB / 0.5915 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.1671, allocations: 1.477 MB / 0.5929 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1672, allocations: 3.938 kB / 0.593 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1672, allocations: 0 / 0.593 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.1672, allocations: 0 / 0.593 GB, free: 11.59 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.008438/0.1756, allocations: 1.222 MB / 0.5941 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1757, allocations: 8.031 kB / 0.5942 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.1757, allocations: 30.75 kB / 0.5942 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/0.1761, allocations: 83.69 kB / 0.5943 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.1765, allocations: 360.9 kB / 0.5946 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1765, allocations: 384 / 0.5946 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.1765, allocations: 15.92 kB / 0.5946 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.1769, allocations: 395.1 kB / 0.595 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.177, allocations: 4 kB / 0.595 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.177, allocations: 0 / 0.595 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.177, allocations: 0 / 0.595 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.1774, allocations: 435.7 kB / 0.5954 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.178, allocations: 0.6325 MB / 0.596 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.1785, allocations: 0.5671 MB / 0.5966 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.1787, allocations: 341.6 kB / 0.5969 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000926/0.1797, allocations: 1.028 MB / 0.5979 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.1801, allocations: 404.8 kB / 0.5983 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.1801, allocations: 0 / 0.5983 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001212/0.1813, allocations: 1.289 MB / 0.5996 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.1814, allocations: 85.09 kB / 0.5996 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.1824, allocations: 1.202 MB / 0.6008 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.1825, allocations: 29.7 kB / 0.6008 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.1827, allocations: 257.4 kB / 0.6011 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.1827, allocations: 31.58 kB / 0.6011 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/0.183, allocations: 351.7 kB / 0.6015 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.1831, allocations: 310 kB / 0.6018 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.1842, allocations: 1.357 MB / 0.6031 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2512/0.4354, allocations: 1.49 MB / 0.6045 GB, free: 52.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006267/0.4417, allocations: 3.543 MB / 0.608 GB, free: 50.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4418, allocations: 3.75 kB / 0.608 GB, free: 50.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003165/0.4449, allocations: 3.96 MB / 0.6119 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.445, allocations: 3.219 kB / 0.6119 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.445, allocations: 4.594 kB / 0.6119 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.445, allocations: 0 / 0.6119 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.4451, allocations: 17.39 kB / 0.6119 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4452, allocations: 7 kB / 0.6119 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.4456, allocations: 226.6 kB / 0.6121 GB, free: 48.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.4456, allocations: 22.97 kB / 0.6121 GB, free: 48.64 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.000228/0.4458, allocations: 241.9 kB / 0.6124 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.4459, allocations: 68.05 kB / 0.6124 GB, free: 48.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.4461, allocations: 75.58 kB / 0.6125 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4462, allocations: 1.438 kB / 0.6125 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4462, allocations: 0 / 0.6125 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4462, allocations: 6.047 kB / 0.6125 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.4465, allocations: 497.6 kB / 0.613 GB, free: 48.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4465, allocations: 1 kB / 0.613 GB, free: 48.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.4466, allocations: 16.05 kB / 0.613 GB, free: 48.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4466, allocations: 1.344 kB / 0.613 GB, free: 48.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4466, allocations: 3.062 kB / 0.613 GB, free: 48.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4466, allocations: 2.625 kB / 0.613 GB, free: 48.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4466, allocations: 0 / 0.613 GB, free: 48.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006685/0.4473, allocations: 1.001 MB / 0.614 GB, free: 48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.4473, allocations: 156.9 kB / 0.6141 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.4474, allocations: 6.984 kB / 0.6141 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.4476, allocations: 7.156 kB / 0.6141 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.4476, allocations: 6.312 kB / 0.6142 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.4476, allocations: 16.52 kB / 0.6142 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000514/0.4481, allocations: 0.6691 MB / 0.6148 GB, free: 47.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4481, allocations: 2.625 kB / 0.6148 GB, free: 47.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008752/0.449, allocations: 388.9 kB / 0.6152 GB, free: 47.6 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.001804/0.4508, allocations: 1.931 MB / 0.6171 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.4525, allocations: 2.493 MB / 0.6195 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4525, allocations: 0 / 0.6195 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.4527, allocations: 333.4 kB / 0.6198 GB, free: 45.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.453, allocations: 40.02 kB / 0.6199 GB, free: 45.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.4652, allocations: 15.04 MB / 0.6346 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.4655, allocations: 0.9644 MB / 0.6355 GB, free: 38.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.4657, allocations: 34.91 kB / 0.6355 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.4659, allocations: 257.2 kB / 0.6358 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.4659, allocations: 1.469 kB / 0.6358 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3911/0.857, allocations: 19.31 MB / 0.6546 GB, free: 37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.8573, allocations: 298.7 kB / 0.6549 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.399, allocations: 6.312 kB / 0.6549 GB, free: 36.62 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)