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.0009908/0.0009911, allocations: 109.7 kB / 16.41 MB, free: 6.496 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.0009556/0.0009556, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6562/0.6562, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 61.88 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1269, allocations: 76.18 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002205/0.1291, allocations: 1.414 MB / 0.6335 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005817/0.135, allocations: 4.192 MB / 0.6376 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.135, allocations: 4 kB / 0.6376 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.1352, allocations: 11.86 kB / 0.6376 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.1354, allocations: 43.75 kB / 0.6377 GB, free: 14.7 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.003067/0.1385, allocations: 1.505 MB / 0.6391 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1386, allocations: 91.78 kB / 0.6392 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.1386, allocations: 4 kB / 0.6392 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/0.1387, allocations: 51.78 kB / 0.6393 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1389, allocations: 143.6 kB / 0.6394 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.139, allocations: 16 kB / 0.6394 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.1419, allocations: 2.207 MB / 0.6416 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.1421, allocations: 267.8 kB / 0.6419 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.1424, allocations: 278.3 kB / 0.6421 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.1446, allocations: 2.112 MB / 0.6442 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1446, allocations: 0 / 0.6442 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1446, allocations: 0 / 0.6442 GB, free: 8.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1446, allocations: 0 / 0.6442 GB, free: 8.02 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.009669/0.1543, allocations: 1.3 MB / 0.6455 GB, free: 6.668 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1544, allocations: 12.03 kB / 0.6455 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.1547, allocations: 91.59 kB / 0.6455 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.1551, allocations: 361 kB / 0.6459 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1551, allocations: 16.3 kB / 0.6459 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.1552, allocations: 4.375 kB / 0.6459 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.1556, allocations: 395.4 kB / 0.6463 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1556, allocations: 0 / 0.6463 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1556, allocations: 3.984 kB / 0.6463 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1556, allocations: 0 / 0.6463 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.156, allocations: 439.7 kB / 0.6467 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.1566, allocations: 0.6327 MB / 0.6473 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.157, allocations: 0.5672 MB / 0.6479 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.1573, allocations: 333.7 kB / 0.6482 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009318/0.1583, allocations: 1.028 MB / 0.6492 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003706/0.1586, allocations: 412.8 kB / 0.6496 GB, free: 2.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.1587, allocations: 0 / 0.6496 GB, free: 2.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.001185/0.1598, allocations: 1.293 MB / 0.6509 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1599, allocations: 81.09 kB / 0.6509 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.161, allocations: 1.214 MB / 0.6521 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.161, allocations: 33.7 kB / 0.6522 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.1612, allocations: 257.4 kB / 0.6524 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.1612, allocations: 19.8 kB / 0.6524 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.1615, allocations: 351.6 kB / 0.6528 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1616, allocations: 310 kB / 0.6531 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.1628, allocations: 1.377 MB / 0.6544 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.164, allocations: 1.505 MB / 0.6559 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006556/0.1706, allocations: 3.56 MB / 0.6593 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1706, allocations: 4 kB / 0.6593 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004063/0.1747, allocations: 4.006 MB / 0.6633 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.1747, allocations: 4 kB / 0.6633 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.1747, allocations: 3.984 kB / 0.6633 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1747, allocations: 4 kB / 0.6633 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1749, allocations: 15.94 kB / 0.6633 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.1749, allocations: 0 / 0.6633 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.1754, allocations: 240.2 kB / 0.6635 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.1755, allocations: 23.98 kB / 0.6635 GB, free: 3.555 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.0003137/0.1758, allocations: 245.6 kB / 0.6638 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.1758, allocations: 66.72 kB / 0.6638 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.1761, allocations: 75.06 kB / 0.6639 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1761, allocations: 0 / 0.6639 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1761, allocations: 8.031 kB / 0.6639 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1761, allocations: 0 / 0.6639 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.1766, allocations: 492.9 kB / 0.6644 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1766, allocations: 0 / 0.6644 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.1767, allocations: 15.92 kB / 0.6644 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1767, allocations: 0 / 0.6644 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1767, allocations: 4 kB / 0.6644 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.1767, allocations: 7.938 kB / 0.6644 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1767, allocations: 0 / 0.6644 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009735/0.1777, allocations: 1.005 MB / 0.6654 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.1778, allocations: 155.7 kB / 0.6655 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.1779, allocations: 0 / 0.6655 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.178, allocations: 7.984 kB / 0.6656 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/0.178, allocations: 4 kB / 0.6656 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.1781, allocations: 19.97 kB / 0.6656 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006547/0.1787, allocations: 0.6689 MB / 0.6662 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1788, allocations: 0 / 0.6662 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001351/0.1801, allocations: 0.5818 MB / 0.6668 GB, free: 108 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.001613/0.1817, allocations: 0.692 MB / 0.6675 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002146/0.1839, allocations: 2.556 MB / 0.67 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1839, allocations: 0 / 0.67 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.1842, allocations: 335.8 kB / 0.6703 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.1845, allocations: 40.03 kB / 0.6703 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1863, allocations: 1.74 MB / 0.672 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.1868, allocations: 0.9679 MB / 0.673 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.187, allocations: 28.56 kB / 0.673 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.1871, allocations: 31.41 kB / 0.673 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1871, allocations: 0 / 0.673 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of Templates: time 0.01929/0.2064, allocations: 13.55 MB / 0.6863 GB, free: 12.14 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)