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.0009332/0.0009332, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.0009073/0.0009073, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 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.8722/0.8722, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.6038/0.6038, allocations: 115 MB / 375.7 MB, free: 7.652 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.352e-06/1.352e-06, allocations: 0 / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.67e-05, allocations: 5.422 kB / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001791/0.001808, allocations: 1.807 MB / 483.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00498/0.006788, allocations: 5.222 MB / 488.6 MB, free: 7.516 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.006866, allocations: 1.156 kB / 488.6 MB, free: 7.516 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009127/0.007779, allocations: 345.8 kB / 489 MB, free: 7.379 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.944e-05/0.007859, allocations: 68.39 kB / 489 MB, free: 7.34 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.00278/0.01064, allocations: 1.609 MB / 490.7 MB, free: 6.742 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.01084, allocations: 171.4 kB / 490.8 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.01088, allocations: 6.125 kB / 490.8 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.992e-05/0.01096, allocations: 84 kB / 490.9 MB, free: 6.648 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.01112, allocations: 152 kB / 491.1 MB, free: 6.613 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.01115, allocations: 14.44 kB / 491.1 MB, free: 6.613 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.01379, allocations: 2.469 MB / 493.5 MB, free: 5.969 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.01394, allocations: 283.6 kB / 493.8 MB, free: 5.867 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.01407, allocations: 167.9 kB / 494 MB, free: 5.809 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003029/0.0171, allocations: 2.506 MB / 496.5 MB, free: 5.062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.0171, allocations: 4 kB / 496.5 MB, free: 5.059 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.0171, allocations: 0 / 496.5 MB, free: 5.059 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.01712, allocations: 2.375 kB / 496.5 MB, free: 5.059 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.004855/0.02197, allocations: 1.464 MB / 498 MB, free: 4.023 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.02201, allocations: 11.19 kB / 498 MB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.02229, allocations: 106 kB / 498.1 MB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.02262, allocations: 349.4 kB / 498.4 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.02264, allocations: 7.828 kB / 498.4 MB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.02267, allocations: 6.812 kB / 498.4 MB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.02303, allocations: 377.3 kB / 498.8 MB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.02304, allocations: 4.719 kB / 498.8 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.02305, allocations: 1.578 kB / 498.8 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.02306, allocations: 3.969 kB / 498.8 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.02336, allocations: 380.7 kB / 499.2 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.02388, allocations: 0.6716 MB / 499.8 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.02427, allocations: 0.5215 MB / 0.4886 GB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.0245, allocations: 300.5 kB / 0.4889 GB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/0.02487, allocations: 137.4 kB / 0.4891 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.02516, allocations: 379.7 kB / 0.4894 GB, free: 3.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.02516, allocations: 0 / 0.4894 GB, free: 3.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008749/0.02604, allocations: 1.182 MB / 0.4906 GB, free: 2.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.02606, allocations: 82.56 kB / 0.4907 GB, free: 2.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007481/0.02681, allocations: 1.273 MB / 0.4919 GB, free: 1.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.02684, allocations: 34.78 kB / 0.4919 GB, free: 1.031 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.027, allocations: 374.4 kB / 0.4923 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.02702, allocations: 25.48 kB / 0.4923 GB, free: 0.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.02727, allocations: 403.7 kB / 0.4927 GB, free: 344 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.02737, allocations: 0.4931 MB / 0.4932 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.02784, allocations: 0.6766 MB / 0.4938 GB, free: 15.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.02841, allocations: 0.8499 MB / 0.4947 GB, free: 14.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.0304, allocations: 2.627 MB / 0.4972 GB, free: 11.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.03041, allocations: 0 / 0.4972 GB, free: 11.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003238/0.03364, allocations: 4.239 MB / 0.5014 GB, free: 7.719 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.03366, allocations: 11.94 kB / 0.5014 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.03367, allocations: 4.734 kB / 0.5014 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.03369, allocations: 7.938 kB / 0.5014 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.03379, allocations: 20.08 kB / 0.5014 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.0338, allocations: 4.703 kB / 0.5014 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.03407, allocations: 235.2 kB / 0.5016 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.03411, allocations: 28.22 kB / 0.5017 GB, free: 7.422 MB / 426.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 (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.0001296/0.03424, allocations: 166 kB / 0.5018 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.03428, allocations: 88.34 kB / 0.5019 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000608/0.03489, allocations: 0.8568 MB / 0.5028 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.0349, allocations: 0 / 0.5028 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.0349, allocations: 0 / 0.5028 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.0349, allocations: 5.156 kB / 0.5028 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.03529, allocations: 0.525 MB / 0.5033 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.03529, allocations: 0 / 0.5033 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.03533, allocations: 12.52 kB / 0.5033 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.03533, allocations: 5.031 kB / 0.5033 GB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.03534, allocations: 7.938 kB / 0.5033 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.03535, allocations: 0 / 0.5033 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.03535, allocations: 5.156 kB / 0.5033 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.03592, allocations: 0.9312 MB / 0.5042 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.03598, allocations: 88.17 kB / 0.5043 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.03602, allocations: 7.922 kB / 0.5043 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.03609, allocations: 6.281 kB / 0.5043 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.03613, allocations: 7.984 kB / 0.5043 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.03615, allocations: 15.92 kB / 0.5043 GB, free: 4.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004091/0.03656, allocations: 0.6051 MB / 0.5049 GB, free: 4.113 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03656, allocations: 0 / 0.5049 GB, free: 4.113 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001596/0.03815, allocations: 0.5923 MB / 0.5055 GB, free: 3.516 MB / 426.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.001455/0.03961, allocations: 0.7996 MB / 0.5063 GB, free: 2.754 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009571/0.04057, allocations: 1.425 MB / 0.5077 GB, free: 1.312 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.04057, allocations: 0 / 0.5077 GB, free: 1.312 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.041, allocations: 307.5 kB / 0.508 GB, free: 1.008 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.04127, allocations: 55.17 kB / 0.508 GB, free: 0.957 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.04259, allocations: 1.683 MB / 0.5097 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.0427, allocations: 195.5 kB / 0.5098 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.761e-05/0.04278, allocations: 38.36 kB / 0.5099 GB, free: 15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.04286, allocations: 28.48 kB / 0.5099 GB, free: 14.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.04286, allocations: 0 / 0.5099 GB, free: 14.97 MB / 442.7 MB Notification: Performance of Templates: time 0.01916/0.06202, allocations: 16.94 MB / 0.5264 GB, free: 14.21 MB / 458.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.838475701864809]