Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001205/0.001205, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001299/0.0013, allocations: 183 kB / 17.34 MB, free: 5.766 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.838/0.838, allocations: 135.1 MB / 426.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 69.98 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1614, allocations: 80.92 MB / 0.6654 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003319/0.1648, allocations: 1.732 MB / 0.6671 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006183/0.171, allocations: 4.224 MB / 0.6712 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1712, allocations: 0 / 0.6712 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.1725, allocations: 370.4 kB / 0.6715 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1726, allocations: 51.72 kB / 0.6716 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.1751, allocations: 0.9855 MB / 0.6725 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.1754, allocations: 155.4 kB / 0.6727 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.1754, allocations: 9.562 kB / 0.6727 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/0.1755, allocations: 51.73 kB / 0.6727 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.1757, allocations: 159.5 kB / 0.6729 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.1758, allocations: 16 kB / 0.6729 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.1778, allocations: 1.377 MB / 0.6743 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.178, allocations: 279.8 kB / 0.6745 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.1783, allocations: 302.1 kB / 0.6748 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.18, allocations: 1.558 MB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.18, allocations: 0 / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.315e-06/0.18, allocations: 0 / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.18, allocations: 0 / 0.6763 GB, free: 10.46 MB / 0.5137 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.009981/0.19, allocations: 1.273 MB / 0.6776 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1901, allocations: 9.109 kB / 0.6776 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.1905, allocations: 99.59 kB / 0.6777 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.1911, allocations: 406 kB / 0.6781 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1911, allocations: 8.312 kB / 0.6781 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.1911, allocations: 7.938 kB / 0.6781 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.1915, allocations: 387.2 kB / 0.6785 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.1916, allocations: 0 / 0.6785 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1916, allocations: 4 kB / 0.6785 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1916, allocations: 7.938 kB / 0.6785 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.192, allocations: 427.8 kB / 0.6789 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.1926, allocations: 0.6652 MB / 0.6795 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.1931, allocations: 0.5671 MB / 0.6801 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.1934, allocations: 333.7 kB / 0.6804 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.1945, allocations: 1.032 MB / 0.6814 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/0.1949, allocations: 404.9 kB / 0.6818 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/0.1949, allocations: 7.938 kB / 0.6818 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001302/0.1962, allocations: 1.285 MB / 0.6831 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.1963, allocations: 89.03 kB / 0.6831 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.1975, allocations: 1.281 MB / 0.6844 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.1975, allocations: 29.7 kB / 0.6844 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.1977, allocations: 285.3 kB / 0.6847 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.1978, allocations: 27.72 kB / 0.6847 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/0.1981, allocations: 351.5 kB / 0.6851 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1982, allocations: 318 kB / 0.6854 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.1993, allocations: 1.361 MB / 0.6867 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.2006, allocations: 1.493 MB / 0.6881 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006757/0.2073, allocations: 3.541 MB / 0.6916 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.2074, allocations: 3.938 kB / 0.6916 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004005/0.2114, allocations: 3.973 MB / 0.6955 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.2114, allocations: 4 kB / 0.6955 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.2115, allocations: 0 / 0.6955 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.2115, allocations: 4 kB / 0.6955 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.2116, allocations: 23.92 kB / 0.6955 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2116, allocations: 0 / 0.6955 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.2121, allocations: 224.3 kB / 0.6957 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.2122, allocations: 23.98 kB / 0.6958 GB, free: 5.953 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003079/0.2125, allocations: 249.6 kB / 0.696 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.2126, allocations: 70.69 kB / 0.6961 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.2128, allocations: 87.66 kB / 0.6961 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2129, allocations: 0 / 0.6961 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2129, allocations: 0 / 0.6961 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2129, allocations: 3.984 kB / 0.6961 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.2133, allocations: 0.5138 MB / 0.6966 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2133, allocations: 4.031 kB / 0.6967 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.2134, allocations: 7.984 kB / 0.6967 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2134, allocations: 7.938 kB / 0.6967 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2134, allocations: 4 kB / 0.6967 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2134, allocations: 3.984 kB / 0.6967 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2134, allocations: 4 kB / 0.6967 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008225/0.2142, allocations: 1.006 MB / 0.6977 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.2144, allocations: 167.6 kB / 0.6978 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.2144, allocations: 3.984 kB / 0.6978 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2146, allocations: 4 kB / 0.6978 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.2146, allocations: 7.984 kB / 0.6978 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.2147, allocations: 11.98 kB / 0.6978 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007372/0.2154, allocations: 0.7179 MB / 0.6985 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.432e-06/0.2154, allocations: 4 kB / 0.6986 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001054/0.2165, allocations: 403.8 kB / 0.6989 GB, free: 2.578 MB / 0.5294 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.001129/0.2176, allocations: 480.2 kB / 0.6994 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.2197, allocations: 2.5 MB / 0.7018 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2197, allocations: 0 / 0.7018 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.22, allocations: 339.8 kB / 0.7022 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.2204, allocations: 65.83 kB / 0.7022 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.2225, allocations: 1.904 MB / 0.7041 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.223, allocations: 0.9801 MB / 0.705 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2231, allocations: 31.41 kB / 0.7051 GB, free: 12.21 MB / 0.545 GB Notification: Performance of SimCode: time 1.894e-06/0.2231, allocations: 0 / 0.7051 GB, free: 12.21 MB / 0.545 GB Notification: Performance of Templates: time 0.01671/0.2398, allocations: 11.19 MB / 0.716 GB, free: 1.027 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)