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) 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-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005976/0.005976, allocations: 93.97 kB / 15.73 MB, free: 6.051 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.001419/0.00142, allocations: 200.3 kB / 16.68 MB, free: 5.973 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9155/0.9155, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 71.88 kB / 0.5857 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.413, allocations: 80.91 MB / 0.6647 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001534/0.4145, allocations: 0.5487 MB / 0.6652 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009479/0.4155, allocations: 0.9956 MB / 0.6662 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.4155, allocations: 0 / 0.6662 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.4155, allocations: 3.938 kB / 0.6662 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006181/0.4162, allocations: 86.25 kB / 0.6663 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.934e-05/0.4162, allocations: 8.281 kB / 0.6663 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.255e-05/0.4163, allocations: 14.88 kB / 0.6663 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.4163, allocations: 1.094 kB / 0.6663 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.57e-05/0.4163, allocations: 2.438 kB / 0.6663 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.4165, allocations: 34.22 kB / 0.6663 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.697e-06/0.4165, allocations: 0 / 0.6663 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.4167, allocations: 84.05 kB / 0.6664 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-06/0.4167, allocations: 1.156 kB / 0.6664 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.4167, allocations: 5.609 kB / 0.6664 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.4169, allocations: 70.69 kB / 0.6665 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.4169, allocations: 0 / 0.6665 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4169, allocations: 1.219 kB / 0.6665 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.4169, allocations: 0 / 0.6665 GB, free: 6.211 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.0002092/0.4171, allocations: 330.2 kB / 0.6668 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.4172, allocations: 9.375 kB / 0.6668 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.4172, allocations: 0.9375 kB / 0.6668 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.484e-05/0.4173, allocations: 177.8 kB / 0.667 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.4173, allocations: 9.188 kB / 0.667 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.4173, allocations: 1.281 kB / 0.667 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.283e-05/0.4174, allocations: 30.98 kB / 0.667 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.4174, allocations: 0 / 0.667 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.4174, allocations: 1.312 kB / 0.667 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4174, allocations: 0 / 0.667 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.4174, allocations: 1.281 kB / 0.667 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.4177, allocations: 471.6 kB / 0.6675 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.897e-05/0.4177, allocations: 170.4 kB / 0.6676 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.4177, allocations: 88.08 kB / 0.6677 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.4177, allocations: 75.28 kB / 0.6678 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.4178, allocations: 111.2 kB / 0.6679 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.4178, allocations: 0 / 0.6679 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.489e-05/0.4178, allocations: 27.11 kB / 0.6679 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.4179, allocations: 126.7 kB / 0.6681 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.4179, allocations: 103.5 kB / 0.6682 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-06/0.4179, allocations: 25.7 kB / 0.6682 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.418, allocations: 81.58 kB / 0.6683 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.418, allocations: 0 / 0.6683 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.418, allocations: 16.34 kB / 0.6683 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.418, allocations: 314.8 kB / 0.6686 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.418, allocations: 5.281 kB / 0.6686 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-06/0.4181, allocations: 9.219 kB / 0.6686 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.019e-05/0.4181, allocations: 11.45 kB / 0.6686 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4181, allocations: 0 / 0.6686 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.896e-05/0.4182, allocations: 35.28 kB / 0.6686 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.4182, allocations: 9.625 kB / 0.6686 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.4182, allocations: 0 / 0.6686 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.4182, allocations: 0.9688 kB / 0.6686 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.291e-05/0.4182, allocations: 0 / 0.6686 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.4182, allocations: 0.875 kB / 0.6686 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.4183, allocations: 0 / 0.6686 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.4183, allocations: 5.406 kB / 0.6686 GB, free: 3.828 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 4.31e-05/0.4183, allocations: 186.2 kB / 0.6688 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.4184, allocations: 113.8 kB / 0.6689 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.4184, allocations: 109.9 kB / 0.669 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.4184, allocations: 185.5 kB / 0.6692 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/0.4184, allocations: 177.8 kB / 0.6694 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.4185, allocations: 180.2 kB / 0.6696 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.4186, allocations: 407.4 kB / 0.6699 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.4186, allocations: 106.5 kB / 0.67 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.4186, allocations: 104.9 kB / 0.6701 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/0.4186, allocations: 185.7 kB / 0.6703 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.4187, allocations: 181.6 kB / 0.6705 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.847e-05/0.4187, allocations: 177.3 kB / 0.6707 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.105e-05/0.4187, allocations: 185.3 kB / 0.6708 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.092e-05/0.4188, allocations: 311.9 kB / 0.6711 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.4188, allocations: 186.1 kB / 0.6713 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.4188, allocations: 182.9 kB / 0.6715 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.4189, allocations: 101 kB / 0.6716 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.4189, allocations: 189.5 kB / 0.6718 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.4189, allocations: 102.2 kB / 0.6719 GB, free: 332 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.321e-05/0.419, allocations: 81.97 kB / 0.6719 GB, free: 252 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.419, allocations: 1.219 kB / 0.6719 GB, free: 252 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002549/0.4192, allocations: 26.31 kB / 0.672 GB, free: 240 kB / 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.0002626/0.4195, allocations: 235.8 kB / 0.6722 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.295e-05/0.4196, allocations: 6.156 kB / 0.6722 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4196, allocations: 0 / 0.6722 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.4196, allocations: 1.125 kB / 0.6722 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.4199, allocations: 460.5 kB / 0.6726 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.4203, allocations: 208.5 kB / 0.6728 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.4205, allocations: 0.6701 MB / 0.6735 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.395e-05/0.4206, allocations: 2.469 kB / 0.6735 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.4206, allocations: 9.188 kB / 0.6735 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4206, allocations: 0 / 0.6735 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of Templates: time 0.002498/0.4231, allocations: 0.655 MB / 0.6741 GB, free: 14.36 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (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)