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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 190.7 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.128/1.128, allocations: 177.9 MB / 484.2 MB, free: 5.398 MB / 382.1 MB
"
[Timeout remaining time 179]
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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 68.45 kB / 0.674 GB, free: 10.75 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5031/0.5052, allocations: 95.16 MB / 0.767 GB, free: 7.961 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001632/0.5069, allocations: 0.5717 MB / 0.7675 GB, free: 7.77 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.001042/0.5079, allocations: 1.015 MB / 0.7685 GB, free: 7.195 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.5079, allocations: 3.938 kB / 0.7685 GB, free: 7.191 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.508, allocations: 0 / 0.7685 GB, free: 7.191 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006557/0.5086, allocations: 95.28 kB / 0.7686 GB, free: 7.148 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 4.69e-05/0.5087, allocations: 12.33 kB / 0.7686 GB, free: 7.141 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 4.923e-05/0.5087, allocations: 8.312 kB / 0.7686 GB, free: 7.137 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.5087, allocations: 1.188 kB / 0.7686 GB, free: 7.137 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.5088, allocations: 7.219 kB / 0.7686 GB, free: 7.133 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.509, allocations: 36.91 kB / 0.7687 GB, free: 7.121 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.509, allocations: 2.031 kB / 0.7687 GB, free: 7.121 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.5091, allocations: 91.55 kB / 0.7688 GB, free: 7.086 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.5091, allocations: 4.844 kB / 0.7688 GB, free: 7.082 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.5092, allocations: 5.031 kB / 0.7688 GB, free: 7.078 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.5093, allocations: 69.19 kB / 0.7688 GB, free: 7.062 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.5093, allocations: 1.344 kB / 0.7688 GB, free: 7.062 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.382e-06/0.5093, allocations: 0 / 0.7688 GB, free: 7.062 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.669e-06/0.5093, allocations: 0 / 0.7688 GB, free: 7.062 MB / 0.5762 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.0002882/0.5096, allocations: 256.3 kB / 0.7691 GB, free: 6.801 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.5096, allocations: 8.031 kB / 0.7691 GB, free: 6.801 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.5097, allocations: 10.3 kB / 0.7691 GB, free: 6.793 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 6.838e-05/0.5097, allocations: 106.6 kB / 0.7692 GB, free: 6.668 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.5098, allocations: 8.062 kB / 0.7692 GB, free: 6.66 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-06/0.5098, allocations: 1.531 kB / 0.7692 GB, free: 6.66 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 6.916e-05/0.5098, allocations: 32.03 kB / 0.7693 GB, free: 6.625 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.5098, allocations: 0 / 0.7693 GB, free: 6.625 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.5098, allocations: 0.8906 kB / 0.7693 GB, free: 6.625 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.5098, allocations: 1.469 kB / 0.7693 GB, free: 6.625 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.5099, allocations: 5.375 kB / 0.7693 GB, free: 6.621 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.5101, allocations: 367.7 kB / 0.7696 GB, free: 6.23 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 3.838e-05/0.5102, allocations: 169.1 kB / 0.7698 GB, free: 6.055 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.5102, allocations: 84.56 kB / 0.7699 GB, free: 5.973 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.5102, allocations: 79.22 kB / 0.7699 GB, free: 5.895 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.5102, allocations: 109.8 kB / 0.77 GB, free: 5.777 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.5102, allocations: 1.438 kB / 0.77 GB, free: 5.777 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=0): time 6.1e-05/0.5103, allocations: 29.7 kB / 0.7701 GB, free: 5.742 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.5103, allocations: 132.1 kB / 0.7702 GB, free: 5.602 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.5104, allocations: 96.97 kB / 0.7703 GB, free: 5.504 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 4.489e-06/0.5104, allocations: 25.7 kB / 0.7703 GB, free: 5.473 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 1.675e-05/0.5104, allocations: 85.27 kB / 0.7704 GB, free: 5.387 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.5104, allocations: 4 kB / 0.7704 GB, free: 5.383 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.5104, allocations: 13.31 kB / 0.7704 GB, free: 5.367 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 3.459e-05/0.5104, allocations: 316.1 kB / 0.7707 GB, free: 5.051 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.5104, allocations: 3.047 kB / 0.7707 GB, free: 5.051 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-06/0.5104, allocations: 5.281 kB / 0.7707 GB, free: 5.047 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 1.941e-05/0.5105, allocations: 6.109 kB / 0.7707 GB, free: 5.039 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5105, allocations: 1.312 kB / 0.7707 GB, free: 5.039 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 8.66e-05/0.5106, allocations: 41.47 kB / 0.7708 GB, free: 5 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.5106, allocations: 14.28 kB / 0.7708 GB, free: 4.992 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.5106, allocations: 1.094 kB / 0.7708 GB, free: 4.992 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5106, allocations: 0 / 0.7708 GB, free: 4.992 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.446e-05/0.5106, allocations: 1.062 kB / 0.7708 GB, free: 4.992 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.5106, allocations: 0 / 0.7708 GB, free: 4.992 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.5106, allocations: 1.562 kB / 0.7708 GB, free: 4.992 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.5106, allocations: 4.594 kB / 0.7708 GB, free: 4.988 MB / 0.5762 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 4.025e-05/0.5107, allocations: 185 kB / 0.771 GB, free: 4.801 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.5107, allocations: 106.2 kB / 0.7711 GB, free: 4.691 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.5107, allocations: 109.3 kB / 0.7712 GB, free: 4.578 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/0.5107, allocations: 178.6 kB / 0.7713 GB, free: 4.398 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/0.5108, allocations: 182.3 kB / 0.7715 GB, free: 4.215 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.5108, allocations: 180.2 kB / 0.7717 GB, free: 4.031 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.5109, allocations: 379.3 kB / 0.772 GB, free: 3.617 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.5109, allocations: 114.1 kB / 0.7721 GB, free: 3.5 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.5109, allocations: 102.1 kB / 0.7722 GB, free: 3.395 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.086e-05/0.511, allocations: 180.9 kB / 0.7724 GB, free: 3.215 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.511, allocations: 181.8 kB / 0.7726 GB, free: 3.031 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.056e-05/0.511, allocations: 180.3 kB / 0.7728 GB, free: 2.848 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-05/0.511, allocations: 185.7 kB / 0.7729 GB, free: 2.66 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.5112, allocations: 310.3 kB / 0.7732 GB, free: 18.34 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.5113, allocations: 110.6 kB / 0.7733 GB, free: 18.23 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.5114, allocations: 177.7 kB / 0.7735 GB, free: 18.05 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.5115, allocations: 112.2 kB / 0.7736 GB, free: 17.93 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.5116, allocations: 181.4 kB / 0.7738 GB, free: 17.75 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.5116, allocations: 102 kB / 0.7739 GB, free: 17.64 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 5.502e-05/0.5117, allocations: 88.14 kB / 0.774 GB, free: 17.56 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 8e-08/0.5117, allocations: 0 / 0.774 GB, free: 17.56 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.0002535/0.5119, allocations: 19.84 kB / 0.774 GB, free: 17.56 MB / 0.5919 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.0003745/0.5123, allocations: 235.2 kB / 0.7742 GB, free: 17.37 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 6.382e-05/0.5123, allocations: 3.922 kB / 0.7742 GB, free: 17.37 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5123, allocations: 0 / 0.7742 GB, free: 17.37 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.5123, allocations: 1.125 kB / 0.7742 GB, free: 17.37 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.5128, allocations: 458 kB / 0.7747 GB, free: 16.92 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.5131, allocations: 198.1 kB / 0.7748 GB, free: 16.73 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.5134, allocations: 0.6712 MB / 0.7755 GB, free: 16.03 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 2.491e-05/0.5134, allocations: 1.438 kB / 0.7755 GB, free: 16.03 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.5135, allocations: 9.75 kB / 0.7755 GB, free: 16.02 MB / 0.5919 GB
Notification: Performance of SimCode: time 3.31e-07/0.5135, allocations: 0 / 0.7755 GB, free: 16.02 MB / 0.5919 GB
Notification: Performance of Templates: time 0.00314/0.5166, allocations: 0.6798 MB / 0.7762 GB, free: 15.95 MB / 0.5919 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660]
(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 & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.219193188473582]
Failed to read output from testmodel.py, exit status != 0:
0.5249085919931531 0.538273622 0.025918303
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f158f3257b0>