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.001345/0.001345, 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.001095/0.001095, allocations: 192.3 kB / 16.14 MB, free: 6.707 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.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7189/0.7189, allocations: 132.2 MB / 422.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 0.5012 GB, free: 9.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1581, allocations: 80.19 MB / 0.5795 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002827/0.1609, allocations: 1.464 MB / 0.581 GB, free: 7.629 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00515/0.1661, allocations: 3.225 MB / 0.5841 GB, free: 4.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.611e-05/0.1662, allocations: 3.938 kB / 0.5841 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.1664, allocations: 15.92 kB / 0.5841 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.1668, allocations: 23.91 kB / 0.5842 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.1691, allocations: 0.7675 MB / 0.5849 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1693, allocations: 111.7 kB / 0.585 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.1693, allocations: 4 kB / 0.585 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.09e-05/0.1694, allocations: 43.84 kB / 0.5851 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.1696, allocations: 149 kB / 0.5852 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.1697, allocations: 16 kB / 0.5852 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.172, allocations: 1.4 MB / 0.5866 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.1722, allocations: 263.8 kB / 0.5868 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.1724, allocations: 278.3 kB / 0.5871 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.1746, allocations: 1.465 MB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1746, allocations: 0 / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.041e-06/0.1746, allocations: 0 / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.1746, allocations: 0 / 0.5885 GB, free: 15.86 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.007474/0.1821, allocations: 1.214 MB / 0.5897 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1821, allocations: 8.031 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.1822, allocations: 42.73 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/0.1825, allocations: 83.69 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.1829, allocations: 360.9 kB / 0.5902 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1829, allocations: 4.375 kB / 0.5902 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.183, allocations: 11.92 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.1834, allocations: 399.1 kB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1834, allocations: 0 / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1834, allocations: 0 / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1834, allocations: 3.938 kB / 0.5906 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.1839, allocations: 435.7 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.1844, allocations: 0.6364 MB / 0.5916 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.1849, allocations: 0.5632 MB / 0.5922 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.1852, allocations: 333.7 kB / 0.5925 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.1863, allocations: 1.036 MB / 0.5935 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.1867, allocations: 400.8 kB / 0.5939 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1867, allocations: 0 / 0.5939 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.00132/0.188, allocations: 1.297 MB / 0.5952 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1881, allocations: 81.11 kB / 0.5952 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.1892, allocations: 1.202 MB / 0.5964 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.1893, allocations: 29.69 kB / 0.5964 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.1894, allocations: 257.4 kB / 0.5967 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.1895, allocations: 23.7 kB / 0.5967 GB, free: 7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/0.1898, allocations: 347.5 kB / 0.597 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1899, allocations: 318.1 kB / 0.5973 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.1912, allocations: 1.361 MB / 0.5987 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.1925, allocations: 1.489 MB / 0.6001 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2397/0.4322, allocations: 3.542 MB / 0.6036 GB, free: 55.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.4322, allocations: 4.531 kB / 0.6036 GB, free: 55.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003268/0.4355, allocations: 3.96 MB / 0.6075 GB, free: 53.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4355, allocations: 4.656 kB / 0.6075 GB, free: 53.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.4355, allocations: 3.125 kB / 0.6075 GB, free: 53.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4356, allocations: 0 / 0.6075 GB, free: 53.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.4357, allocations: 23.16 kB / 0.6075 GB, free: 53.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.4357, allocations: 1.562 kB / 0.6075 GB, free: 53.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.4361, allocations: 228.2 kB / 0.6077 GB, free: 53.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.4361, allocations: 23.92 kB / 0.6077 GB, free: 53.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.000214/0.4364, allocations: 237.9 kB / 0.6079 GB, free: 53.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.4364, allocations: 65.73 kB / 0.608 GB, free: 53.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.4367, allocations: 76.92 kB / 0.6081 GB, free: 53.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4367, allocations: 2.781 kB / 0.6081 GB, free: 53.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4367, allocations: 0 / 0.6081 GB, free: 53.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4367, allocations: 0.875 kB / 0.6081 GB, free: 53.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.437, allocations: 0.4934 MB / 0.6086 GB, free: 53.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.437, allocations: 0 / 0.6086 GB, free: 53.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.533e-05/0.437, allocations: 9.875 kB / 0.6086 GB, free: 53.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4371, allocations: 0 / 0.6086 GB, free: 53.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4371, allocations: 9.469 kB / 0.6086 GB, free: 53.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4371, allocations: 1.312 kB / 0.6086 GB, free: 53.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4371, allocations: 4.375 kB / 0.6086 GB, free: 53.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.4377, allocations: 1.001 MB / 0.6096 GB, free: 52.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.4378, allocations: 152.7 kB / 0.6097 GB, free: 52.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.4378, allocations: 5.875 kB / 0.6097 GB, free: 52.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.438, allocations: 3.125 kB / 0.6097 GB, free: 52.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.438, allocations: 10.52 kB / 0.6097 GB, free: 52.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.4381, allocations: 12.05 kB / 0.6097 GB, free: 52.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004992/0.4386, allocations: 0.6657 MB / 0.6104 GB, free: 52.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4386, allocations: 1.281 kB / 0.6104 GB, free: 52.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008439/0.4394, allocations: 400.3 kB / 0.6108 GB, free: 52.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.001741/0.4412, allocations: 1.924 MB / 0.6127 GB, free: 51.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.4428, allocations: 2.498 MB / 0.6151 GB, free: 50.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4428, allocations: 0 / 0.6151 GB, free: 50.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.4431, allocations: 343.8 kB / 0.6154 GB, free: 50.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.4434, allocations: 38.23 kB / 0.6155 GB, free: 50.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.4572, allocations: 15.03 MB / 0.6301 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.4578, allocations: 0.9607 MB / 0.6311 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002061/0.4581, allocations: 34.56 kB / 0.6311 GB, free: 43.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.4584, allocations: 262.6 kB / 0.6314 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of SimCode: time 1.243e-06/0.4584, allocations: 0 / 0.6314 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8846/1.343, allocations: 19.02 MB / 0.6499 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/1.343, allocations: 282 kB / 0.6502 GB, free: 41.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.914, allocations: 2.031 kB / 0.6502 GB, free: 41.59 MB / 0.4981 GB (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)