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.001191/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001274/0.001274, allocations: 191.7 kB / 16.14 MB, free: 6.711 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.226/1.226, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8543/0.8543, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.97 kB / 0.5048 GB, free: 5.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1528, allocations: 80.92 MB / 0.5838 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001733/0.1546, allocations: 0.6181 MB / 0.5845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1557, allocations: 1.001 MB / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.115e-05/0.1557, allocations: 0 / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.1558, allocations: 0 / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005804/0.1564, allocations: 79.86 kB / 0.5855 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.529e-05/0.1564, allocations: 11.86 kB / 0.5855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.141e-05/0.1564, allocations: 4 kB / 0.5855 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.1565, allocations: 8 kB / 0.5855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.1565, allocations: 0 / 0.5855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.1567, allocations: 35.97 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.777e-06/0.1567, allocations: 0 / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1569, allocations: 75.91 kB / 0.5856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.325e-06/0.1569, allocations: 0 / 0.5856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.1569, allocations: 7.938 kB / 0.5856 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1571, allocations: 71.91 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1571, allocations: 3.984 kB / 0.5857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1571, allocations: 0 / 0.5857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1571, allocations: 0 / 0.5857 GB, free: 2.93 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.0002887/0.1574, allocations: 339.8 kB / 0.586 GB, free: 2.551 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1574, allocations: 12.03 kB / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.1575, allocations: 30.75 kB / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.1575, allocations: 4.844 kB / 0.5861 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1576, allocations: 164.4 kB / 0.5862 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1576, allocations: 8.125 kB / 0.5862 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-06/0.1576, allocations: 0 / 0.5862 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.433e-05/0.1577, allocations: 37.67 kB / 0.5863 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.1577, allocations: 7.938 kB / 0.5863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.1577, allocations: 0 / 0.5863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1578, allocations: 0 / 0.5863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.1578, allocations: 4 kB / 0.5863 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.1581, allocations: 464.5 kB / 0.5867 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.714e-05/0.1582, allocations: 173.2 kB / 0.5869 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.1582, allocations: 88.14 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1583, allocations: 75.28 kB / 0.5871 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1583, allocations: 105.8 kB / 0.5872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1583, allocations: 0 / 0.5872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.257e-05/0.1584, allocations: 37.62 kB / 0.5872 GB, free: 1.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.1584, allocations: 126.7 kB / 0.5873 GB, free: 1.074 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.1585, allocations: 101.9 kB / 0.5874 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.1585, allocations: 25.7 kB / 0.5874 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.1586, allocations: 84.08 kB / 0.5875 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.1586, allocations: 0 / 0.5875 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.1586, allocations: 17.7 kB / 0.5875 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.1587, allocations: 314.8 kB / 0.5878 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.1587, allocations: 0 / 0.5878 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-06/0.1587, allocations: 8 kB / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/0.1587, allocations: 8.922 kB / 0.5879 GB, free: 500 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1588, allocations: 0 / 0.5879 GB, free: 500 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.552e-05/0.1588, allocations: 37.64 kB / 0.5879 GB, free: 456 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.1589, allocations: 4 kB / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-06/0.1589, allocations: 0 / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1589, allocations: 3.984 kB / 0.5879 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.371e-05/0.1589, allocations: 0 / 0.5879 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1589, allocations: 4 kB / 0.5879 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.1589, allocations: 3.906 kB / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1589, allocations: 7.969 kB / 0.5879 GB, free: 432 kB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/0.159, allocations: 181.1 kB / 0.5881 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.1591, allocations: 112.9 kB / 0.5882 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.1591, allocations: 104.1 kB / 0.5883 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.518e-05/0.1592, allocations: 180.3 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.414e-05/0.1593, allocations: 188.2 kB / 0.5886 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.064e-05/0.1593, allocations: 180.3 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.1595, allocations: 413 kB / 0.5892 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.1595, allocations: 101 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.1596, allocations: 105 kB / 0.5894 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-05/0.1596, allocations: 180.2 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.1597, allocations: 180.3 kB / 0.5897 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.156e-05/0.1597, allocations: 184.2 kB / 0.5899 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-05/0.1598, allocations: 184.3 kB / 0.5901 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1599, allocations: 307.7 kB / 0.5904 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.16, allocations: 182.1 kB / 0.5906 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.16, allocations: 188.2 kB / 0.5907 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.878e-05/0.1601, allocations: 105 kB / 0.5908 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.1602, allocations: 180.3 kB / 0.591 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.1602, allocations: 104.9 kB / 0.5911 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.1603, allocations: 87.39 kB / 0.5912 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1603, allocations: 0 / 0.5912 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002444/0.1605, allocations: 28 kB / 0.5912 GB, free: 12.8 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 (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.00052/0.161, allocations: 0.8589 MB / 0.5921 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.344e-05/0.1611, allocations: 7.938 kB / 0.5921 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1611, allocations: 0 / 0.5921 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.1611, allocations: 0 / 0.5921 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1614, allocations: 0.5262 MB / 0.5926 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.1619, allocations: 243.6 kB / 0.5928 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.1621, allocations: 0.6692 MB / 0.5935 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.644e-05/0.1621, allocations: 7.984 kB / 0.5935 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.1622, allocations: 7.438 kB / 0.5935 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1622, allocations: 0 / 0.5935 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.1725, allocations: 1.397 MB / 0.5949 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/0.1728, allocations: 310.7 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/1.842, allocations: 2.031 kB / 0.5952 GB, free: 8.84 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/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)