Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001136/0.001136, allocations: 105.1 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.001401/0.001401, allocations: 191 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8102/0.8102, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 64.06 kB / 0.5821 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003106/0.1491, allocations: 1.719 MB / 0.6621 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005927/0.1551, allocations: 4.218 MB / 0.6662 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1553, allocations: 4 kB / 0.6662 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.1568, allocations: 377.2 kB / 0.6666 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.157, allocations: 59.67 kB / 0.6666 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.1599, allocations: 0.9785 MB / 0.6676 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1602, allocations: 158.7 kB / 0.6677 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.1602, allocations: 5.562 kB / 0.6677 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.1603, allocations: 55.77 kB / 0.6678 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.1606, allocations: 163.5 kB / 0.6679 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.1606, allocations: 16 kB / 0.668 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.163, allocations: 1.377 MB / 0.6693 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.1632, allocations: 275.8 kB / 0.6696 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.1635, allocations: 302.1 kB / 0.6698 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.166, allocations: 1.547 MB / 0.6714 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1661, allocations: 8 kB / 0.6714 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1661, allocations: 0 / 0.6714 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.755e-05/0.1661, allocations: 0 / 0.6714 GB, free: 14.95 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.01011/0.1762, allocations: 1.277 MB / 0.6726 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1763, allocations: 9.109 kB / 0.6726 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003964/0.1767, allocations: 95.58 kB / 0.6727 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.1773, allocations: 402 kB / 0.6731 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1773, allocations: 8.375 kB / 0.6731 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.1774, allocations: 15.92 kB / 0.6731 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.1778, allocations: 391.1 kB / 0.6735 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.1778, allocations: 3.938 kB / 0.6735 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1778, allocations: 0 / 0.6735 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1778, allocations: 4 kB / 0.6735 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.1782, allocations: 439.7 kB / 0.6739 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006471/0.1789, allocations: 0.6575 MB / 0.6746 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000491/0.1794, allocations: 0.5632 MB / 0.6751 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.1797, allocations: 341.7 kB / 0.6754 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00093/0.1806, allocations: 1.025 MB / 0.6764 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000383/0.181, allocations: 400.8 kB / 0.6768 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.983e-06/0.1811, allocations: 0 / 0.6768 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001252/0.1823, allocations: 1.3 MB / 0.6781 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.1824, allocations: 85.11 kB / 0.6782 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.1836, allocations: 1.285 MB / 0.6794 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.1837, allocations: 29.7 kB / 0.6795 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.1839, allocations: 285.4 kB / 0.6797 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.1839, allocations: 27.67 kB / 0.6798 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.1842, allocations: 343.6 kB / 0.6801 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.1843, allocations: 318 kB / 0.6804 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.1855, allocations: 1.361 MB / 0.6817 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.1867, allocations: 1.493 MB / 0.6832 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007096/0.1938, allocations: 3.545 MB / 0.6866 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.1939, allocations: 3.938 kB / 0.6866 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004253/0.1982, allocations: 3.973 MB / 0.6905 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1982, allocations: 9.812 kB / 0.6905 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.1982, allocations: 0 / 0.6905 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.1983, allocations: 4 kB / 0.6905 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1984, allocations: 15.98 kB / 0.6905 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1984, allocations: 0 / 0.6905 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.1989, allocations: 232.3 kB / 0.6908 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/0.199, allocations: 23.98 kB / 0.6908 GB, free: 10.43 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.0003056/0.1993, allocations: 253.6 kB / 0.691 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.1994, allocations: 70.69 kB / 0.6911 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.1997, allocations: 79.72 kB / 0.6912 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1997, allocations: 0 / 0.6912 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1998, allocations: 0 / 0.6912 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1998, allocations: 0 / 0.6912 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.2002, allocations: 0.5177 MB / 0.6917 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2002, allocations: 0 / 0.6917 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.2003, allocations: 12.02 kB / 0.6917 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2003, allocations: 4 kB / 0.6917 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2004, allocations: 0 / 0.6917 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.2004, allocations: 4 kB / 0.6917 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2004, allocations: 7.938 kB / 0.6917 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009003/0.2013, allocations: 1.017 MB / 0.6927 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.2014, allocations: 159.7 kB / 0.6929 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.536e-05/0.2015, allocations: 0 / 0.6929 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.2017, allocations: 11.98 kB / 0.6929 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.2017, allocations: 4 kB / 0.6929 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.2018, allocations: 15.97 kB / 0.6929 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008055/0.2026, allocations: 0.7179 MB / 0.6936 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2026, allocations: 3.938 kB / 0.6936 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001106/0.2037, allocations: 403.9 kB / 0.694 GB, free: 7.062 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.001868/0.2056, allocations: 482.8 kB / 0.6944 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002492/0.2081, allocations: 2.492 MB / 0.6969 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2081, allocations: 3.938 kB / 0.6969 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.2085, allocations: 335.8 kB / 0.6972 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.2089, allocations: 65.28 kB / 0.6973 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.2113, allocations: 1.898 MB / 0.6991 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.2118, allocations: 0.9879 MB / 0.7001 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.212, allocations: 31.42 kB / 0.7001 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of SimCode: time 9.21e-07/0.212, allocations: 3.938 kB / 0.7001 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of Templates: time 0.01834/0.2303, allocations: 11.33 MB / 0.7112 GB, free: 5.379 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)