Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007847/0.000785, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008564/0.0008564, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8959/0.8959, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 16 kB / 0.5071 GB, free: 5.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1645, allocations: 82.3 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007088/0.1652, allocations: 278.8 kB / 0.5878 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1664, allocations: 0.9699 MB / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.1664, allocations: 0 / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.119e-05/0.1665, allocations: 11.88 kB / 0.5887 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006331/0.1671, allocations: 83.84 kB / 0.5888 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.777e-05/0.1671, allocations: 8 kB / 0.5888 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.608e-05/0.1672, allocations: 0 / 0.5888 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.1672, allocations: 0 / 0.5888 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.1673, allocations: 7.984 kB / 0.5888 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1675, allocations: 31.91 kB / 0.5889 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.1675, allocations: 0 / 0.5889 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1676, allocations: 67.94 kB / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.616e-06/0.1677, allocations: 3.984 kB / 0.5889 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.1677, allocations: 29.7 kB / 0.589 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.921e-05/0.1678, allocations: 43.95 kB / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1678, allocations: 0 / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1678, allocations: 0 / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1678, allocations: 0 / 0.589 GB, free: 1.324 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002832/0.1681, allocations: 335.6 kB / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1681, allocations: 8.031 kB / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.1682, allocations: 34.55 kB / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.1682, allocations: 3.906 kB / 0.5894 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1683, allocations: 171 kB / 0.5895 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1683, allocations: 0 / 0.5895 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.1683, allocations: 0 / 0.5895 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.772e-05/0.1684, allocations: 33.62 kB / 0.5896 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1684, allocations: 0 / 0.5896 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1685, allocations: 4 kB / 0.5896 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1685, allocations: 0 / 0.5896 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.1685, allocations: 7.984 kB / 0.5896 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.1688, allocations: 468.6 kB / 0.59 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/0.1689, allocations: 169.1 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.169, allocations: 84.17 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.169, allocations: 75.28 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.169, allocations: 105.8 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1691, allocations: 4 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.162e-05/0.1691, allocations: 29.7 kB / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.1692, allocations: 130.7 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.1693, allocations: 105.7 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1693, allocations: 25.7 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.1693, allocations: 80.14 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.1693, allocations: 4 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.1693, allocations: 4 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.1694, allocations: 314.8 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.1695, allocations: 0 / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.1695, allocations: 3.938 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.786e-05/0.1695, allocations: 7.984 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1695, allocations: 0 / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.512e-05/0.1696, allocations: 29.7 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1696, allocations: 8 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1696, allocations: 0 / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1696, allocations: 8.031 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-05/0.1697, allocations: 0 / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1697, allocations: 0 / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.1697, allocations: 0 / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1697, allocations: 3.953 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.442e-05/0.1698, allocations: 193.1 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.1698, allocations: 108.9 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.1699, allocations: 104.1 kB / 0.5915 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.449e-05/0.1699, allocations: 188.2 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.038e-05/0.17, allocations: 176.4 kB / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.503e-05/0.1701, allocations: 184.2 kB / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.1703, allocations: 409.2 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/0.1703, allocations: 101 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.1703, allocations: 112.9 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.154e-05/0.1704, allocations: 176.3 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.1705, allocations: 188.2 kB / 0.593 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.774e-05/0.1705, allocations: 180.3 kB / 0.5932 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.908e-05/0.1706, allocations: 176.3 kB / 0.5933 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.1707, allocations: 319.7 kB / 0.5936 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.1708, allocations: 182 kB / 0.5938 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.1708, allocations: 180.3 kB / 0.594 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.1709, allocations: 105 kB / 0.5941 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.171, allocations: 180.2 kB / 0.5943 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.171, allocations: 109 kB / 0.5944 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.171, allocations: 79.47 kB / 0.5944 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1711, allocations: 0 / 0.5944 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002434/0.1713, allocations: 23.98 kB / 0.5945 GB, free: 11.24 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000557/0.1719, allocations: 0.8714 MB / 0.5953 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.823e-05/0.1719, allocations: 0 / 0.5953 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1719, allocations: 0 / 0.5953 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.1719, allocations: 4 kB / 0.5953 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1723, allocations: 0.5302 MB / 0.5958 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.1728, allocations: 227.6 kB / 0.5961 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.173, allocations: 0.6692 MB / 0.5967 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.173, allocations: 4 kB / 0.5967 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.1731, allocations: 11.44 kB / 0.5967 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1731, allocations: 0 / 0.5967 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.1836, allocations: 1.307 MB / 0.598 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.1839, allocations: 290.6 kB / 0.5983 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/1.985, allocations: 7.375 kB / 0.5983 GB, free: 7.414 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) Environment - environmentSimulation: