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.001347/0.001347, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001614/0.001614, allocations: 220.8 kB / 22.99 MB, free: 4.914 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8718/0.8718, allocations: 134 MB / 447.2 MB, free: 9.945 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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [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.002242/0.002242, allocations: 71.14 kB / 0.6198 GB, free: 6.355 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1683, allocations: 85.9 MB / 0.7037 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003134/0.1714, allocations: 1.709 MB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006222/0.1776, allocations: 3.802 MB / 0.709 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1777, allocations: 3.938 kB / 0.709 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.179, allocations: 338.5 kB / 0.7094 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.1791, allocations: 51.73 kB / 0.7094 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.1819, allocations: 1.025 MB / 0.7104 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1822, allocations: 147.4 kB / 0.7106 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.1822, allocations: 5.75 kB / 0.7106 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.1823, allocations: 59.72 kB / 0.7106 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.1826, allocations: 163.4 kB / 0.7108 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.1826, allocations: 16 kB / 0.7108 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.185, allocations: 1.419 MB / 0.7122 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.1853, allocations: 275.8 kB / 0.7124 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.1855, allocations: 238.8 kB / 0.7127 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.1878, allocations: 1.571 MB / 0.7142 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1878, allocations: 4 kB / 0.7142 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1878, allocations: 0 / 0.7142 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.1878, allocations: 0 / 0.7142 GB, free: 5.695 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.009716/0.1975, allocations: 1.242 MB / 0.7154 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1976, allocations: 8.031 kB / 0.7154 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/0.198, allocations: 108.1 kB / 0.7155 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/0.1986, allocations: 344.2 kB / 0.7159 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1986, allocations: 8.375 kB / 0.7159 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.1986, allocations: 15.86 kB / 0.7159 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.1991, allocations: 387.2 kB / 0.7163 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1991, allocations: 0 / 0.7163 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1991, allocations: 0 / 0.7163 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.1991, allocations: 8 kB / 0.7163 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.1996, allocations: 431.8 kB / 0.7167 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.2003, allocations: 0.5974 MB / 0.7173 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.2009, allocations: 0.5516 MB / 0.7178 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.2013, allocations: 329.7 kB / 0.7181 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/0.2019, allocations: 143.8 kB / 0.7182 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004805/0.2024, allocations: 408.8 kB / 0.7186 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.2024, allocations: 0 / 0.7186 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001558/0.2039, allocations: 1.297 MB / 0.7199 GB, free: 15.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.204, allocations: 85.23 kB / 0.72 GB, free: 15.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.2054, allocations: 1.285 MB / 0.7212 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.2055, allocations: 29.7 kB / 0.7213 GB, free: 14.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.2057, allocations: 293.8 kB / 0.7215 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.2057, allocations: 15.89 kB / 0.7216 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/0.2061, allocations: 351.5 kB / 0.7219 GB, free: 13.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2063, allocations: 318 kB / 0.7222 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.2077, allocations: 1.357 MB / 0.7235 GB, free: 11.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.2092, allocations: 1.493 MB / 0.725 GB, free: 10.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007472/0.2166, allocations: 3.541 MB / 0.7284 GB, free: 6.797 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2166, allocations: 0 / 0.7284 GB, free: 6.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004774/0.2214, allocations: 3.989 MB / 0.7323 GB, free: 2.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2214, allocations: 4 kB / 0.7323 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.2215, allocations: 320 / 0.7323 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.2215, allocations: 12.02 kB / 0.7324 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.2216, allocations: 19.88 kB / 0.7324 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2216, allocations: 0 / 0.7324 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.2222, allocations: 241.3 kB / 0.7326 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.2222, allocations: 27.97 kB / 0.7326 GB, free: 2.473 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.0003374/0.2225, allocations: 248.7 kB / 0.7329 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.2226, allocations: 79.23 kB / 0.7329 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.2238, allocations: 0.9523 MB / 0.7339 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2238, allocations: 0 / 0.7339 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2238, allocations: 0 / 0.7339 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2238, allocations: 3.984 kB / 0.7339 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.2243, allocations: 464.3 kB / 0.7343 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2243, allocations: 0 / 0.7343 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.2244, allocations: 7.938 kB / 0.7343 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2244, allocations: 0 / 0.7343 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2244, allocations: 11.98 kB / 0.7343 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2244, allocations: 32 / 0.7343 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2244, allocations: 4 kB / 0.7343 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.2255, allocations: 1.01 MB / 0.7353 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.2256, allocations: 95.22 kB / 0.7354 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.2257, allocations: 0 / 0.7354 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2258, allocations: 4 kB / 0.7354 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.2259, allocations: 11.97 kB / 0.7354 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.2259, allocations: 15.97 kB / 0.7354 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008515/0.2268, allocations: 0.7218 MB / 0.7362 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2268, allocations: 0 / 0.7362 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001101/0.2279, allocations: 407 kB / 0.7365 GB, free: 14.39 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.001188/0.2291, allocations: 486 kB / 0.737 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.2312, allocations: 1.945 MB / 0.7389 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2312, allocations: 0 / 0.7389 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.2316, allocations: 343.7 kB / 0.7392 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.232, allocations: 56.78 kB / 0.7393 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.2345, allocations: 1.928 MB / 0.7412 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.2349, allocations: 397.6 kB / 0.7415 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.2351, allocations: 27.42 kB / 0.7416 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.2351, allocations: 0 / 0.7416 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of Templates: time 0.3186/0.5537, allocations: 11.61 MB / 0.7529 GB, free: 45.09 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.06133490940556] Failed to read output from testmodel.py, exit status != 0: 0.5612209769897163 0.574203849 0.383825154 Calling exit ...