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.006563/0.006563, allocations: 101 kB / 15.73 MB, free: 6.441 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.001232/0.001232, allocations: 195.8 kB / 16.68 MB, free: 6.355 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9366/0.9366, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 0.5857 GB, free: 3.289 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4413, allocations: 80.91 MB / 0.6647 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001654/0.443, allocations: 0.5488 MB / 0.6652 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.4441, allocations: 0.9873 MB / 0.6662 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.4442, allocations: 4 kB / 0.6662 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.4442, allocations: 0 / 0.6662 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006765/0.4449, allocations: 98.61 kB / 0.6663 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.201e-05/0.4449, allocations: 10.97 kB / 0.6663 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.67e-05/0.445, allocations: 7.266 kB / 0.6663 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.445, allocations: 2.25 kB / 0.6663 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.445, allocations: 2.188 kB / 0.6663 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.4453, allocations: 41.72 kB / 0.6664 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.4453, allocations: 0 / 0.6664 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.4455, allocations: 75.98 kB / 0.6664 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.4455, allocations: 9.016 kB / 0.6664 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.4455, allocations: 1.25 kB / 0.6664 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.4457, allocations: 67.83 kB / 0.6665 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4457, allocations: 5.234 kB / 0.6665 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4457, allocations: 7.875 kB / 0.6665 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.4457, allocations: 0 / 0.6665 GB, free: 6.215 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.0002792/0.446, allocations: 336.1 kB / 0.6668 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.446, allocations: 8.938 kB / 0.6668 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.4461, allocations: 2.375 kB / 0.6668 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.4462, allocations: 165.5 kB / 0.667 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4462, allocations: 5.219 kB / 0.667 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.4462, allocations: 0 / 0.667 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.484e-05/0.4463, allocations: 29.14 kB / 0.667 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.4463, allocations: 3.984 kB / 0.667 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.4463, allocations: 0 / 0.667 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4463, allocations: 0 / 0.667 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.4463, allocations: 5.312 kB / 0.667 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.4467, allocations: 471.1 kB / 0.6675 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.299e-05/0.4467, allocations: 170.4 kB / 0.6677 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.4468, allocations: 81.17 kB / 0.6677 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.4468, allocations: 75.28 kB / 0.6678 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.4468, allocations: 111.3 kB / 0.6679 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4468, allocations: 0 / 0.6679 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.748e-05/0.4469, allocations: 30.77 kB / 0.6679 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.4469, allocations: 134.7 kB / 0.6681 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.447, allocations: 95.58 kB / 0.6682 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-06/0.447, allocations: 25.7 kB / 0.6682 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.447, allocations: 85.33 kB / 0.6683 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.447, allocations: 0 / 0.6683 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.4471, allocations: 16.34 kB / 0.6683 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.4471, allocations: 324 kB / 0.6686 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.4472, allocations: 3.938 kB / 0.6686 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.4472, allocations: 1.281 kB / 0.6686 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.482e-05/0.4472, allocations: 7.484 kB / 0.6686 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4472, allocations: 0 / 0.6686 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.58e-05/0.4473, allocations: 39.11 kB / 0.6686 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4473, allocations: 5.562 kB / 0.6686 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4473, allocations: 4.094 kB / 0.6686 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4474, allocations: 1.406 kB / 0.6686 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.831e-05/0.4474, allocations: 3.984 kB / 0.6687 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4474, allocations: 1.5 kB / 0.6687 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.4474, allocations: 192 / 0.6687 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.4474, allocations: 3.938 kB / 0.6687 GB, free: 3.836 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 5.176e-05/0.4475, allocations: 182.6 kB / 0.6688 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.4475, allocations: 106.4 kB / 0.6689 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.4476, allocations: 113.4 kB / 0.669 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.273e-05/0.4476, allocations: 185.6 kB / 0.6692 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.09e-05/0.4476, allocations: 185.5 kB / 0.6694 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/0.4477, allocations: 180.3 kB / 0.6696 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.4478, allocations: 407.7 kB / 0.67 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/0.4478, allocations: 106.3 kB / 0.6701 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.4479, allocations: 106.1 kB / 0.6702 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.944e-05/0.4479, allocations: 180.2 kB / 0.6703 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.4479, allocations: 177.8 kB / 0.6705 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.829e-05/0.448, allocations: 181.6 kB / 0.6707 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-05/0.448, allocations: 181.5 kB / 0.6708 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.312e-05/0.4481, allocations: 315 kB / 0.6711 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.4481, allocations: 183.6 kB / 0.6713 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.4482, allocations: 185.2 kB / 0.6715 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.4482, allocations: 102 kB / 0.6716 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.4483, allocations: 181.8 kB / 0.6718 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.4483, allocations: 108.9 kB / 0.6719 GB, free: 344 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.893e-05/0.4483, allocations: 86.95 kB / 0.672 GB, free: 260 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4483, allocations: 0 / 0.672 GB, free: 260 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002814/0.4486, allocations: 18.34 kB / 0.672 GB, free: 256 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.0003826/0.449, allocations: 230.1 kB / 0.6722 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.254e-05/0.4491, allocations: 7.906 kB / 0.6722 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4491, allocations: 0 / 0.6722 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.4491, allocations: 0 / 0.6722 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.4495, allocations: 457.1 kB / 0.6726 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.4499, allocations: 198.6 kB / 0.6728 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.4501, allocations: 0.674 MB / 0.6735 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.863e-05/0.4502, allocations: 10.48 kB / 0.6735 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.4502, allocations: 8.781 kB / 0.6735 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.4502, allocations: 0 / 0.6735 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.002899/0.4531, allocations: 0.6493 MB / 0.6741 GB, free: 14.39 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)