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.00128/0.00128, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.0009612/0.0009612, allocations: 173 kB / 24.05 MB, free: 456 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.9463/0.9463, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.6282/0.6282, 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.793e-06/1.793e-06, allocations: 4.703 kB / 482.1 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.286e-05, allocations: 2.844 kB / 482.1 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002959/0.002981, allocations: 1.793 MB / 483.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007633/0.01061, allocations: 5.115 MB / 489 MB, free: 7.352 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.01073, allocations: 6.812 kB / 489 MB, free: 7.348 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009647/0.0117, allocations: 343.2 kB / 489.3 MB, free: 7.211 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.801e-05/0.01178, allocations: 60.03 kB / 489.4 MB, free: 7.18 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.002823/0.01461, allocations: 1.64 MB / 491 MB, free: 6.562 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.01481, allocations: 160 kB / 491.2 MB, free: 6.504 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.01485, allocations: 5.531 kB / 491.2 MB, free: 6.504 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.01494, allocations: 77.89 kB / 491.2 MB, free: 6.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.01503, allocations: 69.58 kB / 491.3 MB, free: 6.457 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.01505, allocations: 6.344 kB / 491.3 MB, free: 6.457 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.01791, allocations: 2.422 MB / 493.7 MB, free: 5.816 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.01808, allocations: 264 kB / 494 MB, free: 5.719 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.0182, allocations: 132.8 kB / 494.1 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.02155, allocations: 2.38 MB / 496.5 MB, free: 4.953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.02156, allocations: 0.5625 kB / 496.5 MB, free: 4.953 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02156, allocations: 0 / 496.5 MB, free: 4.953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.02158, allocations: 0 / 496.5 MB, free: 4.953 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.002021/0.0236, allocations: 1.446 MB / 498 MB, free: 3.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.02365, allocations: 12.75 kB / 498 MB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.02392, allocations: 103.3 kB / 498.1 MB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.02422, allocations: 345.5 kB / 498.4 MB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.02423, allocations: 8.5 kB / 498.4 MB, free: 3.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.02425, allocations: 6.609 kB / 498.4 MB, free: 3.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.02449, allocations: 237.5 kB / 498.6 MB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.0245, allocations: 0.6562 kB / 498.6 MB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.02451, allocations: 1.812 kB / 498.7 MB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.02451, allocations: 2 kB / 498.7 MB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.02467, allocations: 199.5 kB / 498.8 MB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.02509, allocations: 0.5037 MB / 499.4 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.02535, allocations: 298.8 kB / 499.6 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.02548, allocations: 162.7 kB / 499.8 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000355/0.02584, allocations: 129.5 kB / 499.9 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.02605, allocations: 235.5 kB / 0.4884 GB, free: 2.984 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.02605, allocations: 1.625 kB / 0.4884 GB, free: 2.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007363/0.02679, allocations: 0.7696 MB / 0.4892 GB, free: 2.871 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.02682, allocations: 85.38 kB / 0.4893 GB, free: 2.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009092/0.02773, allocations: 1.274 MB / 0.4905 GB, free: 2.145 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.02775, allocations: 31.62 kB / 0.4905 GB, free: 2.109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.02799, allocations: 383.7 kB / 0.4909 GB, free: 17.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.02802, allocations: 25.09 kB / 0.4909 GB, free: 17.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.02832, allocations: 426.3 kB / 0.4913 GB, free: 17.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.02846, allocations: 0.497 MB / 0.4918 GB, free: 17.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.02872, allocations: 497.5 kB / 0.4923 GB, free: 16.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.02906, allocations: 0.6651 MB / 0.4929 GB, free: 15.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.03082, allocations: 2.251 MB / 0.4951 GB, free: 13.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.03082, allocations: 0.625 kB / 0.4951 GB, free: 13.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002602/0.03342, allocations: 3.856 MB / 0.4989 GB, free: 9.961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.03344, allocations: 6.406 kB / 0.4989 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.03345, allocations: 8.688 kB / 0.4989 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.03346, allocations: 3.312 kB / 0.4989 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.03357, allocations: 19.56 kB / 0.499 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.03357, allocations: 4 kB / 0.499 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.03394, allocations: 238.8 kB / 0.4992 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.03397, allocations: 36.38 kB / 0.4992 GB, free: 9.664 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 (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.0001336/0.03411, allocations: 163.9 kB / 0.4994 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.03415, allocations: 76.84 kB / 0.4994 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.03462, allocations: 0.5786 MB / 0.5 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.03462, allocations: 4.594 kB / 0.5 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.03462, allocations: 0.5625 kB / 0.5 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.03463, allocations: 3.859 kB / 0.5 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.03497, allocations: 387.6 kB / 0.5004 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.03497, allocations: 0 / 0.5004 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.03502, allocations: 10.11 kB / 0.5004 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.03502, allocations: 0 / 0.5004 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.03503, allocations: 1.406 kB / 0.5004 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.03503, allocations: 4.516 kB / 0.5004 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.03503, allocations: 6.688 kB / 0.5004 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/0.03571, allocations: 0.6684 MB / 0.5011 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.03577, allocations: 87.75 kB / 0.5011 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.03581, allocations: 5.125 kB / 0.5012 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.03588, allocations: 9.266 kB / 0.5012 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.0359, allocations: 10.89 kB / 0.5012 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.03593, allocations: 10.89 kB / 0.5012 GB, free: 7.832 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003899/0.03632, allocations: 0.5686 MB / 0.5017 GB, free: 7.355 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03632, allocations: 7.938 kB / 0.5017 GB, free: 7.348 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001764/0.03809, allocations: 0.5867 MB / 0.5023 GB, free: 6.781 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.00132/0.03941, allocations: 0.7983 MB / 0.5031 GB, free: 6.094 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008147/0.04022, allocations: 1.09 MB / 0.5042 GB, free: 5.094 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.04022, allocations: 0 / 0.5042 GB, free: 5.094 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.04034, allocations: 171 kB / 0.5043 GB, free: 4.941 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.0406, allocations: 59.14 kB / 0.5044 GB, free: 4.887 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.04189, allocations: 1.551 MB / 0.5059 GB, free: 3.301 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.04199, allocations: 191.6 kB / 0.5061 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.024e-05/0.04208, allocations: 37.98 kB / 0.5061 GB, free: 3.059 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.04222, allocations: 114.2 kB / 0.5062 GB, free: 2.945 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.04222, allocations: 3.438 kB / 0.5062 GB, free: 2.945 MB / 426.7 MB Notification: Performance of Templates: time 0.01934/0.06157, allocations: 16.47 MB / 0.5223 GB, free: 2.652 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: 3.983656286727637]