Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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.001255/0.001255, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001411/0.001411, allocations: 219 kB / 22.26 MB, free: 5.125 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.992 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.8457/0.8457, allocations: 134 MB / 446.4 MB, free: 10.23 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_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.0019/0.0019, allocations: 63.75 kB / 0.6186 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1805, allocations: 85.91 MB / 0.7025 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002866/0.1833, allocations: 1.425 MB / 0.7039 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005212/0.1885, allocations: 3.098 MB / 0.7069 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.1886, allocations: 3.938 kB / 0.7069 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.1887, allocations: 11.92 kB / 0.7069 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.189, allocations: 27.84 kB / 0.707 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.1917, allocations: 1.04 MB / 0.708 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.1919, allocations: 83.73 kB / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.1919, allocations: 8 kB / 0.7081 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.142e-05/0.192, allocations: 43.83 kB / 0.7081 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.1923, allocations: 161.6 kB / 0.7083 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.1923, allocations: 12 kB / 0.7083 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.1949, allocations: 1.552 MB / 0.7098 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007984/0.1957, allocations: 0.703 MB / 0.7105 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004543/0.1961, allocations: 441 kB / 0.7109 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.1989, allocations: 1.817 MB / 0.7127 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1989, allocations: 0 / 0.7127 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1989, allocations: 0 / 0.7127 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.711e-05/0.199, allocations: 3.938 kB / 0.7127 GB, free: 6.938 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.009587/0.2086, allocations: 1.682 MB / 0.7143 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.2086, allocations: 12.03 kB / 0.7143 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.2086, allocations: 30.75 kB / 0.7144 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004772/0.2091, allocations: 147.8 kB / 0.7145 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006891/0.2098, allocations: 480.6 kB / 0.715 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2098, allocations: 16.05 kB / 0.715 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.2099, allocations: 11.98 kB / 0.715 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.2104, allocations: 387.2 kB / 0.7154 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2104, allocations: 0 / 0.7154 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2104, allocations: 0 / 0.7154 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2104, allocations: 0 / 0.7154 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.2109, allocations: 439.7 kB / 0.7158 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/0.2118, allocations: 0.7835 MB / 0.7165 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/0.2124, allocations: 0.5593 MB / 0.7171 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.2127, allocations: 329.7 kB / 0.7174 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007077/0.2134, allocations: 143.8 kB / 0.7175 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004491/0.2139, allocations: 392.9 kB / 0.7179 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.2139, allocations: 0 / 0.7179 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.00157/0.2154, allocations: 1.355 MB / 0.7192 GB, free: 15.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.2155, allocations: 81.11 kB / 0.7193 GB, free: 15.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.2177, allocations: 1.851 MB / 0.7211 GB, free: 14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.2178, allocations: 29.7 kB / 0.7212 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/0.2182, allocations: 481.8 kB / 0.7216 GB, free: 13.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.2183, allocations: 23.8 kB / 0.7216 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.2187, allocations: 359.6 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2188, allocations: 309.1 kB / 0.7223 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.2203, allocations: 1.51 MB / 0.7237 GB, free: 11.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.2219, allocations: 1.638 MB / 0.7253 GB, free: 9.641 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007552/0.2295, allocations: 3.701 MB / 0.729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2295, allocations: 0 / 0.729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004792/0.2343, allocations: 4.324 MB / 0.7332 GB, free: 1.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2343, allocations: 8 kB / 0.7332 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.2343, allocations: 0 / 0.7332 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2343, allocations: 0 / 0.7332 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2344, allocations: 19.98 kB / 0.7332 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2344, allocations: 8.031 kB / 0.7332 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.235, allocations: 233.4 kB / 0.7334 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.235, allocations: 23.98 kB / 0.7335 GB, free: 1.199 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.0004824/0.2355, allocations: 373.4 kB / 0.7338 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.2357, allocations: 126.9 kB / 0.7339 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.2368, allocations: 1.013 MB / 0.7349 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2368, allocations: 0 / 0.7349 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2368, allocations: 4 kB / 0.7349 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2368, allocations: 0 / 0.7349 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.2375, allocations: 0.6589 MB / 0.7356 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2375, allocations: 4 kB / 0.7356 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.2376, allocations: 4 kB / 0.7356 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2376, allocations: 0 / 0.7356 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2376, allocations: 11.98 kB / 0.7356 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2376, allocations: 80 / 0.7356 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.2376, allocations: 8.016 kB / 0.7356 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2386, allocations: 1.064 MB / 0.7366 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.2388, allocations: 126.9 kB / 0.7368 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.2389, allocations: 3.984 kB / 0.7368 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.2391, allocations: 8 kB / 0.7368 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.2391, allocations: 11.98 kB / 0.7368 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.2392, allocations: 11.98 kB / 0.7368 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001282/0.2405, allocations: 1.101 MB / 0.7379 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2405, allocations: 0 / 0.7379 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001057/0.2415, allocations: 442.9 kB / 0.7383 GB, free: 12.12 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.002692/0.2442, allocations: 1.997 MB / 0.7402 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002187/0.2464, allocations: 2.093 MB / 0.7423 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2464, allocations: 0 / 0.7423 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.2467, allocations: 335.8 kB / 0.7426 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.2471, allocations: 48.67 kB / 0.7427 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7001/0.9473, allocations: 36.42 MB / 0.7782 GB, free: 34.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/0.9479, allocations: 1.159 MB / 0.7794 GB, free: 33.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000159/0.9481, allocations: 34.72 kB / 0.7794 GB, free: 33.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/0.9485, allocations: 429.9 kB / 0.7798 GB, free: 33.59 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.9485, allocations: 0 / 0.7798 GB, free: 33.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09561/1.044, allocations: 60.27 MB / 0.8387 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.61, allocations: 0 / 0.8387 GB, free: 8.406 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --stepSize=1.48e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 31.892437292961404] Failed to read output from testmodel.py, exit status != 0: 15.745029398007318 15.764831264 15.562294938 Calling exit ...