Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.00128/0.00128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001234/0.001234, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7035/0.7035, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 58.56 kB / 0.5012 GB, free: 9.074 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1609, allocations: 80.2 MB / 0.5795 GB, free: 9.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002753/0.1637, allocations: 1.779 MB / 0.5813 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005706/0.1695, allocations: 4.407 MB / 0.5856 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.1696, allocations: 0 / 0.5856 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.1707, allocations: 358.6 kB / 0.5859 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1708, allocations: 55.73 kB / 0.586 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.1727, allocations: 0.7699 MB / 0.5867 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.173, allocations: 191.4 kB / 0.5869 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.173, allocations: 9.562 kB / 0.5869 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.1731, allocations: 55.73 kB / 0.587 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.1733, allocations: 164.8 kB / 0.5871 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.1733, allocations: 16 kB / 0.5871 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.1752, allocations: 1.396 MB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.1754, allocations: 283.7 kB / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.1756, allocations: 302.1 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.1773, allocations: 1.535 MB / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1773, allocations: 4 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1773, allocations: 0 / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1773, allocations: 0 / 0.5906 GB, free: 13.75 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.007449/0.1848, allocations: 1.273 MB / 0.5918 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1848, allocations: 12.03 kB / 0.5918 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.1849, allocations: 34.75 kB / 0.5919 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.1852, allocations: 95.58 kB / 0.592 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.1857, allocations: 405.9 kB / 0.5923 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1857, allocations: 8.359 kB / 0.5923 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.1857, allocations: 7.938 kB / 0.5924 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.1861, allocations: 399.1 kB / 0.5927 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1861, allocations: 0 / 0.5927 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1862, allocations: 4 kB / 0.5927 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.1862, allocations: 3.984 kB / 0.5927 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.1866, allocations: 435.7 kB / 0.5932 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.1872, allocations: 0.6536 MB / 0.5938 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.1877, allocations: 0.571 MB / 0.5944 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.188, allocations: 333.7 kB / 0.5947 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009774/0.189, allocations: 1.032 MB / 0.5957 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003722/0.1893, allocations: 412.7 kB / 0.5961 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.1894, allocations: 0 / 0.5961 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001294/0.1907, allocations: 1.293 MB / 0.5973 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.1907, allocations: 81.11 kB / 0.5974 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.1919, allocations: 1.277 MB / 0.5987 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.1919, allocations: 29.7 kB / 0.5987 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.1921, allocations: 281.4 kB / 0.599 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.1922, allocations: 31.66 kB / 0.599 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.1925, allocations: 347.5 kB / 0.5993 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1926, allocations: 322.1 kB / 0.5996 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.1937, allocations: 1.357 MB / 0.601 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.195, allocations: 1.493 MB / 0.6024 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2339/0.4289, allocations: 3.541 MB / 0.6059 GB, free: 54.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4289, allocations: 3.75 kB / 0.6059 GB, free: 54.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.002893/0.4318, allocations: 3.971 MB / 0.6097 GB, free: 53.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4319, allocations: 6.188 kB / 0.6098 GB, free: 53.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.4319, allocations: 0 / 0.6098 GB, free: 53.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.4319, allocations: 3.281 kB / 0.6098 GB, free: 53.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4321, allocations: 22.16 kB / 0.6098 GB, free: 53.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4321, allocations: 1.969 kB / 0.6098 GB, free: 53.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.4324, allocations: 231.2 kB / 0.61 GB, free: 52.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.4325, allocations: 22.61 kB / 0.61 GB, free: 52.85 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.0002358/0.4327, allocations: 244.4 kB / 0.6103 GB, free: 52.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.4328, allocations: 71.06 kB / 0.6103 GB, free: 52.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.433, allocations: 92.86 kB / 0.6104 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.433, allocations: 3 kB / 0.6104 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.4331, allocations: 0 / 0.6104 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4331, allocations: 0 / 0.6104 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.4334, allocations: 0.5161 MB / 0.6109 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4334, allocations: 0 / 0.6109 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.286e-05/0.4334, allocations: 10.92 kB / 0.6109 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4335, allocations: 0 / 0.6109 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.4335, allocations: 3.125 kB / 0.6109 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4335, allocations: 0.75 kB / 0.6109 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4335, allocations: 0 / 0.6109 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.4341, allocations: 1.01 MB / 0.6119 GB, free: 52.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.4342, allocations: 167.5 kB / 0.6121 GB, free: 52.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.4343, allocations: 3.156 kB / 0.6121 GB, free: 52.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.4344, allocations: 3.25 kB / 0.6121 GB, free: 52.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.4344, allocations: 8.766 kB / 0.6121 GB, free: 52.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.4345, allocations: 12.91 kB / 0.6121 GB, free: 52.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005401/0.435, allocations: 0.7249 MB / 0.6128 GB, free: 51.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.435, allocations: 1.094 kB / 0.6128 GB, free: 51.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008313/0.4359, allocations: 394.2 kB / 0.6132 GB, free: 51.77 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.001737/0.4376, allocations: 1.944 MB / 0.6151 GB, free: 51.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.4391, allocations: 2.491 MB / 0.6175 GB, free: 50.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4392, allocations: 2.625 kB / 0.6175 GB, free: 50.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.4394, allocations: 344.3 kB / 0.6179 GB, free: 50.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.4398, allocations: 61.31 kB / 0.6179 GB, free: 50.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.4513, allocations: 15 MB / 0.6326 GB, free: 43.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.4516, allocations: 0.9901 MB / 0.6335 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.4518, allocations: 37.66 kB / 0.6336 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.4521, allocations: 287.2 kB / 0.6338 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.4521, allocations: 1.094 kB / 0.6338 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.252/1.704, allocations: 19.23 MB / 0.6526 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/1.705, allocations: 281 kB / 0.6529 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/4.282, allocations: 7.766 kB / 0.6529 GB, free: 40.59 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)