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.0007716/0.0007716, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008102/0.0008103, allocations: 178.1 kB / 16.92 MB, free: 6.645 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.311/1.311, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6831/0.6831, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 12 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, allocations: 77.55 MB / 0.56 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001897/0.1357, allocations: 1.46 MB / 0.5614 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007975/0.1437, allocations: 5.537 MB / 0.5668 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1439, allocations: 4 kB / 0.5668 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.145, allocations: 354.6 kB / 0.5672 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1452, allocations: 59.72 kB / 0.5672 GB, free: 1.547 MB / 430.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.003182/0.1484, allocations: 1.169 MB / 0.5684 GB, free: 388 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1487, allocations: 191.4 kB / 0.5686 GB, free: 196 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.1487, allocations: 29.45 kB / 0.5686 GB, free: 168 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.1488, allocations: 47.8 kB / 0.5686 GB, free: 120 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.1491, allocations: 188.7 kB / 0.5688 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.1492, allocations: 12 kB / 0.5688 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.1525, allocations: 2.184 MB / 0.571 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.1527, allocations: 279.8 kB / 0.5712 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.153, allocations: 339.8 kB / 0.5716 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.1562, allocations: 2.217 MB / 0.5737 GB, free: 10.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1562, allocations: 0 / 0.5737 GB, free: 10.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1562, allocations: 0 / 0.5737 GB, free: 10.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1562, allocations: 3.938 kB / 0.5737 GB, free: 10.89 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.01116/0.1674, allocations: 1.308 MB / 0.575 GB, free: 9.531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1674, allocations: 8.031 kB / 0.575 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.1678, allocations: 95.59 kB / 0.5751 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.1683, allocations: 406.1 kB / 0.5755 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1683, allocations: 12.36 kB / 0.5755 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.1684, allocations: 4.375 kB / 0.5755 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.1688, allocations: 395.5 kB / 0.5759 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.1689, allocations: 0 / 0.5759 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1689, allocations: 4 kB / 0.5759 GB, free: 8.566 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1689, allocations: 0 / 0.5759 GB, free: 8.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004461/0.1693, allocations: 435.7 kB / 0.5763 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.1701, allocations: 0.6655 MB / 0.5769 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.1706, allocations: 0.5671 MB / 0.5775 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.171, allocations: 337.7 kB / 0.5778 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.1721, allocations: 1.036 MB / 0.5788 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000428/0.1725, allocations: 408.8 kB / 0.5792 GB, free: 4.828 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 2.775e-06/0.1725, allocations: 0 / 0.5792 GB, free: 4.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.00133/0.1739, allocations: 1.304 MB / 0.5805 GB, free: 3.516 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1739, allocations: 89.03 kB / 0.5806 GB, free: 3.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.1753, allocations: 1.289 MB / 0.5818 GB, free: 2.109 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.1753, allocations: 33.69 kB / 0.5819 GB, free: 2.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.1756, allocations: 281.4 kB / 0.5821 GB, free: 1.789 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.1756, allocations: 15.81 kB / 0.5822 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.1759, allocations: 295.8 kB / 0.5824 GB, free: 1.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.176, allocations: 318 kB / 0.5827 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.238/0.4141, allocations: 1.37 MB / 0.5841 GB, free: 30.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.4157, allocations: 1.503 MB / 0.5855 GB, free: 30.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007408/0.4231, allocations: 3.559 MB / 0.589 GB, free: 28.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.4232, allocations: 1.281 kB / 0.589 GB, free: 28.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004314/0.4275, allocations: 4.015 MB / 0.5929 GB, free: 26.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4275, allocations: 5.688 kB / 0.593 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.4275, allocations: 4.547 kB / 0.593 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4276, allocations: 1.188 kB / 0.593 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.4277, allocations: 19.45 kB / 0.593 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4277, allocations: 2.141 kB / 0.593 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.4282, allocations: 231.1 kB / 0.5932 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.4283, allocations: 22.86 kB / 0.5932 GB, free: 26.38 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.00032/0.4286, allocations: 249.4 kB / 0.5935 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.4287, allocations: 79.81 kB / 0.5935 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.429, allocations: 77.72 kB / 0.5936 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.429, allocations: 1.531 kB / 0.5936 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.429, allocations: 2.016 kB / 0.5936 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.429, allocations: 1.641 kB / 0.5936 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.4295, allocations: 0.5166 MB / 0.5941 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4295, allocations: 1.094 kB / 0.5941 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.4296, allocations: 10.47 kB / 0.5941 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4296, allocations: 3.328 kB / 0.5941 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.4296, allocations: 10.91 kB / 0.5941 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4297, allocations: 1.266 kB / 0.5941 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4297, allocations: 0.6875 kB / 0.5941 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.4308, allocations: 1.007 MB / 0.5951 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.251e-05/0.4309, allocations: 156.3 kB / 0.5953 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.431, allocations: 9.109 kB / 0.5953 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.4311, allocations: 4.969 kB / 0.5953 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.4312, allocations: 9.078 kB / 0.5953 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.4312, allocations: 18.39 kB / 0.5953 GB, free: 25.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000857/0.4321, allocations: 0.7281 MB / 0.596 GB, free: 25.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4321, allocations: 0 / 0.596 GB, free: 25.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001619/0.4337, allocations: 0.5951 MB / 0.5966 GB, free: 25.28 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.001675/0.4354, allocations: 0.6832 MB / 0.5973 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.4377, allocations: 2.553 MB / 0.5998 GB, free: 24.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4377, allocations: 3.406 kB / 0.5998 GB, free: 24.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.4381, allocations: 335.2 kB / 0.6001 GB, free: 24.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.4386, allocations: 58.09 kB / 0.6001 GB, free: 24.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.4409, allocations: 2.091 MB / 0.6022 GB, free: 23.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.4414, allocations: 0.9849 MB / 0.6032 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002167/0.4416, allocations: 42.25 kB / 0.6032 GB, free: 22.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.4417, allocations: 27.98 kB / 0.6032 GB, free: 22.56 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4418, allocations: 0 / 0.6032 GB, free: 22.56 MB / 446.1 MB Notification: Performance of Templates: time 0.02157/0.4633, allocations: 13.79 MB / 0.6167 GB, free: 15.96 MB / 446.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)