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.001353/0.001353, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001453/0.001453, allocations: 209.7 kB / 22.24 MB, free: 5.121 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.734 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.8188/0.8188, allocations: 134 MB / 446.4 MB, free: 9.934 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.001927/0.001927, allocations: 62.53 kB / 0.6185 GB, free: 6.836 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1624, allocations: 85.92 MB / 0.7024 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002825/0.1652, allocations: 1.393 MB / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004758/0.17, allocations: 2.767 MB / 0.7065 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.1701, allocations: 0 / 0.7065 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.1702, allocations: 15.86 kB / 0.7065 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1704, allocations: 27.84 kB / 0.7066 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.1731, allocations: 1.029 MB / 0.7076 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1732, allocations: 83.67 kB / 0.7076 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.1733, allocations: 8 kB / 0.7076 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.1734, allocations: 47.83 kB / 0.7077 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.1736, allocations: 161.6 kB / 0.7078 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.1736, allocations: 12 kB / 0.7079 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.1761, allocations: 1.408 MB / 0.7092 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007627/0.1769, allocations: 0.7069 MB / 0.7099 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.1772, allocations: 349.8 kB / 0.7103 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.1799, allocations: 1.821 MB / 0.712 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1799, allocations: 0 / 0.712 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1799, allocations: 4 kB / 0.712 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.358e-05/0.1799, allocations: 0 / 0.712 GB, free: 7.148 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.01003/0.19, allocations: 1.675 MB / 0.7137 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.19, allocations: 12.03 kB / 0.7137 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.19, allocations: 34.75 kB / 0.7137 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.1905, allocations: 159.8 kB / 0.7139 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.1912, allocations: 480.6 kB / 0.7143 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1912, allocations: 16.05 kB / 0.7143 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.1912, allocations: 4 kB / 0.7143 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.1917, allocations: 391.1 kB / 0.7147 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1917, allocations: 4 kB / 0.7147 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.1917, allocations: 8 kB / 0.7147 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1918, allocations: 0 / 0.7147 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.1923, allocations: 431.7 kB / 0.7151 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/0.1932, allocations: 0.768 MB / 0.7159 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.1938, allocations: 0.5632 MB / 0.7164 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.1941, allocations: 333.7 kB / 0.7168 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006941/0.1948, allocations: 131.9 kB / 0.7169 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.1953, allocations: 404.8 kB / 0.7173 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.1953, allocations: 0 / 0.7173 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.00153/0.1968, allocations: 1.348 MB / 0.7186 GB, free: 216 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.1969, allocations: 85.09 kB / 0.7187 GB, free: 112 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.1989, allocations: 1.847 MB / 0.7205 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.1989, allocations: 33.7 kB / 0.7205 GB, free: 14.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.1993, allocations: 481.8 kB / 0.721 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.1994, allocations: 23.8 kB / 0.721 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003555/0.1997, allocations: 347.5 kB / 0.7213 GB, free: 13.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1999, allocations: 301.1 kB / 0.7216 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.2013, allocations: 1.518 MB / 0.7231 GB, free: 11.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.2029, allocations: 1.638 MB / 0.7247 GB, free: 9.867 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007371/0.2103, allocations: 3.697 MB / 0.7283 GB, free: 6.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2103, allocations: 4 kB / 0.7283 GB, free: 6.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004953/0.2153, allocations: 4.32 MB / 0.7325 GB, free: 1.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.2153, allocations: 8 kB / 0.7325 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.2153, allocations: 3.938 kB / 0.7325 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.2153, allocations: 4 kB / 0.7325 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.2155, allocations: 15.98 kB / 0.7326 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2155, allocations: 0 / 0.7326 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.2161, allocations: 237.4 kB / 0.7328 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.2161, allocations: 27.92 kB / 0.7328 GB, free: 1.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.0004717/0.2166, allocations: 373.4 kB / 0.7332 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.2167, allocations: 138.9 kB / 0.7333 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.2179, allocations: 1.001 MB / 0.7343 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2179, allocations: 0 / 0.7343 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2179, allocations: 4 kB / 0.7343 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2179, allocations: 3.938 kB / 0.7343 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006656/0.2186, allocations: 0.6511 MB / 0.7349 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2186, allocations: 0 / 0.7349 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.2186, allocations: 7.969 kB / 0.7349 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2186, allocations: 4 kB / 0.7349 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.2187, allocations: 15.98 kB / 0.7349 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2187, allocations: 0 / 0.7349 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2187, allocations: 0 / 0.7349 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.2198, allocations: 1.06 MB / 0.736 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.2199, allocations: 130.9 kB / 0.7361 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/0.22, allocations: 4 kB / 0.7361 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.2202, allocations: 4 kB / 0.7361 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.2203, allocations: 15.92 kB / 0.7361 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.2203, allocations: 11.98 kB / 0.7361 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001285/0.2216, allocations: 1.104 MB / 0.7372 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2216, allocations: 0 / 0.7372 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001138/0.2227, allocations: 439 kB / 0.7376 GB, free: 12.36 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.002449/0.2252, allocations: 1.998 MB / 0.7396 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00225/0.2274, allocations: 2.089 MB / 0.7416 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2274, allocations: 64 / 0.7416 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.2278, allocations: 351.8 kB / 0.742 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.2282, allocations: 49.17 kB / 0.742 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6395/0.8677, allocations: 36.41 MB / 0.7776 GB, free: 34.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.8684, allocations: 0.5601 MB / 0.7781 GB, free: 34.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.8686, allocations: 36.62 kB / 0.7781 GB, free: 34.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.869, allocations: 429.9 kB / 0.7786 GB, free: 33.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.869, allocations: 1.5 kB / 0.7786 GB, free: 33.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08872/0.9577, allocations: 61.12 MB / 0.8382 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.6, allocations: 15.48 kB / 0.8383 GB, free: 7.734 MB / 0.5919 GB " [Timeout remaining time 646] (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: 28.79127462208271] Failed to read output from testmodel.py, exit status != 0: 13.730250613763928 13.755435971 13.570870306 Calling exit ...