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.001182/0.001182, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001186/0.001186, allocations: 187 kB / 17.34 MB, free: 5.766 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7684/0.7684, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.05 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1529, 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.001778/0.1547, allocations: 0.5535 MB / 0.6609 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1561, allocations: 0.9956 MB / 0.6619 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.1561, allocations: 0 / 0.6619 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.1561, allocations: 0 / 0.6619 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006786/0.1568, allocations: 91.78 kB / 0.662 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.201e-05/0.1569, allocations: 7.938 kB / 0.662 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.752e-05/0.157, allocations: 11.98 kB / 0.662 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.157, allocations: 4 kB / 0.662 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.157, allocations: 3.984 kB / 0.662 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.1573, allocations: 28.86 kB / 0.662 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1573, allocations: 7.938 kB / 0.662 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1575, allocations: 75.92 kB / 0.6621 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.1575, allocations: 0 / 0.6621 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.1575, allocations: 7.922 kB / 0.6621 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.1577, allocations: 63.92 kB / 0.6622 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1577, allocations: 0 / 0.6622 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1577, allocations: 4 kB / 0.6622 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.1577, allocations: 4 kB / 0.6622 GB, free: 8.398 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.0003336/0.158, allocations: 335.5 kB / 0.6625 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1581, allocations: 8.031 kB / 0.6625 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.1581, allocations: 0.9375 kB / 0.6625 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1583, allocations: 168.4 kB / 0.6627 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1583, allocations: 4.125 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1583, allocations: 0 / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.241e-05/0.1584, allocations: 33.7 kB / 0.6627 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1584, allocations: 4 kB / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1584, allocations: 0 / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1584, allocations: 0 / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.265e-05/0.1584, allocations: 3.938 kB / 0.6627 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.1589, allocations: 468.6 kB / 0.6632 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.159, allocations: 169.1 kB / 0.6633 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.159, allocations: 80.14 kB / 0.6634 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.159, allocations: 79.27 kB / 0.6635 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.1591, allocations: 105.8 kB / 0.6636 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.404e-06/0.1591, allocations: 4 kB / 0.6636 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.692e-05/0.1592, allocations: 37.55 kB / 0.6636 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.1592, allocations: 130.7 kB / 0.6637 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.1593, allocations: 101.8 kB / 0.6638 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1594, allocations: 25.7 kB / 0.6639 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.1594, allocations: 88.14 kB / 0.664 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-06/0.1594, allocations: 0 / 0.664 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.1595, allocations: 9.719 kB / 0.664 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1596, allocations: 314.8 kB / 0.6643 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.1596, allocations: 4 kB / 0.6643 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.1597, allocations: 4 kB / 0.6643 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.1597, allocations: 12.8 kB / 0.6643 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1597, allocations: 0 / 0.6643 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001318/0.1599, allocations: 37.69 kB / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1599, allocations: 4 kB / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1599, allocations: 0 / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.1599, allocations: 7.938 kB / 0.6643 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.45e-05/0.16, allocations: 0 / 0.6643 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.16, allocations: 0 / 0.6643 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.16, allocations: 4.094 kB / 0.6643 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.16, allocations: 7.938 kB / 0.6643 GB, free: 5.945 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 0.0001035/0.1601, allocations: 185.1 kB / 0.6645 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.1602, allocations: 104.9 kB / 0.6646 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.1603, allocations: 108.1 kB / 0.6647 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.871e-05/0.1604, allocations: 180.3 kB / 0.6649 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.284e-05/0.1605, allocations: 188.2 kB / 0.6651 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.054e-05/0.1605, allocations: 176.5 kB / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.1608, allocations: 405.1 kB / 0.6656 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.543e-05/0.1609, allocations: 109 kB / 0.6657 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.1609, allocations: 105 kB / 0.6658 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.953e-05/0.161, allocations: 184.2 kB / 0.666 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.617e-05/0.1611, allocations: 184.5 kB / 0.6662 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.705e-05/0.1612, allocations: 188.2 kB / 0.6664 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.718e-05/0.1613, allocations: 176.3 kB / 0.6665 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.1615, allocations: 311.7 kB / 0.6668 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.1616, allocations: 182.1 kB / 0.667 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.841e-05/0.1617, allocations: 180.2 kB / 0.6672 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.1618, allocations: 105 kB / 0.6673 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.1619, allocations: 184.2 kB / 0.6674 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.483e-05/0.1619, allocations: 105 kB / 0.6675 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.162, allocations: 83.22 kB / 0.6676 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.162, allocations: 4 kB / 0.6676 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002901/0.1623, allocations: 20 kB / 0.6676 GB, free: 2.324 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.0003682/0.1626, allocations: 228 kB / 0.6679 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.81e-05/0.1627, allocations: 0 / 0.6679 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1627, allocations: 4.062 kB / 0.6679 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.1627, allocations: 3.938 kB / 0.6679 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1631, allocations: 455.7 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.0003643/0.1635, allocations: 229.7 kB / 0.6685 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1637, allocations: 0.6768 MB / 0.6692 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.1638, allocations: 11.44 kB / 0.6692 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1638, allocations: 0 / 0.6692 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of Templates: time 0.002408/0.1662, allocations: 0.8568 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)