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.001088/0.001087, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009355/0.009355, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9571/0.9571, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003927, allocations: 12.66 kB / 0.5077 GB, free: 4.605 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1665, allocations: 82.31 MB / 0.5881 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007331/0.1673, allocations: 282.4 kB / 0.5884 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1686, allocations: 0.9932 MB / 0.5894 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.1687, allocations: 0 / 0.5894 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.1687, allocations: 0 / 0.5894 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007567/0.1695, allocations: 79.84 kB / 0.5894 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.735e-05/0.1695, allocations: 4 kB / 0.5894 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.779e-05/0.1696, allocations: 15.88 kB / 0.5895 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.1696, allocations: 4 kB / 0.5895 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.1696, allocations: 7.984 kB / 0.5895 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.1699, allocations: 27.97 kB / 0.5895 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1699, allocations: 0 / 0.5895 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.1701, allocations: 75.92 kB / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1701, allocations: 3.984 kB / 0.5896 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.1702, allocations: 33.64 kB / 0.5896 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.1703, allocations: 67.91 kB / 0.5897 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1704, allocations: 4 kB / 0.5897 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1704, allocations: 0 / 0.5897 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1704, allocations: 0 / 0.5897 GB, free: 0.8516 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.0003211/0.1707, allocations: 331.8 kB / 0.59 GB, free: 492 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1708, allocations: 12.03 kB / 0.59 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.1708, allocations: 34.75 kB / 0.59 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.1708, allocations: 8.781 kB / 0.59 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1709, allocations: 164.4 kB / 0.5902 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.171, allocations: 8.062 kB / 0.5902 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.171, allocations: 4 kB / 0.5902 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.503e-05/0.1711, allocations: 29.69 kB / 0.5902 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.1711, allocations: 4 kB / 0.5902 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1711, allocations: 0 / 0.5902 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1711, allocations: 3.938 kB / 0.5903 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.1711, allocations: 4 kB / 0.5903 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.1715, allocations: 460.6 kB / 0.5907 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.1716, allocations: 181.1 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.1717, allocations: 84.14 kB / 0.5909 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1717, allocations: 75.28 kB / 0.591 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1717, allocations: 105.8 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1717, allocations: 0 / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.479e-05/0.1718, allocations: 25.7 kB / 0.5911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.1719, allocations: 138.6 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.172, allocations: 105.8 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.172, allocations: 25.7 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.172, allocations: 80.14 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.172, allocations: 0 / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.1721, allocations: 9.719 kB / 0.5915 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.1722, allocations: 322.8 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.1722, allocations: 0 / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-06/0.1722, allocations: 4 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.1722, allocations: 12.92 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1722, allocations: 0 / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001041/0.1723, allocations: 33.64 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1724, allocations: 8 kB / 0.5919 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1724, allocations: 0 / 0.5919 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1724, allocations: 0 / 0.5919 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.895e-05/0.1724, allocations: 4 kB / 0.5919 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1724, allocations: 0 / 0.5919 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.1724, allocations: 3.984 kB / 0.5919 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.1724, allocations: 7.969 kB / 0.5919 GB, free: 14.35 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.423e-05/0.1725, allocations: 185.1 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.1726, allocations: 108.9 kB / 0.5921 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.1726, allocations: 108 kB / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.073e-05/0.1727, allocations: 180.3 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.587e-05/0.1728, allocations: 184.3 kB / 0.5926 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/0.1728, allocations: 184.2 kB / 0.5928 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.1731, allocations: 405.2 kB / 0.5932 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.885e-05/0.1731, allocations: 112.8 kB / 0.5933 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.1732, allocations: 104.9 kB / 0.5934 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.372e-05/0.1732, allocations: 176.3 kB / 0.5935 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.1733, allocations: 188.2 kB / 0.5937 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.061e-05/0.1733, allocations: 176.3 kB / 0.5939 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.695e-05/0.1734, allocations: 188.2 kB / 0.5941 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.1735, allocations: 307.7 kB / 0.5944 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.402e-05/0.1736, allocations: 186.1 kB / 0.5945 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.1737, allocations: 184.2 kB / 0.5947 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.1737, allocations: 104.9 kB / 0.5948 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.1738, allocations: 176.3 kB / 0.595 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.1738, allocations: 108.9 kB / 0.5951 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.1739, allocations: 87.2 kB / 0.5952 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1739, allocations: 0 / 0.5952 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002689/0.1742, allocations: 24 kB / 0.5952 GB, free: 10.72 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.0005842/0.1748, allocations: 0.8482 MB / 0.596 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.529e-05/0.1748, allocations: 4 kB / 0.596 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1748, allocations: 0 / 0.596 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.457e-06/0.1749, allocations: 3.938 kB / 0.596 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1752, allocations: 0.5223 MB / 0.5965 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.1757, allocations: 239.6 kB / 0.5968 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.1759, allocations: 0.6731 MB / 0.5974 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.1759, allocations: 0 / 0.5974 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.176, allocations: 11.42 kB / 0.5974 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.176, allocations: 3.938 kB / 0.5974 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1353/0.3113, allocations: 1.32 MB / 0.5987 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004178/0.3118, allocations: 310.7 kB / 0.599 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.102, allocations: 0 / 0.599 GB, free: 6.871 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)