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.006997/0.006997, allocations: 105.9 kB / 15.73 MB, free: 6 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.001049/0.001049, allocations: 189 kB / 16.67 MB, free: 5.926 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7767/0.7767, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 63.56 kB / 0.5814 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1543, allocations: 80.21 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001554/0.1559, allocations: 0.5509 MB / 0.6603 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1571, allocations: 0.9879 MB / 0.6612 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.1571, allocations: 0 / 0.6612 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1571, allocations: 3.938 kB / 0.6612 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.1578, allocations: 91.83 kB / 0.6613 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.169e-05/0.1578, allocations: 7.938 kB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.324e-05/0.1579, allocations: 4 kB / 0.6613 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.1579, allocations: 8 kB / 0.6613 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.1579, allocations: 11.97 kB / 0.6613 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1581, allocations: 24.86 kB / 0.6614 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.1582, allocations: 0 / 0.6614 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.1583, allocations: 83.86 kB / 0.6615 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.1583, allocations: 3.938 kB / 0.6615 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.1584, allocations: 7.984 kB / 0.6615 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1585, allocations: 63.92 kB / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1585, allocations: 0 / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1585, allocations: 0 / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1585, allocations: 0 / 0.6615 GB, free: 8.391 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.0003058/0.1589, allocations: 343.5 kB / 0.6619 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1589, allocations: 8.031 kB / 0.6619 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.1589, allocations: 0.9375 kB / 0.6619 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1591, allocations: 168.4 kB / 0.662 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1591, allocations: 4.125 kB / 0.662 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.1591, allocations: 0 / 0.662 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.559e-05/0.1592, allocations: 33.62 kB / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1592, allocations: 0 / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.1592, allocations: 4 kB / 0.6621 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1592, allocations: 4 kB / 0.6621 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.1592, allocations: 0 / 0.6621 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.1596, allocations: 464.6 kB / 0.6625 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.071e-05/0.1597, allocations: 169.1 kB / 0.6627 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.1598, allocations: 96 kB / 0.6628 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1598, allocations: 75.28 kB / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.1598, allocations: 105.8 kB / 0.6629 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1599, allocations: 0 / 0.6629 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.904e-05/0.1599, allocations: 37.59 kB / 0.663 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.16, allocations: 126.7 kB / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.1601, allocations: 97.86 kB / 0.6632 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.1601, allocations: 29.7 kB / 0.6632 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.1601, allocations: 80.14 kB / 0.6633 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.1602, allocations: 0 / 0.6633 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.1602, allocations: 17.7 kB / 0.6633 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1603, allocations: 318.8 kB / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.1603, allocations: 7.938 kB / 0.6636 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.1603, allocations: 0 / 0.6636 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.1604, allocations: 8.922 kB / 0.6636 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1604, allocations: 0 / 0.6636 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.179e-05/0.1604, allocations: 33.7 kB / 0.6637 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1605, allocations: 4 kB / 0.6637 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1605, allocations: 7.984 kB / 0.6637 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1605, allocations: 0 / 0.6637 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.578e-05/0.1605, allocations: 4 kB / 0.6637 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1605, allocations: 3.938 kB / 0.6637 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.1606, allocations: 0 / 0.6637 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1606, allocations: 3.938 kB / 0.6637 GB, free: 5.934 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.69e-05/0.1607, allocations: 189.1 kB / 0.6639 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.1607, allocations: 109 kB / 0.664 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.1608, allocations: 104.1 kB / 0.6641 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.31e-05/0.1608, allocations: 184.2 kB / 0.6642 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.517e-05/0.1609, allocations: 180.3 kB / 0.6644 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.494e-05/0.161, allocations: 184.2 kB / 0.6646 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.1612, allocations: 405.2 kB / 0.665 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-05/0.1612, allocations: 105 kB / 0.6651 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.1613, allocations: 104.9 kB / 0.6652 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.143e-05/0.1613, allocations: 176.3 kB / 0.6653 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.1614, allocations: 184.4 kB / 0.6655 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.501e-05/0.1615, allocations: 196.3 kB / 0.6657 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.078e-05/0.1616, allocations: 176.3 kB / 0.6659 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1617, allocations: 303.7 kB / 0.6662 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.1618, allocations: 190 kB / 0.6663 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.1619, allocations: 180.3 kB / 0.6665 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.1619, allocations: 105 kB / 0.6666 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.162, allocations: 180.2 kB / 0.6668 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.1621, allocations: 104.9 kB / 0.6669 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.1621, allocations: 91.2 kB / 0.667 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1621, allocations: 0 / 0.667 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002604/0.1624, allocations: 20 kB / 0.667 GB, free: 2.309 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.0003491/0.1627, allocations: 227.2 kB / 0.6672 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.165e-05/0.1628, allocations: 7.938 kB / 0.6672 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1628, allocations: 0 / 0.6672 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.1628, allocations: 0 / 0.6672 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1632, allocations: 463.8 kB / 0.6677 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.1635, allocations: 202.1 kB / 0.6679 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1638, allocations: 0.6768 MB / 0.6685 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.1638, allocations: 10.78 kB / 0.6685 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.1638, allocations: 7.438 kB / 0.6685 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1638, allocations: 4 kB / 0.6685 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of Templates: time 0.00296/0.1668, allocations: 0.6492 MB / 0.6692 GB, free: 64 kB / 0.4981 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)