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.001318/0.001318, allocations: 72.95 kB / 20.72 MB, free: 3.766 MB / 18.57 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.001425/0.001425, allocations: 169 kB / 24.14 MB, free: 352 kB / 18.57 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 0.9963/0.9963, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6143/0.6143, allocations: 115 MB / 376 MB, free: 7.465 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 428.8 MB, free: 2.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.586e-05, allocations: 6.25 kB / 428.8 MB, free: 2.676 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002489/0.002515, allocations: 1.781 MB / 430.6 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005652/0.008166, allocations: 5.213 MB / 435.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.008301, allocations: 7.938 kB / 435.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.009352, allocations: 342.4 kB / 436.2 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.009467, allocations: 67.55 kB / 436.2 MB, free: 11.24 MB / 410.7 MB [/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.003411/0.01288, allocations: 1.624 MB / 437.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.01313, allocations: 167.3 kB / 438 MB, free: 9.441 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.01318, allocations: 10.45 kB / 438 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.01328, allocations: 83.78 kB / 438.1 MB, free: 9.348 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.01338, allocations: 57.12 kB / 438.2 MB, free: 9.293 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.0134, allocations: 11.98 kB / 438.2 MB, free: 9.281 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.01648, allocations: 2.405 MB / 440.6 MB, free: 6.875 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.01667, allocations: 259.3 kB / 440.8 MB, free: 6.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.0168, allocations: 135.3 kB / 441 MB, free: 6.488 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.02005, allocations: 2.38 MB / 443.3 MB, free: 4.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.02005, allocations: 4 kB / 443.3 MB, free: 4.098 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02005, allocations: 0 / 443.3 MB, free: 4.098 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.02006, allocations: 0 / 443.3 MB, free: 4.098 MB / 410.7 MB 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.001589/0.02165, allocations: 1.267 MB / 444.6 MB, free: 2.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.02169, allocations: 8.031 kB / 444.6 MB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.02193, allocations: 36.89 kB / 444.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.0224, allocations: 331.8 kB / 445 MB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.02241, allocations: 16.3 kB / 445 MB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.02244, allocations: 8.375 kB / 445 MB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.02265, allocations: 228.1 kB / 445.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.02266, allocations: 0 / 445.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.02267, allocations: 8 kB / 445.2 MB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.02268, allocations: 3.984 kB / 445.2 MB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.0228, allocations: 191.9 kB / 445.4 MB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.02304, allocations: 264.4 kB / 445.7 MB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.02324, allocations: 277 kB / 446 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.02333, allocations: 157.7 kB / 446.1 MB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003064/0.02364, allocations: 128.1 kB / 446.2 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.02382, allocations: 224.9 kB / 446.5 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.02382, allocations: 0 / 446.5 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004017/0.02423, allocations: 0.4934 MB / 446.9 MB, free: 356 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.02427, allocations: 85.23 kB / 447 MB, free: 252 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1843/0.2086, allocations: 1.048 MB / 448.1 MB, free: 22.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.2086, allocations: 31.45 kB / 448.1 MB, free: 22.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.2088, allocations: 272.3 kB / 448.4 MB, free: 22.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.2088, allocations: 24.03 kB / 448.4 MB, free: 22.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.2091, allocations: 334.5 kB / 448.7 MB, free: 22.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.2091, allocations: 323 kB / 449 MB, free: 22.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.2095, allocations: 0.5074 MB / 449.5 MB, free: 22.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.2101, allocations: 0.6055 MB / 450.2 MB, free: 22.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.2117, allocations: 2.239 MB / 452.4 MB, free: 21.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2117, allocations: 1.156 kB / 452.4 MB, free: 21.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002725/0.2144, allocations: 3.725 MB / 456.1 MB, free: 20.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2145, allocations: 6.984 kB / 456.1 MB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.2145, allocations: 0.7812 kB / 456.1 MB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2145, allocations: 6.375 kB / 456.1 MB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2146, allocations: 23.61 kB / 456.2 MB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.2146, allocations: 4.844 kB / 456.2 MB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.2148, allocations: 239.2 kB / 456.4 MB, free: 20.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.2149, allocations: 17.69 kB / 456.4 MB, free: 20.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (labels[1],cluSiz[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.0001198/0.215, allocations: 120.5 kB / 456.5 MB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.215, allocations: 16.83 kB / 456.5 MB, free: 20.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.2153, allocations: 380.3 kB / 456.9 MB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2153, allocations: 0 / 456.9 MB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2153, allocations: 0 / 456.9 MB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2153, allocations: 3.578 kB / 456.9 MB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.2155, allocations: 301.7 kB / 457.2 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2155, allocations: 0 / 457.2 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.2155, allocations: 10.61 kB / 457.2 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.2155, allocations: 3.625 kB / 457.2 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.2156, allocations: 8.984 kB / 457.2 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2156, allocations: 0.7031 kB / 457.2 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2156, allocations: 1.531 kB / 457.2 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.2158, allocations: 374.6 kB / 457.6 MB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.2158, allocations: 91.72 kB / 457.7 MB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.2159, allocations: 7.078 kB / 457.7 MB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.2159, allocations: 6.203 kB / 457.7 MB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.2159, allocations: 11.75 kB / 457.7 MB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.216, allocations: 13.81 kB / 457.7 MB, free: 19.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002545/0.2162, allocations: 429.3 kB / 458.2 MB, free: 19.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2162, allocations: 0 / 458.2 MB, free: 19.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009264/0.2172, allocations: 0.5917 MB / 458.7 MB, free: 19.8 MB / 410.7 MB 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.001148/0.2183, allocations: 0.7995 MB / 459.5 MB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005504/0.2189, allocations: 0.9733 MB / 460.5 MB, free: 18.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.2189, allocations: 12 kB / 460.5 MB, free: 18.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.2189, allocations: 163.7 kB / 460.7 MB, free: 18.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.2191, allocations: 58.58 kB / 460.7 MB, free: 18.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009983/0.2201, allocations: 1.553 MB / 462.3 MB, free: 17.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.2202, allocations: 196.3 kB / 462.5 MB, free: 17.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.064e-05/0.2203, allocations: 32.14 kB / 462.5 MB, free: 17.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.2204, allocations: 95.39 kB / 462.6 MB, free: 17.07 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2204, allocations: 0 / 462.6 MB, free: 17.07 MB / 410.7 MB Notification: Performance of Templates: time 0.01498/0.2354, allocations: 16.25 MB / 478.9 MB, free: 3.359 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.043395780026913]