Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 106.9 kB / 16.41 MB, free: 6.5 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.001077/0.001077, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8077/0.8077, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 66.88 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1587, allocations: 80.21 MB / 0.6604 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001633/0.1603, allocations: 0.5498 MB / 0.6609 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1615, allocations: 0.9917 MB / 0.6619 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.831e-05/0.1616, allocations: 0 / 0.6619 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.1616, allocations: 0 / 0.6619 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.1622, allocations: 91.78 kB / 0.662 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.329e-05/0.1623, allocations: 15.94 kB / 0.662 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.006e-05/0.1623, allocations: 4 kB / 0.662 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.1624, allocations: 7.984 kB / 0.662 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.549e-05/0.1624, allocations: 0 / 0.662 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1626, allocations: 28.84 kB / 0.662 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1626, allocations: 7.938 kB / 0.662 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.1628, allocations: 79.92 kB / 0.6621 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.906e-06/0.1628, allocations: 0 / 0.6621 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.1628, allocations: 0 / 0.6621 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.163, allocations: 67.91 kB / 0.6622 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.163, allocations: 4 kB / 0.6622 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.163, allocations: 0 / 0.6622 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.1631, allocations: 4 kB / 0.6622 GB, free: 8.41 MB / 0.4981 GB 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.0003351/0.1634, allocations: 335.5 kB / 0.6625 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1634, allocations: 11.97 kB / 0.6625 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.1635, allocations: 0.9375 kB / 0.6625 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1636, allocations: 164.4 kB / 0.6627 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1636, allocations: 12.05 kB / 0.6627 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1636, allocations: 4 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.1637, allocations: 29.7 kB / 0.6627 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1637, allocations: 7.984 kB / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1637, allocations: 0 / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1638, allocations: 0 / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.1638, allocations: 0 / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.1642, allocations: 468.5 kB / 0.6632 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.1643, allocations: 173.1 kB / 0.6633 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.1643, allocations: 80.14 kB / 0.6634 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1644, allocations: 75.28 kB / 0.6635 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.1644, allocations: 109.8 kB / 0.6636 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.1644, allocations: 4 kB / 0.6636 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.914e-05/0.1645, allocations: 33.55 kB / 0.6636 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.1646, allocations: 130.7 kB / 0.6637 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/0.1647, allocations: 97.86 kB / 0.6638 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.1647, allocations: 25.7 kB / 0.6639 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.1647, allocations: 88.12 kB / 0.6639 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.1647, allocations: 0 / 0.6639 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1648, allocations: 9.719 kB / 0.664 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1649, allocations: 318.8 kB / 0.6643 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-06/0.1649, allocations: 4 kB / 0.6643 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.1649, allocations: 4 kB / 0.6643 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.1649, allocations: 8.859 kB / 0.6643 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.165, allocations: 0 / 0.6643 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.1651, allocations: 37.62 kB / 0.6643 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1651, allocations: 6.031 kB / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1651, allocations: 0 / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1651, allocations: 7.938 kB / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.708e-05/0.1651, allocations: 0 / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1651, allocations: 96 / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.357e-05/0.1652, allocations: 4 kB / 0.6643 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1652, allocations: 3.938 kB / 0.6643 GB, free: 5.957 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 9.563e-05/0.1653, allocations: 189.1 kB / 0.6645 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.1653, allocations: 101 kB / 0.6646 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.1654, allocations: 112 kB / 0.6647 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.324e-05/0.1654, allocations: 176.3 kB / 0.6649 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.87e-05/0.1655, allocations: 188.2 kB / 0.6651 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.644e-05/0.1656, allocations: 176.3 kB / 0.6652 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.1659, allocations: 405.2 kB / 0.6656 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.351e-05/0.1659, allocations: 108.9 kB / 0.6657 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.166, allocations: 101 kB / 0.6658 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.59e-05/0.166, allocations: 188.1 kB / 0.666 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.239e-05/0.1661, allocations: 188.5 kB / 0.6662 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7e-05/0.1662, allocations: 184.3 kB / 0.6664 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.343e-05/0.1662, allocations: 180.2 kB / 0.6665 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.1664, allocations: 311.7 kB / 0.6668 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.1665, allocations: 182.1 kB / 0.667 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.1665, allocations: 180.3 kB / 0.6672 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.1666, allocations: 108.9 kB / 0.6673 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.1667, allocations: 176.3 kB / 0.6674 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.1667, allocations: 104.9 kB / 0.6675 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.1668, allocations: 95.2 kB / 0.6676 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1668, allocations: 0 / 0.6676 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002703/0.1671, allocations: 20 kB / 0.6677 GB, free: 2.328 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.0003683/0.1674, allocations: 229.4 kB / 0.6679 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.823e-05/0.1675, allocations: 4 kB / 0.6679 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1675, allocations: 0 / 0.6679 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.1675, allocations: 0 / 0.6679 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1679, allocations: 463.6 kB / 0.6683 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.1683, allocations: 231.8 kB / 0.6685 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1686, allocations: 0.6807 MB / 0.6692 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.1686, allocations: 7.438 kB / 0.6692 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1686, allocations: 0 / 0.6692 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of Templates: time 0.002396/0.171, allocations: 0.8519 MB / 0.67 GB, free: 15.82 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)