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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 102.6 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 196 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6962/0.6962, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 66.08 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1348, allocations: 76.18 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002513/0.1374, allocations: 1.421 MB / 0.6335 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006125/0.1435, allocations: 4.196 MB / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.1436, allocations: 3.938 kB / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.1437, allocations: 11.88 kB / 0.6376 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.144, allocations: 39.77 kB / 0.6377 GB, free: 14.68 MB / 494.1 MB [/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.003515/0.1475, allocations: 1.488 MB / 0.6391 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1477, allocations: 103.7 kB / 0.6392 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.1477, allocations: 8 kB / 0.6392 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.1478, allocations: 47.83 kB / 0.6393 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.148, allocations: 143.6 kB / 0.6394 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.148, allocations: 16 kB / 0.6394 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.1509, allocations: 2.2 MB / 0.6416 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.1511, allocations: 275.8 kB / 0.6419 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.1514, allocations: 278.3 kB / 0.6421 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.1537, allocations: 2.108 MB / 0.6442 GB, free: 8.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.1537, allocations: 7.938 kB / 0.6442 GB, free: 8.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1537, allocations: 0 / 0.6442 GB, free: 8.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1537, allocations: 0 / 0.6442 GB, free: 8.008 MB / 494.1 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.01009/0.1638, allocations: 1.292 MB / 0.6454 GB, free: 6.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1639, allocations: 8.031 kB / 0.6455 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.1643, allocations: 99.52 kB / 0.6455 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.1646, allocations: 368.9 kB / 0.6459 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1647, allocations: 4.375 kB / 0.6459 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1647, allocations: 8.375 kB / 0.6459 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.1651, allocations: 395.4 kB / 0.6463 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1651, allocations: 3.984 kB / 0.6463 GB, free: 5.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1652, allocations: 4 kB / 0.6463 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1652, allocations: 0 / 0.6463 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.1656, allocations: 435.7 kB / 0.6467 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.1662, allocations: 0.6327 MB / 0.6473 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.1667, allocations: 0.5672 MB / 0.6479 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.167, allocations: 337.7 kB / 0.6482 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.1681, allocations: 1.025 MB / 0.6492 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.1685, allocations: 408.8 kB / 0.6496 GB, free: 2.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.1685, allocations: 0 / 0.6496 GB, free: 2.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.001321/0.1699, allocations: 1.297 MB / 0.6509 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.1699, allocations: 85.23 kB / 0.6509 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.1711, allocations: 1.214 MB / 0.6521 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.1712, allocations: 33.7 kB / 0.6522 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.1714, allocations: 261.4 kB / 0.6524 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.1715, allocations: 11.81 kB / 0.6524 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/0.1718, allocations: 351.6 kB / 0.6528 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1719, allocations: 318 kB / 0.6531 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.1731, allocations: 1.373 MB / 0.6544 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.1745, allocations: 1.501 MB / 0.6559 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006909/0.1814, allocations: 3.56 MB / 0.6593 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1814, allocations: 4 kB / 0.6594 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004174/0.1856, allocations: 4.006 MB / 0.6633 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1856, allocations: 11.94 kB / 0.6633 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.1857, allocations: 0 / 0.6633 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1857, allocations: 4 kB / 0.6633 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1858, allocations: 19.98 kB / 0.6633 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1858, allocations: 0 / 0.6633 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.1863, allocations: 232.2 kB / 0.6635 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.1864, allocations: 19.98 kB / 0.6635 GB, free: 3.551 MB / 0.4981 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.0002881/0.1867, allocations: 246.3 kB / 0.6638 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.1867, allocations: 70.72 kB / 0.6638 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.187, allocations: 75.06 kB / 0.6639 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.187, allocations: 0 / 0.6639 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.187, allocations: 4 kB / 0.6639 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.187, allocations: 0 / 0.6639 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.1874, allocations: 496.9 kB / 0.6644 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1875, allocations: 3.938 kB / 0.6644 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.1875, allocations: 19.92 kB / 0.6644 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1876, allocations: 0 / 0.6644 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1876, allocations: 0 / 0.6644 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1876, allocations: 4 kB / 0.6644 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1876, allocations: 0 / 0.6644 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/0.1885, allocations: 1.001 MB / 0.6654 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1886, allocations: 159.7 kB / 0.6655 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.1886, allocations: 0 / 0.6655 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.1888, allocations: 11.98 kB / 0.6656 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.1888, allocations: 4 kB / 0.6656 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.1889, allocations: 15.97 kB / 0.6656 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006938/0.1896, allocations: 0.6728 MB / 0.6662 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1896, allocations: 0 / 0.6662 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001472/0.1911, allocations: 0.5818 MB / 0.6668 GB, free: 96 kB / 0.4981 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.001691/0.1928, allocations: 0.6875 MB / 0.6675 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.1951, allocations: 2.556 MB / 0.67 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1951, allocations: 0 / 0.67 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.1954, allocations: 331.8 kB / 0.6703 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1957, allocations: 45.08 kB / 0.6703 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.1976, allocations: 1.748 MB / 0.672 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.1981, allocations: 0.964 MB / 0.673 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.1983, allocations: 36.55 kB / 0.673 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-05/0.1984, allocations: 27.41 kB / 0.673 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1984, allocations: 0 / 0.673 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of Templates: time 0.02071/0.2191, allocations: 13.55 MB / 0.6863 GB, free: 12.13 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (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)