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_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 121.2 kB / 17.81 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 189.5 kB / 20.74 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.6 MB / 249.2 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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.8218/0.8218, allocations: 128.4 MB / 432.4 MB, free: 13.31 MB / 350.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 0.5988 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4089, allocations: 83.27 MB / 0.6801 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002193/0.4111, allocations: 1.42 MB / 0.6815 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005174/0.4163, allocations: 4.234 MB / 0.6856 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.4164, allocations: 1.156 kB / 0.6856 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.4165, allocations: 12.95 kB / 0.6856 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.4167, allocations: 39.67 kB / 0.6857 GB, free: 2.586 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.4203, allocations: 1.503 MB / 0.6871 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.4204, allocations: 97.66 kB / 0.6872 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.4205, allocations: 3.25 kB / 0.6872 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.4205, allocations: 46.52 kB / 0.6873 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.4207, allocations: 158.8 kB / 0.6874 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.4208, allocations: 18.06 kB / 0.6875 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.424, allocations: 2.305 MB / 0.6897 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.4242, allocations: 269.5 kB / 0.69 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.4245, allocations: 273.8 kB / 0.6902 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003252/0.4278, allocations: 2.129 MB / 0.6923 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4278, allocations: 4 kB / 0.6923 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4278, allocations: 0 / 0.6923 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.4278, allocations: 1.031 kB / 0.6923 GB, free: 14.59 MB / 0.5137 GB 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.01039/0.4382, allocations: 1.338 MB / 0.6936 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4382, allocations: 9.375 kB / 0.6936 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/0.4387, allocations: 93.02 kB / 0.6937 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.4391, allocations: 367.7 kB / 0.6941 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.4391, allocations: 6.609 kB / 0.6941 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.4392, allocations: 9.406 kB / 0.6941 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.4396, allocations: 386.3 kB / 0.6944 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4396, allocations: 1.188 kB / 0.6944 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.4396, allocations: 7.984 kB / 0.6945 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4397, allocations: 1.469 kB / 0.6945 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.4401, allocations: 433.9 kB / 0.6949 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.4408, allocations: 0.6334 MB / 0.6955 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.4413, allocations: 0.5637 MB / 0.696 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.4416, allocations: 340.4 kB / 0.6964 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.4428, allocations: 1.023 MB / 0.6974 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004012/0.4432, allocations: 410.7 kB / 0.6978 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.4432, allocations: 1.25 kB / 0.6978 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001429/0.4446, allocations: 1.296 MB / 0.699 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.4447, allocations: 83.48 kB / 0.6991 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.446, allocations: 1.215 MB / 0.7003 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.446, allocations: 31.2 kB / 0.7003 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.4462, allocations: 273.6 kB / 0.7006 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.4463, allocations: 19.62 kB / 0.7006 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/0.4466, allocations: 357.6 kB / 0.7009 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4468, allocations: 314 kB / 0.7012 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.4481, allocations: 1.373 MB / 0.7026 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.4495, allocations: 1.505 MB / 0.704 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006974/0.4565, allocations: 3.56 MB / 0.7075 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.4565, allocations: 3.938 kB / 0.7075 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004491/0.461, allocations: 4.007 MB / 0.7114 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.461, allocations: 4.031 kB / 0.7114 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.461, allocations: 8 kB / 0.7114 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.4611, allocations: 0 / 0.7114 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.4612, allocations: 23.98 kB / 0.7115 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4612, allocations: 3.938 kB / 0.7115 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.4618, allocations: 237.4 kB / 0.7117 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.4619, allocations: 23.98 kB / 0.7117 GB, free: 14.11 MB / 0.5294 GB 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.0003448/0.4622, allocations: 241.5 kB / 0.712 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.4623, allocations: 75.34 kB / 0.712 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.4626, allocations: 71.06 kB / 0.7121 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4626, allocations: 4 kB / 0.7121 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4626, allocations: 0 / 0.7121 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4626, allocations: 0 / 0.7121 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.4631, allocations: 0.4969 MB / 0.7126 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4631, allocations: 7.922 kB / 0.7126 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.176e-05/0.4632, allocations: 12.02 kB / 0.7126 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4632, allocations: 0 / 0.7126 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.4632, allocations: 4 kB / 0.7126 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.4632, allocations: 0 / 0.7126 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4632, allocations: 3.938 kB / 0.7126 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.4641, allocations: 1.01 MB / 0.7136 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.4643, allocations: 156.4 kB / 0.7137 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.4643, allocations: 4 kB / 0.7138 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.4645, allocations: 7.984 kB / 0.7138 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.4645, allocations: 4 kB / 0.7138 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.4645, allocations: 15.97 kB / 0.7138 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007733/0.4653, allocations: 0.6689 MB / 0.7144 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4653, allocations: 0 / 0.7144 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001907/0.4672, allocations: 0.5884 MB / 0.715 GB, free: 10.63 MB / 0.5294 GB 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.001873/0.4691, allocations: 0.707 MB / 0.7157 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.4712, allocations: 1.997 MB / 0.7176 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4712, allocations: 0 / 0.7176 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.4716, allocations: 335.9 kB / 0.718 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.4719, allocations: 45.19 kB / 0.718 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.4742, allocations: 1.807 MB / 0.7198 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.4748, allocations: 0.9679 MB / 0.7207 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.4749, allocations: 27.42 kB / 0.7207 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.4749, allocations: 0 / 0.7207 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of Templates: time 0.02292/0.4978, allocations: 13.92 MB / 0.7343 GB, free: 6.766 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.703222236130387] Failed to read output from testmodel.py, exit status != 0: 0.5061251150909811 0.5182884710000001 0.087833541 Calling exit ...