Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001337/0.001337, allocations: 75.59 kB / 20.51 MB, free: 1.281 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.001447/0.001447, allocations: 169.2 kB / 23.77 MB, free: 4.461 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.478/1.478, allocations: 177.2 MB / 204.1 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.022/1.022, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: IBPSA 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.002277/0.002277, allocations: 67.52 kB / 0.5551 GB, free: 2.801 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1625, allocations: 89.15 MB / 0.6422 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003381/0.1659, allocations: 1.707 MB / 0.6438 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008686/0.1746, allocations: 4.882 MB / 0.6486 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1747, allocations: 11.94 kB / 0.6486 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1761, allocations: 334.5 kB / 0.6489 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1763, allocations: 59.66 kB / 0.649 GB, free: 2.59 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.00482/0.1811, allocations: 1.581 MB / 0.6505 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.1814, allocations: 163.4 kB / 0.6507 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.898e-05/0.1815, allocations: 9.797 kB / 0.6507 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.1816, allocations: 71.64 kB / 0.6508 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.1819, allocations: 163.5 kB / 0.6509 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.182, allocations: 16 kB / 0.6509 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004833/0.1868, allocations: 2.394 MB / 0.6533 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.1871, allocations: 279.8 kB / 0.6535 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.1875, allocations: 246.7 kB / 0.6538 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004138/0.1916, allocations: 2.216 MB / 0.6559 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1916, allocations: 0 / 0.6559 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1916, allocations: 0 / 0.6559 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.1916, allocations: 0 / 0.6559 GB, free: 11.45 MB / 0.5606 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.01107/0.2027, allocations: 1.35 MB / 0.6573 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2027, allocations: 8.031 kB / 0.6573 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.2032, allocations: 104.2 kB / 0.6574 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007378/0.2039, allocations: 356.5 kB / 0.6577 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.2039, allocations: 384 / 0.6577 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.204, allocations: 11.94 kB / 0.6577 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.2045, allocations: 387.2 kB / 0.6581 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2045, allocations: 0 / 0.6581 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.2045, allocations: 3.984 kB / 0.6581 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2045, allocations: 0 / 0.6581 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.205, allocations: 443.7 kB / 0.6585 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.2057, allocations: 0.5976 MB / 0.6591 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.2063, allocations: 0.5556 MB / 0.6596 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.2067, allocations: 333.6 kB / 0.66 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/0.2073, allocations: 143.8 kB / 0.6601 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.2078, allocations: 408.9 kB / 0.6605 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.2078, allocations: 0 / 0.6605 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001576/0.2094, allocations: 1.297 MB / 0.6618 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.2094, allocations: 81.09 kB / 0.6618 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.211, allocations: 1.298 MB / 0.6631 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.211, allocations: 37.69 kB / 0.6631 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.2113, allocations: 289.9 kB / 0.6634 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.2113, allocations: 23.8 kB / 0.6634 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003897/0.2117, allocations: 351.6 kB / 0.6638 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2119, allocations: 322 kB / 0.6641 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.2133, allocations: 1.377 MB / 0.6654 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.2149, allocations: 1.501 MB / 0.6669 GB, free: 16 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008234/0.2231, allocations: 3.56 MB / 0.6704 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.2232, allocations: 0 / 0.6704 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005163/0.2283, allocations: 4.011 MB / 0.6743 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.2283, allocations: 10.19 kB / 0.6743 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.2284, allocations: 3.984 kB / 0.6743 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2284, allocations: 4 kB / 0.6743 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.2285, allocations: 20.03 kB / 0.6743 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2285, allocations: 0 / 0.6743 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/0.2291, allocations: 241.3 kB / 0.6745 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.2292, allocations: 19.98 kB / 0.6746 GB, free: 8.023 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004161/0.2296, allocations: 252 kB / 0.6748 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.2297, allocations: 83.17 kB / 0.6749 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.2309, allocations: 0.9563 MB / 0.6758 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2309, allocations: 4 kB / 0.6758 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2309, allocations: 0 / 0.6758 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2309, allocations: 0 / 0.6758 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.2315, allocations: 460.4 kB / 0.6763 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2315, allocations: 0 / 0.6763 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.2316, allocations: 11.92 kB / 0.6763 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2316, allocations: 0 / 0.6763 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.2316, allocations: 4 kB / 0.6763 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2316, allocations: 3.938 kB / 0.6763 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2316, allocations: 0 / 0.6763 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.2328, allocations: 1.026 MB / 0.6773 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.2329, allocations: 91.17 kB / 0.6774 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.233, allocations: 8 kB / 0.6774 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2331, allocations: 7.984 kB / 0.6774 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.2332, allocations: 7.984 kB / 0.6774 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.2332, allocations: 11.98 kB / 0.6774 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009405/0.2341, allocations: 0.7261 MB / 0.6781 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2341, allocations: 4 kB / 0.6781 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001731/0.2359, allocations: 0.5884 MB / 0.6787 GB, free: 3.727 MB / 0.5762 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.002451/0.2383, allocations: 0.6991 MB / 0.6794 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.2408, allocations: 1.993 MB / 0.6813 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2408, allocations: 0 / 0.6813 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.2412, allocations: 343.8 kB / 0.6817 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.2417, allocations: 58.2 kB / 0.6817 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.2444, allocations: 1.899 MB / 0.6836 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.2449, allocations: 393.8 kB / 0.6839 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.245, allocations: 41.45 kB / 0.684 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.2451, allocations: 24.48 kB / 0.684 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/0.2451, allocations: 8 kB / 0.684 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of Templates: time 0.3076/0.5527, allocations: 14.72 MB / 0.6984 GB, free: 56.14 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.279217349016108] Failed to read output from testmodel.py, exit status != 0: 0.561750844004564 0.575032694 0.38062811900000004 Calling exit ...