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.001446/0.001446, allocations: 77.48 kB / 19.18 MB, free: 2.52 MB / 14.72 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.0014/0.0014, allocations: 166.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.492/1.492, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.241/1.241, allocations: 154.6 MB / 413.7 MB, free: 5.316 MB / 382.1 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 178] 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.533e-06/1.533e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.334e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001546/0.001569, allocations: 0.575 MB / 0.6192 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.002963, allocations: 1.007 MB / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.53e-05/0.002979, allocations: 0 / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.002995, allocations: 0 / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006708/0.003666, allocations: 99.77 kB / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.318e-05/0.003699, allocations: 11.92 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.693e-05/0.003746, allocations: 15.92 kB / 0.6203 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.003787, allocations: 4 kB / 0.6203 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.00381, allocations: 3.938 kB / 0.6203 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.004011, allocations: 35.97 kB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.004022, allocations: 0 / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.004181, allocations: 71.91 kB / 0.6204 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.004189, allocations: 0 / 0.6204 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.004207, allocations: 7.938 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.004381, allocations: 83.83 kB / 0.6205 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004383, allocations: 0 / 0.6205 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004384, allocations: 4 kB / 0.6205 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.004393, allocations: 0 / 0.6205 GB, free: 2.656 MB / 0.5294 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.0003283/0.004721, allocations: 262.2 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.004757, allocations: 9.469 kB / 0.6207 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.004784, allocations: 4.938 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.004906, allocations: 109.8 kB / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.004912, allocations: 384 / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.004923, allocations: 384 / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.297e-05/0.005006, allocations: 30.27 kB / 0.6209 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.005015, allocations: 192 / 0.6209 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.005024, allocations: 8.125 kB / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005029, allocations: 0 / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.005048, allocations: 7.938 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.005388, allocations: 335.2 kB / 0.6212 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.948e-05/0.005487, allocations: 173.1 kB / 0.6214 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.005525, allocations: 80.14 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.005558, allocations: 75.28 kB / 0.6215 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/0.005614, allocations: 117.7 kB / 0.6216 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.005615, allocations: 0 / 0.6216 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.021e-05/0.005685, allocations: 37.62 kB / 0.6217 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.005755, allocations: 130.7 kB / 0.6218 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.909e-05/0.005854, allocations: 101.9 kB / 0.6219 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.005874, allocations: 25.7 kB / 0.6219 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.005918, allocations: 88.03 kB / 0.622 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.00592, allocations: 0 / 0.622 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.005951, allocations: 17.7 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.006084, allocations: 314.8 kB / 0.6223 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.006093, allocations: 0 / 0.6223 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-06/0.006101, allocations: 4 kB / 0.6223 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.474e-05/0.006125, allocations: 8.797 kB / 0.6223 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.006127, allocations: 4.062 kB / 0.6223 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001055/0.006232, allocations: 37.64 kB / 0.6224 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.006245, allocations: 4 kB / 0.6224 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006251, allocations: 3.984 kB / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.006266, allocations: 0 / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.565e-05/0.006282, allocations: 4 kB / 0.6224 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.006285, allocations: 0 / 0.6224 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.006299, allocations: 0 / 0.6224 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.006303, allocations: 0 / 0.6224 GB, free: 0.5273 MB / 0.5294 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 9.687e-05/0.0064, allocations: 181.1 kB / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.006481, allocations: 120.9 kB / 0.6227 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.006538, allocations: 108.1 kB / 0.6228 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.587e-05/0.006634, allocations: 188.2 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.174e-05/0.006725, allocations: 176.3 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.807e-05/0.006803, allocations: 176.5 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.007028, allocations: 360.8 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.911e-05/0.007077, allocations: 101 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.007127, allocations: 112.9 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.949e-05/0.007207, allocations: 176.3 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.012e-05/0.007287, allocations: 180.2 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.852e-05/0.007365, allocations: 188.2 kB / 0.6243 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.351e-05/0.007449, allocations: 188.3 kB / 0.6245 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.007605, allocations: 299.8 kB / 0.6248 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.007657, allocations: 105 kB / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.715e-05/0.007755, allocations: 188.1 kB / 0.6251 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.007838, allocations: 108.9 kB / 0.6252 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/0.007929, allocations: 184.2 kB / 0.6254 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.007977, allocations: 101 kB / 0.6255 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.008024, allocations: 79.28 kB / 0.6255 GB, free: 13.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008025, allocations: 0 / 0.6255 GB, free: 13.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000263/0.008288, allocations: 23.92 kB / 0.6256 GB, free: 13.06 MB / 0.545 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.0003986/0.008686, allocations: 240.3 kB / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.23e-05/0.008748, allocations: 7.938 kB / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.00875, allocations: 0 / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.008751, allocations: 0 / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.00914, allocations: 457.4 kB / 0.6262 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.00953, allocations: 204.1 kB / 0.6264 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.966e-05/0.00958, allocations: 59.34 kB / 0.6265 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.009602, allocations: 0 / 0.6265 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.009622, allocations: 12.5 kB / 0.6265 GB, free: 12.05 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.009622, allocations: 3.938 kB / 0.6265 GB, free: 12.05 MB / 0.545 GB Notification: Performance of Templates: time 0.003246/0.01287, allocations: 0.7029 MB / 0.6272 GB, free: 11.39 MB / 0.545 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 sys.exit(0), Time elapsed: 5.7604652643203735] Failed to read output from testmodel.py, exit status != 0: 0.021409831941127777 0.036032354 0.028504815000000003 Calling exit ...