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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007724/0.0007724, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007482/0.0007482, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8213/0.8213, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6672/0.6672, allocations: 154.6 MB / 414.5 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.233e-06/1.233e-06, allocations: 0 / 0.6193 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.654e-05, allocations: 4.953 kB / 0.6193 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0009268/0.0009434, allocations: 0.5844 MB / 0.6199 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000852/0.001795, allocations: 1.003 MB / 0.6209 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.001812, allocations: 0 / 0.6209 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.298e-05/0.001825, allocations: 0 / 0.6209 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.002302, allocations: 95.7 kB / 0.621 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.187e-05/0.002324, allocations: 11.94 kB / 0.621 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.285e-05/0.002366, allocations: 7.984 kB / 0.621 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.0024, allocations: 0 / 0.621 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.636e-05/0.002426, allocations: 11.94 kB / 0.621 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.002578, allocations: 27.97 kB / 0.621 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.002587, allocations: 0 / 0.621 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.002709, allocations: 79.91 kB / 0.6211 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.135e-06/0.002717, allocations: 0 / 0.6211 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.318e-05/0.00273, allocations: 3.938 kB / 0.6211 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.002858, allocations: 87.81 kB / 0.6212 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00286, allocations: 0 / 0.6212 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.51e-07/0.002861, allocations: 0 / 0.6212 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.002865, allocations: 3.938 kB / 0.6212 GB, free: 11.09 MB / 0.5886 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.0002215/0.003086, allocations: 262.2 kB / 0.6215 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.003117, allocations: 13.47 kB / 0.6215 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.003139, allocations: 0.9375 kB / 0.6215 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.535e-05/0.003204, allocations: 105.8 kB / 0.6216 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.003214, allocations: 4.359 kB / 0.6216 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.003221, allocations: 4.312 kB / 0.6216 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.516e-05/0.003286, allocations: 34.27 kB / 0.6216 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.003291, allocations: 192 / 0.6216 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.0033, allocations: 4.125 kB / 0.6216 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.003304, allocations: 0 / 0.6216 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.277e-05/0.003316, allocations: 0 / 0.6216 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.003571, allocations: 343.1 kB / 0.622 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.385e-05/0.003625, allocations: 169.2 kB / 0.6221 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.003646, allocations: 88.16 kB / 0.6222 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.003787, allocations: 75.28 kB / 0.6223 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.003818, allocations: 113.8 kB / 0.6224 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 5.21e-07/0.003819, allocations: 0 / 0.6224 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 4.711e-05/0.003866, allocations: 33.62 kB / 0.6224 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.003907, allocations: 130.7 kB / 0.6225 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.003973, allocations: 101.8 kB / 0.6226 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.003981, allocations: 25.7 kB / 0.6227 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.004006, allocations: 84.14 kB / 0.6227 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.004008, allocations: 4 kB / 0.6227 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.004029, allocations: 17.7 kB / 0.6228 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.004092, allocations: 310.8 kB / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-06/0.004098, allocations: 0 / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.004104, allocations: 8 kB / 0.6231 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.888e-05/0.004123, allocations: 4.859 kB / 0.6231 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004124, allocations: 0 / 0.6231 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.276e-05/0.004197, allocations: 45.58 kB / 0.6231 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.004206, allocations: 8.094 kB / 0.6231 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.004209, allocations: 3.938 kB / 0.6231 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.004219, allocations: 0 / 0.6231 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.365e-05/0.004233, allocations: 3.984 kB / 0.6231 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.004236, allocations: 0 / 0.6231 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.375e-06/0.004245, allocations: 4 kB / 0.6231 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.004249, allocations: 0 / 0.6231 GB, free: 8.949 MB / 0.5886 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.257e-05/0.004301, allocations: 181.1 kB / 0.6233 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.004333, allocations: 112.9 kB / 0.6234 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.004364, allocations: 108.2 kB / 0.6235 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.352e-05/0.004397, allocations: 180.2 kB / 0.6237 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.83e-05/0.004436, allocations: 192.2 kB / 0.6239 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.943e-05/0.004475, allocations: 176.3 kB / 0.624 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.004583, allocations: 352.8 kB / 0.6244 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/0.004603, allocations: 105 kB / 0.6245 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.004624, allocations: 105 kB / 0.6246 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.519e-05/0.004659, allocations: 184.2 kB / 0.6247 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.004696, allocations: 184.1 kB / 0.6249 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-05/0.004729, allocations: 180.2 kB / 0.6251 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-05/0.004764, allocations: 184.2 kB / 0.6253 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.438e-05/0.004838, allocations: 307.8 kB / 0.6256 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.004861, allocations: 109 kB / 0.6257 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.004906, allocations: 192.1 kB / 0.6258 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.004946, allocations: 101 kB / 0.6259 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.004986, allocations: 180.3 kB / 0.6261 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.005006, allocations: 104.9 kB / 0.6262 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.544e-05/0.005031, allocations: 83.28 kB / 0.6263 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005031, allocations: 0 / 0.6263 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001538/0.005185, allocations: 23.92 kB / 0.6263 GB, free: 5.484 MB / 0.5886 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.0002316/0.005417, allocations: 233.2 kB / 0.6265 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.544e-05/0.005462, allocations: 4 kB / 0.6265 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.005463, allocations: 0 / 0.6265 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.005466, allocations: 7.938 kB / 0.6266 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.005681, allocations: 463.6 kB / 0.627 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.005956, allocations: 225.9 kB / 0.6272 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.042e-05/0.005986, allocations: 55.42 kB / 0.6273 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.006007, allocations: 16.48 kB / 0.6273 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.006008, allocations: 0 / 0.6273 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of Templates: time 0.001518/0.007526, allocations: 0.8835 MB / 0.6281 GB, free: 3.566 MB / 0.5886 GB " [Timeout remaining time 660] 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 os._exit(0), Time elapsed: 6.020075848326087] Failed to read output from testmodel.py, exit status != 0: 0.01161412987858057 0.018807798 0.014441841 Calling exit ...