Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008762/0.0008762, allocations: 76.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.0008238/0.0008238, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8989/0.8989, allocations: 177.1 MB / 203.5 MB, free: 5.406 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7296/0.7296, allocations: 154.6 MB / 414.5 MB, free: 0.75 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.6194 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.354e-05, allocations: 9.453 kB / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001292/0.001326, allocations: 0.5832 MB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.002382, allocations: 1.003 MB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.002403, allocations: 0 / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.002419, allocations: 0 / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.003006, allocations: 99.7 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.546e-05/0.003042, allocations: 11.92 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.003091, allocations: 8 kB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.003132, allocations: 7.938 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.003163, allocations: 3.984 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.003345, allocations: 35.95 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.003357, allocations: 0 / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.003498, allocations: 75.91 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.003508, allocations: 0 / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.003525, allocations: 4 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.003681, allocations: 87.72 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.003684, allocations: 3.984 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003685, allocations: 0 / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003689, allocations: 0 / 0.6213 GB, free: 11.15 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.0002642/0.003953, allocations: 264.7 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.00399, allocations: 8.031 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.004021, allocations: 4.875 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.865e-05/0.0041, allocations: 105.8 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.00411, allocations: 384 / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.004119, allocations: 384 / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.808e-05/0.004197, allocations: 34.27 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.004205, allocations: 192 / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.004215, allocations: 8.125 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.00422, allocations: 0 / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.004238, allocations: 11.92 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.004536, allocations: 335.2 kB / 0.622 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.209e-05/0.004608, allocations: 177.1 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.004633, allocations: 84.12 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.004652, allocations: 75.28 kB / 0.6223 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.004684, allocations: 113.8 kB / 0.6224 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/0.004686, allocations: 4 kB / 0.6224 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.709e-05/0.004743, allocations: 33.59 kB / 0.6225 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.004789, allocations: 126.7 kB / 0.6226 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.004874, allocations: 105.8 kB / 0.6227 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.004882, allocations: 25.7 kB / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.004915, allocations: 84.12 kB / 0.6228 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.004917, allocations: 0 / 0.6228 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.004942, allocations: 13.72 kB / 0.6228 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.005019, allocations: 314.8 kB / 0.6231 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-06/0.005029, allocations: 3.938 kB / 0.6231 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-06/0.005034, allocations: 4 kB / 0.6231 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.00506, allocations: 12.91 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005062, allocations: 0 / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.823e-05/0.00515, allocations: 41.58 kB / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.005162, allocations: 4 kB / 0.6232 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005166, allocations: 0 / 0.6232 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.005178, allocations: 0 / 0.6232 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.879e-05/0.005197, allocations: 4 kB / 0.6232 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005203, allocations: 0 / 0.6232 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.079e-05/0.005213, allocations: 0 / 0.6232 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.005218, allocations: 32 / 0.6232 GB, free: 9.02 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 6.57e-05/0.005284, allocations: 189.1 kB / 0.6234 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.005321, allocations: 112.9 kB / 0.6235 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.005358, allocations: 112.1 kB / 0.6236 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.516e-05/0.005404, allocations: 180.3 kB / 0.6238 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-05/0.00545, allocations: 180.2 kB / 0.6239 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.252e-05/0.005493, allocations: 180.2 kB / 0.6241 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.005628, allocations: 352.9 kB / 0.6244 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/0.005654, allocations: 104.9 kB / 0.6245 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.005681, allocations: 105 kB / 0.6246 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.504e-05/0.005726, allocations: 188.2 kB / 0.6248 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.005774, allocations: 184.2 kB / 0.625 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.164e-05/0.005816, allocations: 180.3 kB / 0.6252 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.156e-05/0.005857, allocations: 184.2 kB / 0.6253 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.891e-05/0.005956, allocations: 303.8 kB / 0.6256 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.005987, allocations: 109 kB / 0.6257 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.006037, allocations: 184.1 kB / 0.6259 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.006085, allocations: 108.9 kB / 0.626 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.00613, allocations: 180.3 kB / 0.6262 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.006158, allocations: 108.9 kB / 0.6263 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.006193, allocations: 83.28 kB / 0.6264 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006193, allocations: 4 kB / 0.6264 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001794/0.006372, allocations: 23.88 kB / 0.6264 GB, free: 5.547 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.0003108/0.006683, allocations: 229.3 kB / 0.6266 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.006746, allocations: 4 kB / 0.6266 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.006748, allocations: 0 / 0.6266 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.006749, allocations: 4.062 kB / 0.6266 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.006992, allocations: 459.7 kB / 0.6271 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.007343, allocations: 229.8 kB / 0.6273 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.007381, allocations: 55.36 kB / 0.6273 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.007409, allocations: 8.5 kB / 0.6273 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of SimCode: time 5.82e-07/0.007409, allocations: 4 kB / 0.6273 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of Templates: time 0.001783/0.009193, allocations: 0.879 MB / 0.6282 GB, free: 3.645 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.434189234860241] Failed to read output from testmodel.py, exit status != 0: 0.015097972936928272 0.022771159000000003 0.017462799 Calling exit ...