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.001184/0.001184, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001037/0.001037, allocations: 181 kB / 23.36 MB, free: 1.133 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.9046/0.9046, allocations: 177.1 MB / 203.8 MB, free: 5.48 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-545:108: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-545:116: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.7634/0.7634, allocations: 154.6 MB / 414.8 MB, free: 0.5 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.513e-06/1.513e-06, allocations: 0 / 480.1 MB, free: 6.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.08e-05, allocations: 2.312 kB / 480.1 MB, free: 6.887 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001544/0.001564, allocations: 0.5988 MB / 480.7 MB, free: 6.32 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009285/0.002493, allocations: 1.045 MB / 481.7 MB, free: 5.262 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.00251, allocations: 0.5469 kB / 481.7 MB, free: 5.262 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.002522, allocations: 1.938 kB / 481.7 MB, free: 5.262 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004712/0.002993, allocations: 86.28 kB / 481.8 MB, free: 5.18 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.187e-05/0.003015, allocations: 7.938 kB / 481.8 MB, free: 5.172 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.071e-05/0.003056, allocations: 9.312 kB / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.00309, allocations: 0 / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.003122, allocations: 14.17 kB / 481.8 MB, free: 5.152 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.003262, allocations: 28.52 kB / 481.9 MB, free: 5.125 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.003272, allocations: 0.5469 kB / 481.9 MB, free: 5.125 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.003401, allocations: 80.5 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-06/0.00341, allocations: 1.516 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.006e-05/0.00342, allocations: 0 / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.00354, allocations: 90.73 kB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.003542, allocations: 0 / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003543, allocations: 0 / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.003548, allocations: 4.547 kB / 482 MB, free: 4.957 MB / 442.7 MB 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.0002037/0.003751, allocations: 232.5 kB / 482.3 MB, free: 4.711 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.00378, allocations: 12.81 kB / 482.3 MB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.904e-05/0.003799, allocations: 0.9375 kB / 482.3 MB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.424e-05/0.003863, allocations: 106.7 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.003873, allocations: 4.312 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.00388, allocations: 1.031 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.112e-05/0.003931, allocations: 36.5 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.003936, allocations: 192 / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.003942, allocations: 9.078 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.003946, allocations: 0 / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.951e-06/0.003952, allocations: 1.219 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.004143, allocations: 294.9 kB / 482.7 MB, free: 4.215 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.004194, allocations: 177.1 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.004213, allocations: 86.58 kB / 483 MB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.004228, allocations: 75.28 kB / 483 MB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.004257, allocations: 105.8 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 6.11e-07/0.004257, allocations: 1.031 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 4.084e-05/0.004298, allocations: 33.64 kB / 483.2 MB, free: 3.719 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.004339, allocations: 130.6 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.004396, allocations: 105.4 kB / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.004403, allocations: 25.7 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.00443, allocations: 92.42 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.004431, allocations: 1.281 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.004449, allocations: 9.719 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.004512, allocations: 314.8 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-06/0.004515, allocations: 1.438 kB / 483.9 MB, free: 3.008 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.004519, allocations: 0 / 483.9 MB, free: 3.008 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.004543, allocations: 6.062 kB / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.004545, allocations: 8.844 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.077e-05/0.004596, allocations: 38.88 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.004605, allocations: 4 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.00461, allocations: 3.938 kB / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.004619, allocations: 0 / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.226e-05/0.004631, allocations: 4.812 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004634, allocations: 0 / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.488e-06/0.004643, allocations: 8.812 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.004647, allocations: 0 / 483.9 MB, free: 2.93 MB / 442.7 MB 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.264e-05/0.0047, allocations: 182.1 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.004734, allocations: 112.4 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.004765, allocations: 112.7 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/0.004801, allocations: 176.3 kB / 484.5 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.723e-05/0.004838, allocations: 180.8 kB / 484.7 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.719e-05/0.004876, allocations: 180.8 kB / 484.8 MB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.00499, allocations: 325.4 kB / 485.2 MB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.005013, allocations: 105.5 kB / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.005035, allocations: 101 kB / 485.4 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.803e-05/0.005073, allocations: 180.9 kB / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.005108, allocations: 181.4 kB / 485.7 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.841e-05/0.005147, allocations: 184.3 kB / 485.9 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.688e-05/0.005184, allocations: 189 kB / 486.1 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.005263, allocations: 303.8 kB / 486.4 MB, free: 352 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.005288, allocations: 109.8 kB / 486.5 MB, free: 236 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.005328, allocations: 176.8 kB / 486.7 MB, free: 52 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.005381, allocations: 110.6 kB / 486.8 MB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.005421, allocations: 184.2 kB / 486.9 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.005442, allocations: 104.9 kB / 487.1 MB, free: 15.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.621e-05/0.005458, allocations: 12.84 kB / 487.1 MB, free: 15.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005458, allocations: 1.297 kB / 487.1 MB, free: 15.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000136/0.005594, allocations: 19.94 kB / 487.1 MB, free: 15.61 MB / 458.7 MB 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.0002476/0.005842, allocations: 225.2 kB / 487.3 MB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 3.637e-05/0.005878, allocations: 9.844 kB / 487.3 MB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.005881, allocations: 0 / 487.3 MB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.005882, allocations: 0 / 487.3 MB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.006049, allocations: 463.7 kB / 487.8 MB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.006295, allocations: 215.4 kB / 488 MB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.453e-05/0.006319, allocations: 55.22 kB / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.041e-05/0.00634, allocations: 0 / 488 MB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.006365, allocations: 53.19 kB / 488.1 MB, free: 14.57 MB / 458.7 MB Notification: Performance of SimCode: time 3.1e-07/0.006365, allocations: 0 / 488.1 MB, free: 14.57 MB / 458.7 MB Notification: Performance of Templates: time 0.001985/0.00835, allocations: 0.8444 MB / 488.9 MB, free: 13.83 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.495605916250497]