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.0008351/0.0008351, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0008968/0.0008968, allocations: 181 kB / 23.36 MB, free: 1.133 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.9298/0.9298, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.001686/0.001686, allocations: 241.6 kB / 260.5 MB, free: 12.69 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.7232/0.7232, allocations: 138.4 MB / 402.2 MB, free: 0.5234 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.864e-06/1.864e-06, allocations: 0 / 462.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.643e-05, allocations: 5.328 kB / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002922/0.002948, allocations: 1.469 MB / 463.9 MB, free: 15.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007007/0.009955, allocations: 4.025 MB / 467.9 MB, free: 13.04 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.01006, allocations: 7.938 kB / 467.9 MB, free: 13.03 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.0102, allocations: 15.8 kB / 467.9 MB, free: 13.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.0105, allocations: 34.45 kB / 468 MB, free: 12.98 MB / 426.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'. [/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.005394/0.01589, allocations: 1.603 MB / 469.6 MB, free: 11.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.0161, allocations: 95.66 kB / 469.6 MB, free: 11.29 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.01614, allocations: 7.984 kB / 469.7 MB, free: 11.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.01627, allocations: 63.81 kB / 469.7 MB, free: 11.22 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.01642, allocations: 46.34 kB / 469.8 MB, free: 11.18 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.01645, allocations: 4 kB / 469.8 MB, free: 11.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004674/0.02112, allocations: 2.379 MB / 472.1 MB, free: 8.812 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.02133, allocations: 253.8 kB / 472.4 MB, free: 8.566 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.02147, allocations: 119.4 kB / 472.5 MB, free: 8.449 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0045/0.02597, allocations: 2.325 MB / 474.8 MB, free: 6.117 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.02598, allocations: 0 / 474.8 MB, free: 6.117 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02598, allocations: 0 / 474.8 MB, free: 6.117 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.02599, allocations: 0.625 kB / 474.8 MB, free: 6.117 MB / 426.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.002045/0.02804, allocations: 1.207 MB / 476 MB, free: 4.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.02808, allocations: 8.75 kB / 476.1 MB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/0.02841, allocations: 35.05 kB / 476.1 MB, free: 4.848 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.02883, allocations: 290.4 kB / 476.4 MB, free: 4.527 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.02884, allocations: 16.3 kB / 476.4 MB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.02889, allocations: 11.22 kB / 476.4 MB, free: 4.504 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.02918, allocations: 225.9 kB / 476.6 MB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.02919, allocations: 192 / 476.6 MB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.0292, allocations: 5.031 kB / 476.6 MB, free: 4.266 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.0292, allocations: 3.938 kB / 476.6 MB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.02938, allocations: 194.1 kB / 476.8 MB, free: 4.074 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.02971, allocations: 256.5 kB / 477.1 MB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.02997, allocations: 277.8 kB / 477.3 MB, free: 3.512 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.03011, allocations: 162.4 kB / 477.5 MB, free: 3.348 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/0.03054, allocations: 124.1 kB / 477.6 MB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.0308, allocations: 229.7 kB / 477.8 MB, free: 2.992 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.834e-06/0.0308, allocations: 0 / 477.8 MB, free: 2.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005588/0.03136, allocations: 498.8 kB / 478.3 MB, free: 2.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.03141, allocations: 81.11 kB / 478.4 MB, free: 2.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008768/0.03229, allocations: 0.9988 MB / 479.4 MB, free: 1.391 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.03233, allocations: 29.7 kB / 479.4 MB, free: 1.355 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.03251, allocations: 261.7 kB / 479.7 MB, free: 1.094 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.03255, allocations: 23.83 kB / 479.7 MB, free: 1.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.03287, allocations: 335.2 kB / 480 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.03297, allocations: 315.1 kB / 480.4 MB, free: 436 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.0335, allocations: 0.5098 MB / 480.9 MB, free: 15.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/0.03405, allocations: 0.6041 MB / 481.5 MB, free: 15.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.03622, allocations: 2.237 MB / 483.7 MB, free: 12.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.03622, allocations: 0 / 483.7 MB, free: 12.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003764/0.03998, allocations: 3.722 MB / 487.4 MB, free: 9.223 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.04001, allocations: 5.188 kB / 487.4 MB, free: 9.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.04004, allocations: 7.984 kB / 487.4 MB, free: 9.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.04006, allocations: 1.438 kB / 487.4 MB, free: 9.211 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.04021, allocations: 20.81 kB / 487.5 MB, free: 9.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.04022, allocations: 7.984 kB / 487.5 MB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.04068, allocations: 246.1 kB / 487.7 MB, free: 8.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.04073, allocations: 19.98 kB / 487.7 MB, free: 8.922 MB / 442.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.0002017/0.04093, allocations: 123.7 kB / 487.8 MB, free: 8.793 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.04097, allocations: 7.984 kB / 487.9 MB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.04141, allocations: 374.1 kB / 488.2 MB, free: 8.418 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.04142, allocations: 0 / 488.2 MB, free: 8.418 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.04142, allocations: 0 / 488.2 MB, free: 8.418 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.04143, allocations: 11.92 kB / 488.2 MB, free: 8.406 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.04174, allocations: 278.7 kB / 488.5 MB, free: 8.117 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.04175, allocations: 4.734 kB / 488.5 MB, free: 8.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.0418, allocations: 5.25 kB / 488.5 MB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.04181, allocations: 5.188 kB / 488.5 MB, free: 8.105 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.04182, allocations: 4 kB / 488.5 MB, free: 8.102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.04182, allocations: 0 / 488.5 MB, free: 8.102 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.04183, allocations: 10.05 kB / 488.5 MB, free: 8.094 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.04218, allocations: 370.8 kB / 488.9 MB, free: 7.711 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.04227, allocations: 79.33 kB / 489 MB, free: 7.633 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.04233, allocations: 5.156 kB / 489 MB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.04244, allocations: 3.984 kB / 489 MB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.04248, allocations: 12.98 kB / 489 MB, free: 7.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.04252, allocations: 13.2 kB / 489 MB, free: 7.602 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004135/0.04293, allocations: 387.7 kB / 489.4 MB, free: 7.215 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04293, allocations: 4 kB / 489.4 MB, free: 7.211 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001903/0.04483, allocations: 0.5806 MB / 490 MB, free: 6.629 MB / 442.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.002028/0.04686, allocations: 0.8161 MB / 490.8 MB, free: 5.879 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007492/0.04761, allocations: 0.9729 MB / 491.8 MB, free: 4.887 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/0.04762, allocations: 14.59 kB / 491.8 MB, free: 4.875 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.04773, allocations: 164.7 kB / 491.9 MB, free: 4.711 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.04792, allocations: 37.09 kB / 492 MB, free: 4.676 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.04906, allocations: 1.44 MB / 493.4 MB, free: 3.207 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.04916, allocations: 187.1 kB / 493.6 MB, free: 3.004 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.085e-05/0.04925, allocations: 32.23 kB / 493.6 MB, free: 2.984 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.04936, allocations: 71.34 kB / 493.7 MB, free: 2.918 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/0.04936, allocations: 0 / 493.7 MB, free: 2.918 MB / 442.7 MB Notification: Performance of Templates: time 0.01805/0.06741, allocations: 15.46 MB / 0.4972 GB, free: 3.914 MB / 458.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.18574147997424]