Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.001819/0.001819, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001658/0.001658, allocations: 160.3 kB / 23.01 MB, free: 4.957 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: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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.8105/0.8105, allocations: 101.3 MB / 361.1 MB, free: 9.547 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [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.002171/0.002171, allocations: 63.28 kB / 0.5357 GB, free: 5.277 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1498, allocations: 85.89 MB / 0.6195 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001649/0.1515, allocations: 0.5665 MB / 0.6201 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1528, allocations: 0.9996 MB / 0.6211 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.1528, allocations: 3.938 kB / 0.6211 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.1528, allocations: 0 / 0.6211 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006453/0.1535, allocations: 91.78 kB / 0.6212 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.075e-05/0.1535, allocations: 19.92 kB / 0.6212 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.035e-05/0.1535, allocations: 0 / 0.6212 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.1536, allocations: 8 kB / 0.6212 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.263e-05/0.1536, allocations: 0 / 0.6212 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.1538, allocations: 27.97 kB / 0.6212 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.1538, allocations: 0 / 0.6212 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.154, allocations: 75.91 kB / 0.6213 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.154, allocations: 4 kB / 0.6213 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.154, allocations: 3.938 kB / 0.6213 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1542, allocations: 67.8 kB / 0.6214 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1542, allocations: 3.984 kB / 0.6214 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1542, allocations: 0 / 0.6214 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1542, allocations: 4 kB / 0.6214 GB, free: 15.68 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003068/0.1545, allocations: 266.2 kB / 0.6216 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.1545, allocations: 8.031 kB / 0.6216 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.104e-05/0.1545, allocations: 0.9375 kB / 0.6216 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1546, allocations: 110.5 kB / 0.6217 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1546, allocations: 4.125 kB / 0.6217 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.1547, allocations: 0 / 0.6217 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.107e-05/0.1547, allocations: 29.7 kB / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1547, allocations: 0 / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.1547, allocations: 3.938 kB / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1547, allocations: 4 kB / 0.6218 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.1548, allocations: 7.922 kB / 0.6218 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.1551, allocations: 347 kB / 0.6221 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.556e-05/0.1552, allocations: 169.2 kB / 0.6223 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.1553, allocations: 80.14 kB / 0.6224 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1553, allocations: 75.28 kB / 0.6224 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.1553, allocations: 109.8 kB / 0.6225 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1553, allocations: 0 / 0.6225 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.232e-05/0.1554, allocations: 29.64 kB / 0.6226 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.1555, allocations: 130.7 kB / 0.6227 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1556, allocations: 101.8 kB / 0.6228 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1556, allocations: 29.7 kB / 0.6228 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.1557, allocations: 84.09 kB / 0.6229 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.1557, allocations: 0 / 0.6229 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.1557, allocations: 17.72 kB / 0.6229 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1558, allocations: 314.8 kB / 0.6232 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.1558, allocations: 0 / 0.6232 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-06/0.1558, allocations: 0 / 0.6232 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.1559, allocations: 16.78 kB / 0.6232 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1559, allocations: 0 / 0.6232 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.221e-05/0.156, allocations: 41.77 kB / 0.6233 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.156, allocations: 4 kB / 0.6233 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.156, allocations: 0 / 0.6233 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.156, allocations: 0 / 0.6233 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.241e-05/0.156, allocations: 0 / 0.6233 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.156, allocations: 3.984 kB / 0.6233 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.156, allocations: 4 kB / 0.6233 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.156, allocations: 0 / 0.6233 GB, free: 13.55 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001141/0.1561, allocations: 185.1 kB / 0.6235 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.1562, allocations: 112.9 kB / 0.6236 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.181e-05/0.1563, allocations: 108.2 kB / 0.6237 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.325e-05/0.1564, allocations: 176.3 kB / 0.6238 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.125e-05/0.1564, allocations: 192.2 kB / 0.624 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.373e-05/0.1565, allocations: 180.2 kB / 0.6242 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.1568, allocations: 356.8 kB / 0.6245 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-05/0.1568, allocations: 104.9 kB / 0.6246 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.1569, allocations: 101 kB / 0.6247 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.063e-05/0.1569, allocations: 192.2 kB / 0.6249 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/0.157, allocations: 180.5 kB / 0.6251 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-05/0.1571, allocations: 184.2 kB / 0.6253 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.742e-05/0.1572, allocations: 180.3 kB / 0.6254 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.1574, allocations: 315.7 kB / 0.6257 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.1574, allocations: 101 kB / 0.6258 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.1575, allocations: 184.2 kB / 0.626 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.627e-05/0.1576, allocations: 104.9 kB / 0.6261 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.1577, allocations: 180.2 kB / 0.6263 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.1578, allocations: 117 kB / 0.6264 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.1578, allocations: 83.45 kB / 0.6265 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1578, allocations: 0 / 0.6265 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002629/0.1581, allocations: 15.94 kB / 0.6265 GB, free: 10.08 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0004002/0.1585, allocations: 232.7 kB / 0.6267 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.601e-05/0.1585, allocations: 4 kB / 0.6267 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1585, allocations: 4 kB / 0.6267 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.127e-06/0.1585, allocations: 3.938 kB / 0.6267 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.159, allocations: 455.6 kB / 0.6271 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.1593, allocations: 204.2 kB / 0.6273 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.1594, allocations: 55.34 kB / 0.6274 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.1594, allocations: 4 kB / 0.6274 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.1594, allocations: 8.5 kB / 0.6274 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1594, allocations: 0 / 0.6274 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of Templates: time 0.003114/0.1625, allocations: 0.6628 MB / 0.6281 GB, free: 8.465 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.296814878005534] Failed to read output from testmodel.py, exit status != 0: 0.1700334179913625 0.185316492 0.028127777000000003 Calling exit ...