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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 116.8 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 214.3 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.861/0.861, allocations: 133.9 MB / 443.5 MB, free: 14.14 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 66.34 kB / 0.6142 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1518, allocations: 85.86 MB / 0.698 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00341/0.1552, allocations: 1.742 MB / 0.6997 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006559/0.1618, allocations: 4.267 MB / 0.7039 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.1619, allocations: 3.938 kB / 0.7039 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.1632, allocations: 367 kB / 0.7042 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1634, allocations: 63.72 kB / 0.7043 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.1662, allocations: 0.9774 MB / 0.7053 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003/0.1665, allocations: 159.3 kB / 0.7054 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.1666, allocations: 9.547 kB / 0.7054 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.1667, allocations: 55.72 kB / 0.7055 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.1669, allocations: 163.5 kB / 0.7056 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.1669, allocations: 12 kB / 0.7056 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.1694, allocations: 1.431 MB / 0.707 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.1697, allocations: 275.8 kB / 0.7073 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.17, allocations: 298.2 kB / 0.7076 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.1727, allocations: 1.565 MB / 0.7091 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1727, allocations: 0 / 0.7091 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1727, allocations: 0 / 0.7091 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.828e-05/0.1728, allocations: 0 / 0.7091 GB, free: 3.543 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.01073/0.1835, allocations: 1.321 MB / 0.7104 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1835, allocations: 12.56 kB / 0.7104 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.894e-05/0.1836, allocations: 4.188 kB / 0.7104 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.1836, allocations: 34.75 kB / 0.7104 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/0.184, allocations: 104.2 kB / 0.7105 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006402/0.1847, allocations: 406.1 kB / 0.7109 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1847, allocations: 7.938 kB / 0.7109 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.1847, allocations: 8 kB / 0.7109 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.1852, allocations: 391.2 kB / 0.7113 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1852, allocations: 0 / 0.7113 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1852, allocations: 4 kB / 0.7113 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1852, allocations: 7.922 kB / 0.7113 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.1857, allocations: 439.7 kB / 0.7118 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007646/0.1865, allocations: 0.6696 MB / 0.7124 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/0.1871, allocations: 0.5555 MB / 0.7129 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.1874, allocations: 337.7 kB / 0.7133 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.1886, allocations: 1.025 MB / 0.7143 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000448/0.1891, allocations: 404.9 kB / 0.7147 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.1891, allocations: 0 / 0.7147 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001444/0.1905, allocations: 1.305 MB / 0.7159 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.1906, allocations: 77.11 kB / 0.716 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.1921, allocations: 1.282 MB / 0.7173 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.1922, allocations: 41.67 kB / 0.7173 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.1924, allocations: 285.8 kB / 0.7176 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.1925, allocations: 19.84 kB / 0.7176 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/0.1929, allocations: 351.5 kB / 0.7179 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1931, allocations: 317.9 kB / 0.7182 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.1945, allocations: 1.373 MB / 0.7196 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.1959, allocations: 1.489 MB / 0.721 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007173/0.2031, allocations: 3.541 MB / 0.7245 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2031, allocations: 0 / 0.7245 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004409/0.2075, allocations: 3.977 MB / 0.7284 GB, free: 15.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2076, allocations: 4 kB / 0.7284 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.2076, allocations: 4 kB / 0.7284 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2076, allocations: 0 / 0.7284 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.2077, allocations: 19.98 kB / 0.7284 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.2077, allocations: 0 / 0.7284 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.2083, allocations: 237.4 kB / 0.7286 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.2083, allocations: 28.02 kB / 0.7286 GB, free: 14.89 MB / 0.545 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.0003241/0.2086, allocations: 258.1 kB / 0.7289 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.2087, allocations: 75.3 kB / 0.729 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.209, allocations: 79.72 kB / 0.729 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.209, allocations: 4 kB / 0.729 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.209, allocations: 4.031 kB / 0.729 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.209, allocations: 0 / 0.729 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.2095, allocations: 0.5137 MB / 0.7295 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2095, allocations: 7.938 kB / 0.7296 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.959e-05/0.2096, allocations: 4 kB / 0.7296 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2096, allocations: 0 / 0.7296 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.2096, allocations: 7.984 kB / 0.7296 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2096, allocations: 0 / 0.7296 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2096, allocations: 0 / 0.7296 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/0.2106, allocations: 1.014 MB / 0.7306 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.2107, allocations: 172.3 kB / 0.7307 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.2108, allocations: 8 kB / 0.7307 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2109, allocations: 4 kB / 0.7307 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.211, allocations: 7.922 kB / 0.7307 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.211, allocations: 15.98 kB / 0.7308 GB, free: 12.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008163/0.2118, allocations: 0.7218 MB / 0.7315 GB, free: 11.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2118, allocations: 0 / 0.7315 GB, free: 11.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001212/0.213, allocations: 411 kB / 0.7319 GB, free: 11.5 MB / 0.545 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.00261/0.2156, allocations: 1.939 MB / 0.7337 GB, free: 9.523 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.2178, allocations: 1.949 MB / 0.7356 GB, free: 7.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2178, allocations: 0 / 0.7356 GB, free: 7.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.2182, allocations: 335.8 kB / 0.736 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.2186, allocations: 56.31 kB / 0.736 GB, free: 7.188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/0.2347, allocations: 15.03 MB / 0.7507 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.2354, allocations: 0.9877 MB / 0.7517 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.2356, allocations: 41.39 kB / 0.7517 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.2359, allocations: 291.3 kB / 0.752 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of SimCode: time 1.213e-06/0.2359, allocations: 0 / 0.752 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/0.2816, allocations: 20.08 MB / 0.7716 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.966/10.25, allocations: 5.188 kB / 0.7716 GB, free: 2.824 MB / 0.5762 GB " [Timeout remaining time 649] (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 --stepSize=7.2e+08 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.963895201974083] Failed to read output from testmodel.py, exit status != 0: 10.658065135008655 10.393610877 10.218113704 Calling exit ...