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.001726/0.001726, allocations: 101.3 kB / 19.73 MB, free: 2.109 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.002676/0.002676, allocations: 215.1 kB / 23.03 MB, free: 4.902 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8047/0.8047, allocations: 134 MB / 447.2 MB, free: 9.941 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.001865/0.001865, allocations: 61.34 kB / 0.6193 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1786, allocations: 85.91 MB / 0.7032 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003173/0.1818, allocations: 1.694 MB / 0.7049 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005991/0.1878, allocations: 3.806 MB / 0.7086 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.1879, allocations: 4 kB / 0.7086 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.1891, allocations: 334.5 kB / 0.7089 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1892, allocations: 55.67 kB / 0.709 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.1917, allocations: 1.021 MB / 0.71 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.1919, allocations: 151.4 kB / 0.7101 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.1919, allocations: 5.75 kB / 0.7101 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.192, allocations: 67.7 kB / 0.7102 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.1922, allocations: 163.5 kB / 0.7103 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.1923, allocations: 12 kB / 0.7103 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.1944, allocations: 1.494 MB / 0.7118 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.1947, allocations: 279.8 kB / 0.7121 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.195, allocations: 238.7 kB / 0.7123 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.1968, allocations: 1.573 MB / 0.7138 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1968, allocations: 0 / 0.7138 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1968, allocations: 0 / 0.7138 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.1968, allocations: 4 kB / 0.7138 GB, free: 6.125 MB / 0.5294 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.008232/0.2051, allocations: 1.246 MB / 0.715 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2051, allocations: 11.97 kB / 0.7151 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.464e-05/0.2051, allocations: 192 / 0.7151 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.2052, allocations: 42.67 kB / 0.7151 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.2055, allocations: 100.2 kB / 0.7152 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.2061, allocations: 352.2 kB / 0.7155 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2061, allocations: 7.938 kB / 0.7155 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.2062, allocations: 8 kB / 0.7155 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.2066, allocations: 387.2 kB / 0.7159 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2066, allocations: 0 / 0.7159 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2066, allocations: 0 / 0.7159 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2066, allocations: 0 / 0.7159 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.2071, allocations: 439.7 kB / 0.7163 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.2077, allocations: 0.6219 MB / 0.7169 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.2083, allocations: 0.5594 MB / 0.7175 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.2086, allocations: 341.7 kB / 0.7178 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/0.2093, allocations: 135.9 kB / 0.7179 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.2097, allocations: 404.9 kB / 0.7183 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2097, allocations: 0 / 0.7183 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001387/0.2111, allocations: 1.297 MB / 0.7196 GB, free: 36 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.2112, allocations: 81.11 kB / 0.7197 GB, free: 15.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.2124, allocations: 1.282 MB / 0.7209 GB, free: 14.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.2125, allocations: 33.7 kB / 0.721 GB, free: 14.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.2127, allocations: 293.9 kB / 0.7212 GB, free: 14.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.2127, allocations: 19.91 kB / 0.7213 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/0.2131, allocations: 355.5 kB / 0.7216 GB, free: 13.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2132, allocations: 321.9 kB / 0.7219 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.2145, allocations: 1.361 MB / 0.7232 GB, free: 12.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.2159, allocations: 1.489 MB / 0.7247 GB, free: 10.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007112/0.223, allocations: 3.541 MB / 0.7281 GB, free: 7.125 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.223, allocations: 0 / 0.7281 GB, free: 7.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004499/0.2275, allocations: 3.977 MB / 0.732 GB, free: 3.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.2275, allocations: 10.19 kB / 0.732 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.2276, allocations: 0 / 0.732 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2276, allocations: 7.938 kB / 0.732 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2277, allocations: 15.98 kB / 0.7321 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2277, allocations: 3.938 kB / 0.7321 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.2282, allocations: 241.4 kB / 0.7323 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.2283, allocations: 23.98 kB / 0.7323 GB, free: 2.816 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.0003054/0.2286, allocations: 245.6 kB / 0.7326 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.2286, allocations: 79.28 kB / 0.7326 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.2297, allocations: 0.9487 MB / 0.7336 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2297, allocations: 0 / 0.7336 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2297, allocations: 3.938 kB / 0.7336 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2297, allocations: 4.031 kB / 0.7336 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.2302, allocations: 493.3 kB / 0.734 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2302, allocations: 3.984 kB / 0.734 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.2303, allocations: 4 kB / 0.734 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2303, allocations: 4 kB / 0.734 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2303, allocations: 3.984 kB / 0.734 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.2303, allocations: 0 / 0.734 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2303, allocations: 4 kB / 0.7341 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009839/0.2313, allocations: 1.018 MB / 0.735 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.2313, allocations: 83.3 kB / 0.7351 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.2314, allocations: 7.984 kB / 0.7351 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.2316, allocations: 8 kB / 0.7351 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.2316, allocations: 7.984 kB / 0.7351 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.2317, allocations: 11.98 kB / 0.7352 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008354/0.2325, allocations: 0.7218 MB / 0.7359 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2325, allocations: 0 / 0.7359 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001108/0.2336, allocations: 403 kB / 0.7362 GB, free: 14.71 MB / 0.5606 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.002456/0.2361, allocations: 1.943 MB / 0.7381 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001995/0.238, allocations: 1.952 MB / 0.7401 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.238, allocations: 0 / 0.7401 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.2384, allocations: 331.8 kB / 0.7404 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.2388, allocations: 60.69 kB / 0.7404 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3396/0.5783, allocations: 15.02 MB / 0.7551 GB, free: 45.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.5788, allocations: 395.7 kB / 0.7555 GB, free: 45.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.579, allocations: 42.08 kB / 0.7555 GB, free: 45.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.5792, allocations: 289.5 kB / 0.7558 GB, free: 45.11 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/0.5792, allocations: 1.344 kB / 0.7558 GB, free: 45.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05443/0.6337, allocations: 20.9 MB / 0.7762 GB, free: 38.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.55, allocations: 6.75 kB / 0.7762 GB, free: 38.61 MB / 0.5606 GB " [Timeout remaining time 646] (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: 17.76142813602928] Failed to read output from testmodel.py, exit status != 0: 13.725079372059554 13.743776463 13.543486241 Calling exit ...