Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007832/0.0007832, allocations: 80.53 kB / 19.93 MB, free: 4.609 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.0007674/0.0007674, allocations: 181.2 kB / 23.22 MB, free: 1.32 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.8777/0.8777, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001404/0.001404, allocations: 238.2 kB / 260.2 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6515/0.6515, allocations: 138.4 MB / 455.1 MB, free: 1.621 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.6476 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.379e-05, allocations: 6.219 kB / 0.6476 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00152/0.001544, allocations: 1.423 MB / 0.649 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003983/0.005527, allocations: 3.845 MB / 0.6528 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.005575, allocations: 0 / 0.6528 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.005685, allocations: 18.14 kB / 0.6528 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.005907, allocations: 31.44 kB / 0.6528 GB, free: 24.76 MB / 0.5105 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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.002361/0.008268, allocations: 1.598 MB / 0.6544 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.008381, allocations: 93.17 kB / 0.6545 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.008419, allocations: 2.781 kB / 0.6545 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.008493, allocations: 63.77 kB / 0.6545 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.008655, allocations: 147.2 kB / 0.6547 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.008686, allocations: 14.56 kB / 0.6547 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.01085, allocations: 2.372 MB / 0.657 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.01103, allocations: 274.3 kB / 0.6573 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.01115, allocations: 151.5 kB / 0.6574 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.01348, allocations: 2.444 MB / 0.6598 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01348, allocations: 7.938 kB / 0.6598 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.213e-06/0.01348, allocations: 0 / 0.6598 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.01349, allocations: 1.25 kB / 0.6598 GB, free: 20.51 MB / 0.5105 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.004111/0.0176, allocations: 1.266 MB / 0.661 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.01764, allocations: 16.69 kB / 0.6611 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.01787, allocations: 92.2 kB / 0.6611 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.0181, allocations: 310.4 kB / 0.6614 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.01811, allocations: 4.375 kB / 0.6614 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.01813, allocations: 8.375 kB / 0.6615 GB, free: 18.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.01838, allocations: 391.7 kB / 0.6618 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.01839, allocations: 192 / 0.6618 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.0184, allocations: 8.297 kB / 0.6618 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.01841, allocations: 3.938 kB / 0.6618 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.01862, allocations: 435.7 kB / 0.6623 GB, free: 18.03 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.01891, allocations: 0.5654 MB / 0.6628 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.01918, allocations: 0.5672 MB / 0.6634 GB, free: 16.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.01933, allocations: 333.7 kB / 0.6637 GB, free: 16.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.01971, allocations: 127.9 kB / 0.6638 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.01992, allocations: 412.9 kB / 0.6642 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.01992, allocations: 4 kB / 0.6642 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0006982/0.02062, allocations: 1.289 MB / 0.6655 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.02064, allocations: 88.98 kB / 0.6655 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.02121, allocations: 1.215 MB / 0.6667 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.02123, allocations: 33.7 kB / 0.6668 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.02133, allocations: 269.9 kB / 0.667 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.02135, allocations: 19.89 kB / 0.667 GB, free: 13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.02151, allocations: 343.8 kB / 0.6674 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.101e-05/0.02155, allocations: 314 kB / 0.6677 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005882/0.02213, allocations: 1.373 MB / 0.669 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.02277, allocations: 1.501 MB / 0.6705 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004013/0.02678, allocations: 3.553 MB / 0.6739 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.02678, allocations: 4 kB / 0.6739 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002206/0.02899, allocations: 4.015 MB / 0.6779 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.02901, allocations: 8 kB / 0.6779 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.02902, allocations: 0 / 0.6779 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.02904, allocations: 4 kB / 0.6779 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.02912, allocations: 23.86 kB / 0.6779 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.02913, allocations: 0 / 0.6779 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.02935, allocations: 241.3 kB / 0.6781 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.02938, allocations: 28.02 kB / 0.6782 GB, free: 1.465 MB / 0.5105 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.0001677/0.02955, allocations: 238.3 kB / 0.6784 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.02957, allocations: 71.33 kB / 0.6785 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005367/0.03011, allocations: 0.9438 MB / 0.6794 GB, free: 200 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.03011, allocations: 0 / 0.6794 GB, free: 200 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.03012, allocations: 7.938 kB / 0.6794 GB, free: 192 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.03012, allocations: 0 / 0.6794 GB, free: 192 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.03039, allocations: 443.4 kB / 0.6798 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.03039, allocations: 0 / 0.6798 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.03043, allocations: 4 kB / 0.6798 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.03043, allocations: 4 kB / 0.6798 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.03044, allocations: 3.984 kB / 0.6798 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.03044, allocations: 0 / 0.6798 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03045, allocations: 4 kB / 0.6798 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.03108, allocations: 1.006 MB / 0.6808 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.03113, allocations: 87.33 kB / 0.6809 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.03117, allocations: 0 / 0.6809 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.215e-05/0.03123, allocations: 4 kB / 0.6809 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.03126, allocations: 11.92 kB / 0.6809 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.03129, allocations: 19.98 kB / 0.6809 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004725/0.03176, allocations: 0.6728 MB / 0.6816 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.03176, allocations: 0 / 0.6816 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001408/0.03317, allocations: 0.5883 MB / 0.6821 GB, free: 13.29 MB / 0.5261 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.001404/0.03457, allocations: 0.7934 MB / 0.6829 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.03592, allocations: 1.991 MB / 0.6849 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.03592, allocations: 3.938 kB / 0.6849 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.03614, allocations: 343.7 kB / 0.6852 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.03636, allocations: 28.61 kB / 0.6852 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.03814, allocations: 1.815 MB / 0.687 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.03837, allocations: 372.1 kB / 0.6874 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.03844, allocations: 28.48 kB / 0.6874 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.03844, allocations: 0 / 0.6874 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of Templates: time 0.01305/0.05149, allocations: 14.33 MB / 0.7014 GB, free: 9.551 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.765333757735789] Failed to read output from testmodel.py, exit status != 0: 0.056906930170953274 0.06473680300000001 0.049556175 Calling exit ...