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.0006608/0.0006608, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009486/0.001609, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0006878/0.0006878, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009654/0.001653, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9524/0.9524, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08048/1.033, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6486/0.6486, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06218/0.7108, allocations: 38.15 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.633e-06/1.633e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.768e-05, allocations: 2.312 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003408/0.003435, allocations: 1.867 MB / 405.6 MB, free: 9 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009278/0.01271, allocations: 5.221 MB / 410.9 MB, free: 3.758 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.01288, allocations: 11.94 kB / 410.9 MB, free: 3.746 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.0143, allocations: 354.3 kB / 411.2 MB, free: 3.398 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.0145, allocations: 55.67 kB / 411.3 MB, free: 3.344 MB / 394.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.004481/0.01898, allocations: 1.437 MB / 412.7 MB, free: 1.902 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.0193, allocations: 163.2 kB / 412.9 MB, free: 1.742 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.01936, allocations: 10.45 kB / 412.9 MB, free: 1.734 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.01956, allocations: 109.4 kB / 413 MB, free: 1.621 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.0197, allocations: 65.12 kB / 413.1 MB, free: 1.559 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.01973, allocations: 8 kB / 413.1 MB, free: 1.551 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00498/0.02471, allocations: 2.538 MB / 415.6 MB, free: 15.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.02495, allocations: 259.3 kB / 415.9 MB, free: 14.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.02513, allocations: 131.4 kB / 416 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004126/0.02925, allocations: 1.982 MB / 418 MB, free: 12.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.02927, allocations: 0 / 418 MB, free: 12.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02927, allocations: 0 / 418 MB, free: 12.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.221e-05/0.0293, allocations: 4 kB / 418 MB, free: 12.63 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.002497/0.0318, allocations: 1.524 MB / 419.5 MB, free: 11.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.03184, allocations: 12.02 kB / 419.5 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.03219, allocations: 106 kB / 419.6 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.03264, allocations: 343.7 kB / 419.9 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.03265, allocations: 4.375 kB / 420 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.03269, allocations: 4.375 kB / 420 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.03299, allocations: 232.1 kB / 420.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.033, allocations: 0 / 420.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.03301, allocations: 0 / 420.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/0.03321, allocations: 176.8 kB / 420.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.0334, allocations: 203.8 kB / 420.6 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.03378, allocations: 284.5 kB / 420.8 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.03405, allocations: 281.1 kB / 421.1 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.0342, allocations: 153.7 kB / 421.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000444/0.03464, allocations: 132 kB / 421.4 MB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.03491, allocations: 225 kB / 421.6 MB, free: 8.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.03491, allocations: 0 / 421.6 MB, free: 8.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006106/0.03552, allocations: 0.5051 MB / 422.1 MB, free: 8.328 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.03557, allocations: 85.09 kB / 422.2 MB, free: 8.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009261/0.03649, allocations: 1.053 MB / 423.2 MB, free: 7.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.03655, allocations: 49.7 kB / 423.3 MB, free: 7.109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.03676, allocations: 286.2 kB / 423.6 MB, free: 6.824 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.0368, allocations: 27.78 kB / 423.6 MB, free: 6.797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/0.03716, allocations: 380.2 kB / 424 MB, free: 6.422 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.03725, allocations: 321.9 kB / 424.3 MB, free: 6.102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006852/0.03794, allocations: 498.9 kB / 424.8 MB, free: 5.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/0.03853, allocations: 0.5923 MB / 425.4 MB, free: 5.012 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.0397, allocations: 1.345 MB / 426.7 MB, free: 3.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.03971, allocations: 4 kB / 426.7 MB, free: 3.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003204/0.04291, allocations: 3.096 MB / 429.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.04294, allocations: 4 kB / 429.8 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/0.04296, allocations: 3.938 kB / 429.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.04299, allocations: 4 kB / 429.8 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.04366, allocations: 175.8 kB / 430 MB, free: 332 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.04366, allocations: 4 kB / 430 MB, free: 328 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.04416, allocations: 253.3 kB / 430.2 MB, free: 72 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.04421, allocations: 19.98 kB / 430.3 MB, free: 52 kB / 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 (92): * Single equations (assignments): 89 * Array equations: 1 * 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.178/0.2222, allocations: 137.6 kB / 430.4 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.2223, allocations: 10.52 kB / 430.4 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.2227, allocations: 381.4 kB / 430.8 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2227, allocations: 0 / 430.8 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.2227, allocations: 0.5156 kB / 430.8 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2227, allocations: 3.562 kB / 430.8 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.2229, allocations: 300 kB / 431.1 MB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2229, allocations: 1.594 kB / 431.1 MB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/0.223, allocations: 10.03 kB / 431.1 MB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.2231, allocations: 89.31 kB / 431.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2231, allocations: 1.922 kB / 431.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.2231, allocations: 4.969 kB / 431.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2231, allocations: 3.062 kB / 431.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2231, allocations: 6.562 kB / 431.2 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.2233, allocations: 378.3 kB / 431.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.2234, allocations: 2.094 kB / 431.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.2234, allocations: 7.094 kB / 431.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.2235, allocations: 11.12 kB / 431.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.2235, allocations: 12.91 kB / 431.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002769/0.2238, allocations: 433.7 kB / 432 MB, free: 13.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2238, allocations: 0 / 432 MB, free: 13.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001055/0.2248, allocations: 0.6154 MB / 432.6 MB, free: 13.39 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.001329/0.2262, allocations: 0.8427 MB / 433.5 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008236/0.227, allocations: 1.012 MB / 434.5 MB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.227, allocations: 12.84 kB / 434.5 MB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.2271, allocations: 171.7 kB / 434.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.2274, allocations: 395.6 kB / 435.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.2292, allocations: 1.554 MB / 436.6 MB, free: 12.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.2293, allocations: 197.2 kB / 436.8 MB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000117/0.2294, allocations: 53.58 kB / 436.9 MB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.2296, allocations: 107.8 kB / 437 MB, free: 12.14 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2296, allocations: 0.7656 kB / 437 MB, free: 12.14 MB / 410.7 MB Notification: Performance of Templates: time 0.01683/0.2464, allocations: 17.28 MB / 454.2 MB, free: 2.645 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: 3.9529749928042293]