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.001713/0.001713, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002132/0.002132, allocations: 217 kB / 22.25 MB, free: 5.082 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 8.023 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.8375/0.8375, allocations: 134 MB / 446.4 MB, free: 10.27 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="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"}) [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.001913/0.001913, allocations: 62.78 kB / 0.6186 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2013, allocations: 85.92 MB / 0.7025 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003661/0.2049, allocations: 1.759 MB / 0.7042 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007692/0.2126, allocations: 4.285 MB / 0.7084 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.2127, allocations: 3.938 kB / 0.7084 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.2141, allocations: 374.4 kB / 0.7088 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.2143, allocations: 63.67 kB / 0.7088 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003047/0.2174, allocations: 1.021 MB / 0.7098 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.2177, allocations: 159.3 kB / 0.71 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.2177, allocations: 9.688 kB / 0.71 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.658e-05/0.2178, allocations: 59.7 kB / 0.7101 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.2181, allocations: 159.5 kB / 0.7102 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.2181, allocations: 12 kB / 0.7102 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.2208, allocations: 1.552 MB / 0.7117 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.2211, allocations: 279.8 kB / 0.712 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.2214, allocations: 302.1 kB / 0.7123 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.2237, allocations: 1.58 MB / 0.7138 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2237, allocations: 0 / 0.7138 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2237, allocations: 0 / 0.7138 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.2237, allocations: 0 / 0.7138 GB, free: 5.746 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.008947/0.2326, allocations: 1.238 MB / 0.715 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.2327, allocations: 12.03 kB / 0.715 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.2327, allocations: 38.73 kB / 0.7151 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.2331, allocations: 104.2 kB / 0.7152 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/0.2339, allocations: 352.2 kB / 0.7155 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2339, allocations: 8.125 kB / 0.7155 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.2339, allocations: 8 kB / 0.7155 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.2344, allocations: 387.2 kB / 0.7159 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2344, allocations: 0 / 0.7159 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2344, allocations: 4 kB / 0.7159 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2344, allocations: 0 / 0.7159 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.2349, allocations: 439.7 kB / 0.7163 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.2356, allocations: 0.6375 MB / 0.717 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.2362, allocations: 0.5634 MB / 0.7175 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.2366, allocations: 337.6 kB / 0.7178 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006031/0.2372, allocations: 135.8 kB / 0.718 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004503/0.2377, allocations: 408.9 kB / 0.7183 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.2377, allocations: 0 / 0.7183 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001593/0.2393, allocations: 1.289 MB / 0.7196 GB, free: 15.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.2393, allocations: 93.22 kB / 0.7197 GB, free: 15.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.2407, allocations: 1.282 MB / 0.7209 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.2407, allocations: 33.69 kB / 0.721 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.2409, allocations: 289.8 kB / 0.7213 GB, free: 13.92 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.241, allocations: 19.89 kB / 0.7213 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.2413, allocations: 347.5 kB / 0.7216 GB, free: 13.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2415, allocations: 318 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.2429, allocations: 1.365 MB / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.2445, allocations: 1.493 MB / 0.7247 GB, free: 10.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007401/0.2519, allocations: 3.537 MB / 0.7282 GB, free: 6.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2519, allocations: 0 / 0.7282 GB, free: 6.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004848/0.2567, allocations: 3.985 MB / 0.732 GB, free: 2.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.2568, allocations: 11.92 kB / 0.7321 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.2568, allocations: 4 kB / 0.7321 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2568, allocations: 0 / 0.7321 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2569, allocations: 12 kB / 0.7321 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2569, allocations: 3.984 kB / 0.7321 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/0.2575, allocations: 245.3 kB / 0.7323 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.2575, allocations: 19.98 kB / 0.7323 GB, free: 2.426 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.0003431/0.2579, allocations: 257.6 kB / 0.7326 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.258, allocations: 75.3 kB / 0.7326 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.2592, allocations: 0.9484 MB / 0.7336 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2592, allocations: 4 kB / 0.7336 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2592, allocations: 0 / 0.7336 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2592, allocations: 0 / 0.7336 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.2598, allocations: 0.4934 MB / 0.7341 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2598, allocations: 0 / 0.7341 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.2598, allocations: 4 kB / 0.7341 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.2598, allocations: 0 / 0.7341 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2598, allocations: 7.984 kB / 0.7341 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2598, allocations: 0 / 0.7341 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2598, allocations: 0 / 0.7341 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.2609, allocations: 1.026 MB / 0.7351 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2611, allocations: 87.28 kB / 0.7352 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.2611, allocations: 0 / 0.7352 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.2613, allocations: 4 kB / 0.7352 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.2613, allocations: 7.984 kB / 0.7352 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.2613, allocations: 15.98 kB / 0.7352 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008275/0.2622, allocations: 0.7218 MB / 0.7359 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2622, allocations: 0 / 0.7359 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001097/0.2633, allocations: 407 kB / 0.7363 GB, free: 14.3 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.002569/0.2658, allocations: 1.933 MB / 0.7382 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.268, allocations: 1.955 MB / 0.7401 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.268, allocations: 0 / 0.7401 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.2684, allocations: 335.8 kB / 0.7404 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.2688, allocations: 58.81 kB / 0.7404 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3726/0.6414, allocations: 15.03 MB / 0.7551 GB, free: 45.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005825/0.642, allocations: 0.9862 MB / 0.7561 GB, free: 44.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.6421, allocations: 41.62 kB / 0.7561 GB, free: 44.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.6425, allocations: 287.4 kB / 0.7564 GB, free: 44.38 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/0.6425, allocations: 0 / 0.7564 GB, free: 44.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06362/0.7061, allocations: 20.11 MB / 0.776 GB, free: 38.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.76, allocations: 3.25 kB / 0.776 GB, free: 38.38 MB / 0.5606 GB " [Timeout remaining time 645] (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 sys.exit(0), Time elapsed: 18.885004235897213] Failed to read output from testmodel.py, exit status != 0: 14.873644381994382 14.886254718 14.659981831 Calling exit ...