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.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.002232/0.002232, allocations: 105 kB / 20.45 MB, free: 1.5 MB / 14.72 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.002735/0.002735, allocations: 219.9 kB / 23.76 MB, free: 4.711 MB / 14.72 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 1.593/1.593, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 1.002/1.002, allocations: 150 MB / 463.9 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 178] 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_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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 62.41 kB / 0.6426 GB, free: 9.801 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2124, allocations: 89.17 MB / 0.7297 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003034/0.2155, allocations: 1.441 MB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007444/0.2229, allocations: 4.28 MB / 0.7352 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.249e-05/0.223, allocations: 4 kB / 0.7352 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.2231, allocations: 11.86 kB / 0.7353 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.2234, allocations: 39.77 kB / 0.7353 GB, free: 10.89 MB / 0.5606 GB [/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.004919/0.2284, allocations: 1.616 MB / 0.7369 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.2285, allocations: 87.73 kB / 0.737 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.2286, allocations: 4 kB / 0.737 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.267e-05/0.2287, allocations: 51.78 kB / 0.737 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.2289, allocations: 147.6 kB / 0.7371 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.229, allocations: 16 kB / 0.7372 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004787/0.2338, allocations: 2.66 MB / 0.7398 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.234, allocations: 267.9 kB / 0.74 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.2343, allocations: 282.3 kB / 0.7403 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.2381, allocations: 2.157 MB / 0.7424 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2381, allocations: 0 / 0.7424 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2381, allocations: 0 / 0.7424 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.2381, allocations: 0 / 0.7424 GB, free: 3.602 MB / 0.5606 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.009404/0.2475, allocations: 1.272 MB / 0.7436 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.2475, allocations: 12.02 kB / 0.7436 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004464/0.248, allocations: 92.25 kB / 0.7437 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.2484, allocations: 307.2 kB / 0.744 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2485, allocations: 4.375 kB / 0.744 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.2485, allocations: 7.938 kB / 0.744 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.249, allocations: 395.2 kB / 0.7444 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.249, allocations: 3.984 kB / 0.7444 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.249, allocations: 4 kB / 0.7444 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.249, allocations: 4 kB / 0.7444 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.2495, allocations: 431.7 kB / 0.7448 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/0.2501, allocations: 0.6205 MB / 0.7454 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.2507, allocations: 0.5555 MB / 0.746 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.2511, allocations: 341.6 kB / 0.7463 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006906/0.2518, allocations: 131.9 kB / 0.7464 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004338/0.2522, allocations: 404.9 kB / 0.7468 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.2522, allocations: 0 / 0.7468 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001422/0.2536, allocations: 1.301 MB / 0.7481 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.2537, allocations: 77.11 kB / 0.7482 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.2549, allocations: 1.223 MB / 0.7494 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.255, allocations: 29.7 kB / 0.7494 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.2552, allocations: 265.9 kB / 0.7496 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.2552, allocations: 27.81 kB / 0.7497 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.2556, allocations: 351.8 kB / 0.75 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2557, allocations: 313.9 kB / 0.7503 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.2571, allocations: 1.369 MB / 0.7516 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.2585, allocations: 1.505 MB / 0.7531 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007346/0.2659, allocations: 3.56 MB / 0.7566 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.2659, allocations: 3.938 kB / 0.7566 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00486/0.2707, allocations: 4.01 MB / 0.7605 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.2708, allocations: 4 kB / 0.7605 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.2708, allocations: 4 kB / 0.7605 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.2708, allocations: 0 / 0.7605 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.271, allocations: 16.02 kB / 0.7605 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.271, allocations: 4 kB / 0.7605 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.2715, allocations: 245.3 kB / 0.7608 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.2715, allocations: 27.92 kB / 0.7608 GB, free: 388 kB / 0.5762 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.000325/0.2719, allocations: 237.6 kB / 0.761 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.2719, allocations: 71.28 kB / 0.7611 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4491/0.721, allocations: 0.9409 MB / 0.762 GB, free: 35.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.721, allocations: 1.344 kB / 0.762 GB, free: 35.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.721, allocations: 1.375 kB / 0.762 GB, free: 35.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.721, allocations: 2.438 kB / 0.762 GB, free: 35.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.7216, allocations: 474 kB / 0.7625 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.7216, allocations: 0 / 0.7625 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.566e-05/0.7217, allocations: 7.781 kB / 0.7625 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.7217, allocations: 1.531 kB / 0.7625 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.7218, allocations: 2.453 kB / 0.7625 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.7218, allocations: 3 kB / 0.7625 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7218, allocations: 0.6875 kB / 0.7625 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009787/0.7227, allocations: 1.008 MB / 0.7635 GB, free: 34.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/0.7228, allocations: 88.3 kB / 0.7635 GB, free: 34.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.7229, allocations: 3.125 kB / 0.7636 GB, free: 34.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.723, allocations: 5.656 kB / 0.7636 GB, free: 34.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.7231, allocations: 9.844 kB / 0.7636 GB, free: 34.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.7231, allocations: 14.8 kB / 0.7636 GB, free: 34.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000667/0.7238, allocations: 0.6716 MB / 0.7642 GB, free: 34.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.7238, allocations: 0 / 0.7642 GB, free: 34.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001803/0.7256, allocations: 0.5854 MB / 0.7648 GB, free: 34.7 MB / 0.5762 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.001815/0.7274, allocations: 0.7014 MB / 0.7655 GB, free: 34.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002459/0.7299, allocations: 1.997 MB / 0.7674 GB, free: 34.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7299, allocations: 2.5 kB / 0.7674 GB, free: 34.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.7303, allocations: 337.2 kB / 0.7678 GB, free: 34.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.7307, allocations: 40.97 kB / 0.7678 GB, free: 34.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.7333, allocations: 1.816 MB / 0.7696 GB, free: 33.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.7339, allocations: 0.967 MB / 0.7705 GB, free: 33.22 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.734, allocations: 26.48 kB / 0.7705 GB, free: 33.21 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/0.734, allocations: 3.953 kB / 0.7706 GB, free: 33.21 MB / 0.5762 GB Notification: Performance of Templates: time 0.03255/0.7666, allocations: 14.04 MB / 0.7843 GB, free: 30.11 MB / 0.5762 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: 13.96703243884258] Failed to read output from testmodel.py, exit status != 0: 0.7758944758679718 0.787938712 0.54695378 Calling exit ...