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.001035/0.001035, allocations: 84.22 kB / 20.94 MB, free: 3.602 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.001114/0.001114, allocations: 169 kB / 24.25 MB, free: 304 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.9736/0.9736, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.6404/0.6404, allocations: 115 MB / 376 MB, free: 7.656 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.102e-06/1.102e-06, allocations: 0 / 481.6 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.294e-05, allocations: 2.312 kB / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00175/0.001763, allocations: 1.809 MB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004851/0.006614, allocations: 5.194 MB / 488.6 MB, free: 7.492 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.006694, allocations: 6 kB / 488.6 MB, free: 7.488 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000837/0.007531, allocations: 341.5 kB / 488.9 MB, free: 7.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.007604, allocations: 61.06 kB / 489 MB, free: 7.32 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.002563/0.01017, allocations: 1.614 MB / 490.6 MB, free: 6.715 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.01037, allocations: 163.4 kB / 490.8 MB, free: 6.656 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.01041, allocations: 9.812 kB / 490.8 MB, free: 6.652 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.01049, allocations: 86.69 kB / 490.9 MB, free: 6.621 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.01065, allocations: 149.6 kB / 491 MB, free: 6.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.01068, allocations: 15.78 kB / 491 MB, free: 6.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.0131, allocations: 2.424 MB / 493.5 MB, free: 5.945 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.01327, allocations: 283.8 kB / 493.7 MB, free: 5.844 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.01343, allocations: 167.3 kB / 493.9 MB, free: 5.785 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.01639, allocations: 2.501 MB / 496.4 MB, free: 5.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.0164, allocations: 0 / 496.4 MB, free: 5.047 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.0164, allocations: 2.219 kB / 496.4 MB, free: 5.047 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.01641, allocations: 0 / 496.4 MB, free: 5.047 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.00478/0.02119, allocations: 1.474 MB / 497.9 MB, free: 4.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.02123, allocations: 9.875 kB / 497.9 MB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.02151, allocations: 104.4 kB / 498 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.02185, allocations: 348.6 kB / 498.3 MB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.02186, allocations: 3.203 kB / 498.3 MB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.02189, allocations: 14.52 kB / 498.3 MB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.02227, allocations: 373.6 kB / 498.7 MB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.02228, allocations: 1.188 kB / 498.7 MB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.02229, allocations: 1.062 kB / 498.7 MB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.0223, allocations: 1.062 kB / 498.7 MB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.02264, allocations: 384.8 kB / 499.1 MB, free: 3.598 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.02319, allocations: 0.6659 MB / 499.8 MB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.02361, allocations: 0.5212 MB / 0.4886 GB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.02385, allocations: 306 kB / 0.4888 GB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003902/0.02424, allocations: 133.6 kB / 0.489 GB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/0.02456, allocations: 386.5 kB / 0.4893 GB, free: 3.004 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.02456, allocations: 4.5 kB / 0.4893 GB, free: 3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001029/0.02559, allocations: 1.181 MB / 0.4905 GB, free: 2.621 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.02562, allocations: 77.67 kB / 0.4906 GB, free: 2.527 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008341/0.02645, allocations: 1.281 MB / 0.4918 GB, free: 17.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.02648, allocations: 27.73 kB / 0.4918 GB, free: 17.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.02665, allocations: 373.7 kB / 0.4922 GB, free: 17.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.02668, allocations: 30.17 kB / 0.4922 GB, free: 17.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.02693, allocations: 401.9 kB / 0.4926 GB, free: 16.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.02706, allocations: 0.4977 MB / 0.4931 GB, free: 16.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.02743, allocations: 0.6731 MB / 0.4938 GB, free: 15.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005702/0.028, allocations: 0.8512 MB / 0.4946 GB, free: 14.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/0.02996, allocations: 2.623 MB / 0.4972 GB, free: 12.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02997, allocations: 0 / 0.4972 GB, free: 12.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003068/0.03303, allocations: 4.241 MB / 0.5013 GB, free: 8.078 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.03305, allocations: 7.938 kB / 0.5013 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.03307, allocations: 5.797 kB / 0.5013 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.03308, allocations: 0 / 0.5013 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.03318, allocations: 19.98 kB / 0.5013 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.03319, allocations: 5.344 kB / 0.5013 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.03346, allocations: 238.8 kB / 0.5016 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.0335, allocations: 27.69 kB / 0.5016 GB, free: 7.789 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.0001343/0.03363, allocations: 167.2 kB / 0.5017 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.03368, allocations: 85.73 kB / 0.5018 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006446/0.03433, allocations: 0.8559 MB / 0.5027 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.03433, allocations: 4.516 kB / 0.5027 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.03434, allocations: 4.969 kB / 0.5027 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.03434, allocations: 0.7969 kB / 0.5027 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.03472, allocations: 0.5291 MB / 0.5032 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.03473, allocations: 0 / 0.5032 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.03476, allocations: 11.94 kB / 0.5032 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.03477, allocations: 1.5 kB / 0.5032 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.03478, allocations: 7.922 kB / 0.5032 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.03478, allocations: 4 kB / 0.5032 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.03478, allocations: 0 / 0.5032 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.03532, allocations: 0.9401 MB / 0.5041 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.03537, allocations: 83.3 kB / 0.5042 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.03542, allocations: 8.875 kB / 0.5042 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.03549, allocations: 3.984 kB / 0.5042 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.03552, allocations: 9.062 kB / 0.5042 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.03555, allocations: 15.97 kB / 0.5042 GB, free: 5.145 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004106/0.03596, allocations: 0.602 MB / 0.5048 GB, free: 4.539 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03596, allocations: 0 / 0.5048 GB, free: 4.539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001701/0.03766, allocations: 0.5884 MB / 0.5054 GB, free: 3.949 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.001388/0.03904, allocations: 0.8031 MB / 0.5062 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009736/0.04002, allocations: 1.415 MB / 0.5076 GB, free: 1.746 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.04002, allocations: 0 / 0.5076 GB, free: 1.746 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.04031, allocations: 311.4 kB / 0.5079 GB, free: 1.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.04058, allocations: 54.66 kB / 0.5079 GB, free: 1.387 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.04195, allocations: 1.688 MB / 0.5096 GB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.04206, allocations: 196.2 kB / 0.5098 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.542e-05/0.04215, allocations: 37.86 kB / 0.5098 GB, free: 15.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.04222, allocations: 24.48 kB / 0.5098 GB, free: 15.4 MB / 442.7 MB Notification: Performance of SimCode: time 9.31e-07/0.04222, allocations: 2.438 kB / 0.5098 GB, free: 15.4 MB / 442.7 MB Notification: Performance of Templates: time 0.01673/0.05896, allocations: 15.05 MB / 0.5245 GB, free: 0.5352 MB / 442.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.001663723029196]