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) 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 104 kB / 16.52 MB, free: 6.27 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.001406/0.001406, allocations: 196 kB / 17.44 MB, free: 5.887 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.363/1.363, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7436/0.7436, allocations: 115.3 MB / 406.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 59.91 kB / 493.6 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4697, allocations: 76.18 MB / 0.5564 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.004524/0.4743, allocations: 1.798 MB / 0.5582 GB, free: 34.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.4874, allocations: 5.654 MB / 0.5637 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.4877, allocations: 1.062 kB / 0.5637 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.49, allocations: 365.9 kB / 0.564 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.4904, allocations: 55.47 kB / 0.5641 GB, free: 30.36 MB / 446.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‘. Notification: Performance of NFTyping.typeClassSections: time 0.00743/0.4978, allocations: 1.17 MB / 0.5652 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005721/0.4984, allocations: 204.8 kB / 0.5654 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.4985, allocations: 14.5 kB / 0.5655 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.4987, allocations: 58.41 kB / 0.5655 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.4991, allocations: 183.6 kB / 0.5657 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.278e-05/0.4992, allocations: 14.31 kB / 0.5657 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007557/0.5067, allocations: 2.183 MB / 0.5678 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004798/0.5073, allocations: 277.5 kB / 0.5681 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.5077, allocations: 307.4 kB / 0.5684 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005306/0.513, allocations: 1.55 MB / 0.5699 GB, free: 28.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.5131, allocations: 2.25 kB / 0.5699 GB, free: 28.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.5131, allocations: 0 / 0.5699 GB, free: 28.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.5131, allocations: 5.062 kB / 0.5699 GB, free: 28.51 MB / 446.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.01567/0.5288, allocations: 1.369 MB / 0.5712 GB, free: 27.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/0.5289, allocations: 13.53 kB / 0.5713 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007054/0.5296, allocations: 94.7 kB / 0.5713 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007416/0.5304, allocations: 407.1 kB / 0.5717 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.5304, allocations: 8.672 kB / 0.5717 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.5305, allocations: 10.3 kB / 0.5718 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.5314, allocations: 393.3 kB / 0.5721 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.5314, allocations: 1.875 kB / 0.5721 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.5314, allocations: 4.047 kB / 0.5721 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.5315, allocations: 2.5 kB / 0.5721 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008652/0.5323, allocations: 433.3 kB / 0.5726 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.5336, allocations: 0.6701 MB / 0.5732 GB, free: 26.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.5346, allocations: 0.5613 MB / 0.5738 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006344/0.5353, allocations: 340.2 kB / 0.5741 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/0.5368, allocations: 1.022 MB / 0.5751 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000759/0.5376, allocations: 410.8 kB / 0.5755 GB, free: 25.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 3.497e-06/0.5376, allocations: 0.625 kB / 0.5755 GB, free: 25.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.002896/0.5405, allocations: 1.298 MB / 0.5767 GB, free: 25.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.5406, allocations: 83.16 kB / 0.5768 GB, free: 25.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.5433, allocations: 1.285 MB / 0.5781 GB, free: 24.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.5435, allocations: 32.67 kB / 0.5781 GB, free: 24.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.5438, allocations: 286.6 kB / 0.5784 GB, free: 24.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.5439, allocations: 21.56 kB / 0.5784 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006632/0.5446, allocations: 355 kB / 0.5787 GB, free: 24.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.5447, allocations: 322.4 kB / 0.579 GB, free: 24.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/0.5471, allocations: 1.372 MB / 0.5804 GB, free: 23.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/0.5498, allocations: 1.504 MB / 0.5818 GB, free: 23.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.5611, allocations: 3.564 MB / 0.5853 GB, free: 21.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.5612, allocations: 0 / 0.5853 GB, free: 21.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.007508/0.5687, allocations: 4.015 MB / 0.5892 GB, free: 18.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.5688, allocations: 8 kB / 0.5893 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/0.5688, allocations: 0.6094 kB / 0.5893 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/0.5689, allocations: 7.703 kB / 0.5893 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.5691, allocations: 19.98 kB / 0.5893 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.5691, allocations: 1 kB / 0.5893 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.5703, allocations: 224.4 kB / 0.5895 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/0.5704, allocations: 24.73 kB / 0.5895 GB, free: 18.14 MB / 446.1 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 (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.0006002/0.571, allocations: 250.6 kB / 0.5898 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.5712, allocations: 81.28 kB / 0.5898 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/0.5717, allocations: 79.53 kB / 0.5899 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.5718, allocations: 4 kB / 0.5899 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.5718, allocations: 0 / 0.5899 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5718, allocations: 0.6875 kB / 0.5899 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008264/0.5727, allocations: 0.5218 MB / 0.5904 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5727, allocations: 1.812 kB / 0.5904 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.5728, allocations: 15.86 kB / 0.5904 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.5728, allocations: 0 / 0.5904 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.5728, allocations: 4 kB / 0.5904 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.5729, allocations: 0.875 kB / 0.5905 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5729, allocations: 3.938 kB / 0.5905 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.5741, allocations: 1.008 MB / 0.5914 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.5743, allocations: 159.7 kB / 0.5916 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.5745, allocations: 4.703 kB / 0.5916 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.5748, allocations: 5.844 kB / 0.5916 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.5749, allocations: 7.984 kB / 0.5916 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.575, allocations: 15.98 kB / 0.5916 GB, free: 15.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.5763, allocations: 0.719 MB / 0.5923 GB, free: 15.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.11e-07/0.5763, allocations: 0 / 0.5923 GB, free: 15.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0034/0.5797, allocations: 0.5982 MB / 0.5929 GB, free: 14.58 MB / 446.1 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.004446/0.5842, allocations: 0.6949 MB / 0.5936 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003777/0.588, allocations: 2.552 MB / 0.5961 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.588, allocations: 0 / 0.5961 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.5885, allocations: 346.6 kB / 0.5964 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/0.5895, allocations: 57.47 kB / 0.5965 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.5931, allocations: 2.11 MB / 0.5985 GB, free: 8.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.5937, allocations: 0.9803 MB / 0.5995 GB, free: 7.836 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.594, allocations: 35.41 kB / 0.5995 GB, free: 7.801 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/0.594, allocations: 0 / 0.5995 GB, free: 7.801 MB / 446.1 MB Notification: Performance of Templates: time 0.0325/0.6266, allocations: 14.46 MB / 0.6136 GB, free: 9.348 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (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)