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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 188.9 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 251 MB, free: 13.03 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.8653/0.8653, allocations: 134 MB / 440.3 MB, free: 252 kB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 68.03 kB / 0.6108 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1538, allocations: 84.73 MB / 0.6935 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002523/0.1563, allocations: 1.419 MB / 0.6949 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004982/0.1613, allocations: 3.074 MB / 0.6979 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.1613, allocations: 3.938 kB / 0.6979 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.336e-05/0.1614, allocations: 7.922 kB / 0.6979 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.1617, allocations: 31.77 kB / 0.698 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.1642, allocations: 1.042 MB / 0.699 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1643, allocations: 79.69 kB / 0.6991 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.1644, allocations: 0 / 0.6991 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.1644, allocations: 47.89 kB / 0.6991 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.1647, allocations: 161.6 kB / 0.6993 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.1647, allocations: 12 kB / 0.6993 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.1673, allocations: 1.536 MB / 0.7008 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007912/0.1681, allocations: 0.703 MB / 0.7015 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.1686, allocations: 441 kB / 0.7019 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.171, allocations: 1.812 MB / 0.7037 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.171, allocations: 7.938 kB / 0.7037 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.552e-06/0.171, allocations: 0 / 0.7037 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.171, allocations: 4 kB / 0.7037 GB, free: 14.6 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.01139/0.1824, allocations: 1.679 MB / 0.7053 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1825, allocations: 16.02 kB / 0.7053 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/0.1829, allocations: 143.9 kB / 0.7055 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006604/0.1836, allocations: 488.5 kB / 0.7059 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1836, allocations: 4.375 kB / 0.7059 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.1836, allocations: 15.94 kB / 0.7059 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.1841, allocations: 383.2 kB / 0.7063 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1841, allocations: 0 / 0.7063 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1841, allocations: 4 kB / 0.7063 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1841, allocations: 0 / 0.7063 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.1846, allocations: 435.7 kB / 0.7067 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008494/0.1855, allocations: 0.7875 MB / 0.7075 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/0.1861, allocations: 0.5555 MB / 0.708 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.1865, allocations: 337.7 kB / 0.7084 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/0.1872, allocations: 139.8 kB / 0.7085 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.1876, allocations: 400.9 kB / 0.7089 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.1876, allocations: 0 / 0.7089 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001554/0.1892, allocations: 1.351 MB / 0.7102 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.1893, allocations: 81.09 kB / 0.7103 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.1914, allocations: 1.847 MB / 0.7121 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.1914, allocations: 33.69 kB / 0.7121 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.1918, allocations: 481.8 kB / 0.7126 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.1919, allocations: 27.95 kB / 0.7126 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.1923, allocations: 347.5 kB / 0.7129 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1924, allocations: 305.1 kB / 0.7132 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.194, allocations: 1.506 MB / 0.7147 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.1957, allocations: 1.649 MB / 0.7163 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007975/0.2037, allocations: 3.69 MB / 0.7199 GB, free: 13.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.2037, allocations: 7.922 kB / 0.7199 GB, free: 13.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.0053/0.209, allocations: 4.324 MB / 0.7241 GB, free: 9.199 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.209, allocations: 7.125 kB / 0.7241 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.209, allocations: 4.312 kB / 0.7241 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.209, allocations: 4.031 kB / 0.7241 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.2092, allocations: 15.98 kB / 0.7242 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2092, allocations: 3.938 kB / 0.7242 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.2098, allocations: 241.4 kB / 0.7244 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.2099, allocations: 23.97 kB / 0.7244 GB, free: 8.906 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.0004964/0.2104, allocations: 370.3 kB / 0.7248 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.2105, allocations: 134.9 kB / 0.7249 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.2117, allocations: 1.02 MB / 0.7259 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2117, allocations: 7.984 kB / 0.7259 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2117, allocations: 0 / 0.7259 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2117, allocations: 0 / 0.7259 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.2124, allocations: 0.6511 MB / 0.7265 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2124, allocations: 0 / 0.7265 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.2125, allocations: 11.98 kB / 0.7266 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2125, allocations: 0 / 0.7266 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2125, allocations: 8.031 kB / 0.7266 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2125, allocations: 0 / 0.7266 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2125, allocations: 0 / 0.7266 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.2136, allocations: 1.071 MB / 0.7276 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.2137, allocations: 126.9 kB / 0.7277 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.2138, allocations: 8 kB / 0.7277 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.214, allocations: 7.984 kB / 0.7277 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.2141, allocations: 3.984 kB / 0.7277 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.2141, allocations: 11.98 kB / 0.7278 GB, free: 5.387 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00135/0.2155, allocations: 1.108 MB / 0.7288 GB, free: 4.254 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2155, allocations: 0 / 0.7288 GB, free: 4.254 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001111/0.2166, allocations: 435 kB / 0.7293 GB, free: 3.828 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.001208/0.2178, allocations: 486 kB / 0.7297 GB, free: 3.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002331/0.2201, allocations: 2.097 MB / 0.7318 GB, free: 1.234 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2201, allocations: 0 / 0.7318 GB, free: 1.234 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.2205, allocations: 339.7 kB / 0.7321 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.2209, allocations: 50.48 kB / 0.7321 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.2245, allocations: 2.597 MB / 0.7347 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009176/0.2254, allocations: 1.157 MB / 0.7358 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.2255, allocations: 28.5 kB / 0.7358 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.2257, allocations: 27.41 kB / 0.7359 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.2257, allocations: 0 / 0.7359 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.02109/0.2468, allocations: 10.26 MB / 0.7459 GB, free: 2.754 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 36.4144813073799] Failed to read output from testmodel.py, exit status != 0: 0.2544582327827811 0.5485398330000001 0.375168261 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa446c057b0>