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.004853/0.004853, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.00112/0.00112, allocations: 196.9 kB / 16.68 MB, free: 5.969 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7818/0.7818, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 61.73 kB / 0.5814 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1421, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00147/0.1437, allocations: 0.5496 MB / 0.6603 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1448, allocations: 0.9918 MB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.1448, allocations: 0 / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.091e-05/0.1449, allocations: 0 / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000616/0.1455, allocations: 87.78 kB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.056e-05/0.1455, allocations: 11.98 kB / 0.6613 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.915e-05/0.1456, allocations: 7.938 kB / 0.6613 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.1456, allocations: 15.94 kB / 0.6613 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.549e-05/0.1456, allocations: 3.984 kB / 0.6614 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1458, allocations: 28.84 kB / 0.6614 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.1459, allocations: 0 / 0.6614 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.146, allocations: 83.86 kB / 0.6615 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.1461, allocations: 3.984 kB / 0.6615 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.1461, allocations: 0 / 0.6615 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1462, allocations: 67.92 kB / 0.6615 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1462, allocations: 0 / 0.6615 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1462, allocations: 0 / 0.6615 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.1463, allocations: 4 kB / 0.6615 GB, free: 8.375 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.000295/0.1466, allocations: 331.5 kB / 0.6618 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1466, allocations: 16.02 kB / 0.6619 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.417e-05/0.1466, allocations: 0.9375 kB / 0.6619 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.1467, allocations: 164.4 kB / 0.662 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1468, allocations: 8.125 kB / 0.662 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1468, allocations: 0 / 0.662 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.195e-05/0.1469, allocations: 33.62 kB / 0.6621 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1469, allocations: 4 kB / 0.6621 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.1469, allocations: 0 / 0.6621 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1469, allocations: 0 / 0.6621 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.434e-05/0.1469, allocations: 4 kB / 0.6621 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.1473, allocations: 468.6 kB / 0.6625 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.1e-05/0.1473, allocations: 169.1 kB / 0.6627 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.1474, allocations: 88.14 kB / 0.6628 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1474, allocations: 75.28 kB / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.1475, allocations: 105.8 kB / 0.6629 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1475, allocations: 0 / 0.6629 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.224e-05/0.1475, allocations: 33.61 kB / 0.663 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.1476, allocations: 126.7 kB / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.1477, allocations: 109.8 kB / 0.6632 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.1477, allocations: 25.7 kB / 0.6632 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.1477, allocations: 80.14 kB / 0.6633 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.1478, allocations: 0 / 0.6633 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.1478, allocations: 13.72 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.1479, allocations: 314.8 kB / 0.6636 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.1479, allocations: 3.984 kB / 0.6636 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-06/0.1479, allocations: 8 kB / 0.6636 GB, free: 6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.231e-05/0.1479, allocations: 8.922 kB / 0.6636 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1479, allocations: 0 / 0.6636 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.33e-05/0.148, allocations: 37.7 kB / 0.6637 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1481, allocations: 4 kB / 0.6637 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1481, allocations: 3.938 kB / 0.6637 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1481, allocations: 0 / 0.6637 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.49e-05/0.1481, allocations: 11.88 kB / 0.6637 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1481, allocations: 0 / 0.6637 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.1481, allocations: 0 / 0.6637 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.1482, allocations: 7.969 kB / 0.6637 GB, free: 5.918 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.019e-05/0.1482, allocations: 185.1 kB / 0.6639 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.1483, allocations: 109 kB / 0.664 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.1484, allocations: 108 kB / 0.6641 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.754e-05/0.1484, allocations: 176.3 kB / 0.6642 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-05/0.1485, allocations: 176.3 kB / 0.6644 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.807e-05/0.1486, allocations: 192.2 kB / 0.6646 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.1488, allocations: 401.2 kB / 0.665 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.224e-05/0.1488, allocations: 108.9 kB / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.1489, allocations: 105 kB / 0.6652 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-05/0.1489, allocations: 176.3 kB / 0.6653 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/0.149, allocations: 188.4 kB / 0.6655 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.042e-05/0.1491, allocations: 180.3 kB / 0.6657 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-05/0.1491, allocations: 188.2 kB / 0.6659 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.1493, allocations: 303.8 kB / 0.6662 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.1493, allocations: 182 kB / 0.6663 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.1494, allocations: 184.3 kB / 0.6665 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.1495, allocations: 108.9 kB / 0.6666 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.1496, allocations: 180.3 kB / 0.6668 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.1496, allocations: 101 kB / 0.6669 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.1496, allocations: 83.41 kB / 0.667 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.462e-06/0.1496, allocations: 0 / 0.667 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002586/0.1499, allocations: 35.92 kB / 0.667 GB, free: 2.293 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.0003152/0.1502, allocations: 226.1 kB / 0.6672 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.973e-05/0.1503, allocations: 7.984 kB / 0.6672 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1503, allocations: 0 / 0.6672 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.1503, allocations: 4.062 kB / 0.6672 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1507, allocations: 459.7 kB / 0.6677 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.151, allocations: 196 kB / 0.6679 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1513, allocations: 0.6767 MB / 0.6685 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.1513, allocations: 8 kB / 0.6685 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.1513, allocations: 7.438 kB / 0.6685 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1513, allocations: 0 / 0.6685 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of Templates: time 0.002592/0.1539, allocations: 0.6514 MB / 0.6692 GB, free: 60 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)