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.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.001503/0.001503, allocations: 117.3 kB / 17.8 MB, free: 5.258 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.001556/0.001556, allocations: 188.6 kB / 20.74 MB, free: 2.324 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.36/1.36, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.9099/0.9099, allocations: 149.6 MB / 453.6 MB, free: 10.55 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_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 0.001858/0.001858, allocations: 66.81 kB / 0.6284 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1491, allocations: 87.83 MB / 0.7142 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003067/0.1522, allocations: 1.755 MB / 0.7159 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008326/0.1605, allocations: 5.421 MB / 0.7212 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1607, allocations: 0 / 0.7212 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.162, allocations: 370.4 kB / 0.7216 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.1621, allocations: 67.66 kB / 0.7216 GB, free: 4.16 MB / 0.5294 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.003919/0.166, allocations: 1.499 MB / 0.7231 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.1663, allocations: 167.3 kB / 0.7233 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.1664, allocations: 5.562 kB / 0.7233 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.649e-05/0.1665, allocations: 63.7 kB / 0.7233 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1667, allocations: 167.5 kB / 0.7235 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.1667, allocations: 16 kB / 0.7235 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.1702, allocations: 2.309 MB / 0.7257 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.1705, allocations: 283.7 kB / 0.726 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.1708, allocations: 314.1 kB / 0.7263 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.174, allocations: 2.188 MB / 0.7285 GB, free: 13.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.174, allocations: 0 / 0.7285 GB, free: 13.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.174, allocations: 0 / 0.7285 GB, free: 13.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.1741, allocations: 0 / 0.7285 GB, free: 13.15 MB / 0.545 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.01028/0.1843, allocations: 1.422 MB / 0.7298 GB, free: 11.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1844, allocations: 8.031 kB / 0.7299 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.1848, allocations: 96.2 kB / 0.7299 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/0.1854, allocations: 410.4 kB / 0.7303 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1854, allocations: 4.375 kB / 0.7303 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.1854, allocations: 15.86 kB / 0.7304 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004658/0.1859, allocations: 391.2 kB / 0.7307 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1859, allocations: 0 / 0.7307 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1859, allocations: 4 kB / 0.7307 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1859, allocations: 0 / 0.7307 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.1864, allocations: 435.7 kB / 0.7311 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007045/0.1871, allocations: 0.6776 MB / 0.7318 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.1877, allocations: 0.5554 MB / 0.7324 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.188, allocations: 337.7 kB / 0.7327 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/0.1892, allocations: 1.028 MB / 0.7337 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004508/0.1896, allocations: 404.8 kB / 0.7341 GB, free: 6.977 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.562e-06/0.1896, allocations: 0 / 0.7341 GB, free: 6.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0015/0.1911, allocations: 1.305 MB / 0.7353 GB, free: 5.664 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.1912, allocations: 85.09 kB / 0.7354 GB, free: 5.562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.1926, allocations: 1.298 MB / 0.7367 GB, free: 4.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.1926, allocations: 29.69 kB / 0.7367 GB, free: 4.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.1929, allocations: 289.9 kB / 0.737 GB, free: 3.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1929, allocations: 19.84 kB / 0.737 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.1933, allocations: 355.6 kB / 0.7373 GB, free: 3.559 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1935, allocations: 322.1 kB / 0.7377 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.1948, allocations: 1.373 MB / 0.739 GB, free: 1.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.1963, allocations: 1.506 MB / 0.7405 GB, free: 356 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007182/0.2034, allocations: 3.564 MB / 0.7439 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.2034, allocations: 3.938 kB / 0.744 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004747/0.2082, allocations: 4.011 MB / 0.7479 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.2082, allocations: 8 kB / 0.7479 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.2082, allocations: 0 / 0.7479 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.2083, allocations: 7.984 kB / 0.7479 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.2084, allocations: 12 kB / 0.7479 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2084, allocations: 32 / 0.7479 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/0.209, allocations: 249.3 kB / 0.7481 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.209, allocations: 19.98 kB / 0.7482 GB, free: 8.344 MB / 0.5606 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.000348/0.2094, allocations: 253.5 kB / 0.7484 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.2094, allocations: 79.25 kB / 0.7485 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.2097, allocations: 79.81 kB / 0.7485 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.2097, allocations: 4 kB / 0.7486 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2097, allocations: 0 / 0.7486 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2097, allocations: 0 / 0.7486 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.2103, allocations: 0.5218 MB / 0.7491 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2103, allocations: 0 / 0.7491 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.2103, allocations: 7.984 kB / 0.7491 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.2104, allocations: 4 kB / 0.7491 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.2104, allocations: 0 / 0.7491 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2104, allocations: 7.922 kB / 0.7491 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2104, allocations: 4 kB / 0.7491 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.2114, allocations: 1.018 MB / 0.7501 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.2116, allocations: 168.4 kB / 0.7502 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.2116, allocations: 3.984 kB / 0.7502 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.2118, allocations: 4 kB / 0.7502 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.2118, allocations: 15.98 kB / 0.7503 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.2119, allocations: 15.92 kB / 0.7503 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008418/0.2127, allocations: 0.7222 MB / 0.751 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2127, allocations: 4 kB / 0.751 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001544/0.2142, allocations: 0.5923 MB / 0.7516 GB, free: 4.742 MB / 0.5606 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.001896/0.2161, allocations: 0.6863 MB / 0.7522 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002201/0.2183, allocations: 2.001 MB / 0.7542 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2183, allocations: 0 / 0.7542 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.2187, allocations: 331.8 kB / 0.7545 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.2191, allocations: 64.58 kB / 0.7546 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.2215, allocations: 1.942 MB / 0.7565 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.2221, allocations: 0.9879 MB / 0.7574 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.2222, allocations: 31.42 kB / 0.7575 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.2222, allocations: 0 / 0.7575 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.02332/0.2456, allocations: 14.58 MB / 0.7717 GB, free: 72 kB / 0.5762 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.964482169947587] Failed to read output from testmodel.py, exit status != 0: 0.25296429893933237 0.265870851 0.089014253 Calling exit ...