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.0009803/0.0009803, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008845/0.001865, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006902/0.0006902, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008278/0.001518, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9205/0.9205, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08279/1.003, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.7441/0.7441, allocations: 154.6 MB / 398.5 MB, free: 0.5273 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2333/0.9774, allocations: 49.04 MB / 447.6 MB, free: 6.715 MB / 426.7 MB " [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.503e-06/1.503e-06, allocations: 0 / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.159e-05, allocations: 2.312 kB / 448.9 MB, free: 5.383 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001514/0.001535, allocations: 0.6401 MB / 449.6 MB, free: 4.781 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.002622, allocations: 1.044 MB / 450.6 MB, free: 3.727 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.002641, allocations: 0.75 kB / 450.6 MB, free: 3.727 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.957e-06/0.002645, allocations: 0 / 450.6 MB, free: 3.727 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.003077, allocations: 80.41 kB / 450.7 MB, free: 3.652 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.728e-05/0.003115, allocations: 19.91 kB / 450.7 MB, free: 3.633 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.003161, allocations: 4.766 kB / 450.7 MB, free: 3.629 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.003198, allocations: 1.562 kB / 450.7 MB, free: 3.629 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.003246, allocations: 5.312 kB / 450.7 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.003431, allocations: 41.67 kB / 450.8 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.003442, allocations: 0 / 450.8 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.003632, allocations: 80.94 kB / 450.8 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.003643, allocations: 5.375 kB / 450.8 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.145e-05/0.003654, allocations: 0.9844 kB / 450.8 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.003809, allocations: 73.45 kB / 450.9 MB, free: 3.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.722e-05/0.003826, allocations: 0 / 450.9 MB, free: 3.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003827, allocations: 1.281 kB / 450.9 MB, free: 3.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.003847, allocations: 0 / 450.9 MB, free: 3.43 MB / 426.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.0003039/0.004151, allocations: 241.7 kB / 451.2 MB, free: 3.172 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.004185, allocations: 8.781 kB / 451.2 MB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.004213, allocations: 4.938 kB / 451.2 MB, free: 3.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.004306, allocations: 109.8 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.004318, allocations: 4.375 kB / 451.3 MB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.004326, allocations: 4.312 kB / 451.3 MB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.332e-05/0.004389, allocations: 26.27 kB / 451.3 MB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.004396, allocations: 0.7344 kB / 451.3 MB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.004403, allocations: 4.688 kB / 451.3 MB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.004409, allocations: 0.625 kB / 451.3 MB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.319e-05/0.004422, allocations: 4 kB / 451.3 MB, free: 2.984 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.00469, allocations: 296 kB / 451.6 MB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.075e-05/0.004761, allocations: 173.6 kB / 451.8 MB, free: 2.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.004788, allocations: 81.95 kB / 451.9 MB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.004808, allocations: 75.28 kB / 451.9 MB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.004848, allocations: 113.8 kB / 452 MB, free: 2.223 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.00485, allocations: 0.5312 kB / 452 MB, free: 2.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 5.767e-05/0.004907, allocations: 30.41 kB / 452.1 MB, free: 2.188 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.00496, allocations: 132.3 kB / 452.2 MB, free: 2.047 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.979e-05/0.00504, allocations: 107.5 kB / 452.3 MB, free: 1.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.005049, allocations: 25.7 kB / 452.3 MB, free: 1.898 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.005082, allocations: 88.03 kB / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-06/0.005087, allocations: 1.219 kB / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.005117, allocations: 17.7 kB / 452.4 MB, free: 1.785 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.005204, allocations: 315.5 kB / 452.7 MB, free: 1.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-06/0.005211, allocations: 0.6562 kB / 452.7 MB, free: 1.469 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.005217, allocations: 4.031 kB / 452.7 MB, free: 1.465 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.005239, allocations: 10.11 kB / 452.8 MB, free: 1.453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005241, allocations: 0 / 452.8 MB, free: 1.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.225e-05/0.005313, allocations: 31.23 kB / 452.8 MB, free: 1.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.005327, allocations: 13.14 kB / 452.8 MB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.005332, allocations: 3.938 kB / 452.8 MB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.005342, allocations: 0 / 452.8 MB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.762e-05/0.00536, allocations: 2.062 kB / 452.8 MB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.005364, allocations: 3.984 kB / 452.8 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.005376, allocations: 0 / 452.8 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.005391, allocations: 4 kB / 452.8 MB, free: 1.395 MB / 426.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 7.637e-05/0.005467, allocations: 185.1 kB / 453 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.005519, allocations: 105.9 kB / 453.1 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.005569, allocations: 117 kB / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.024e-05/0.005619, allocations: 177.1 kB / 453.4 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.232e-05/0.005672, allocations: 180.8 kB / 453.6 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.339e-05/0.005725, allocations: 185.1 kB / 453.7 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.005886, allocations: 313.4 kB / 454.1 MB, free: 92 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.103e-05/0.005937, allocations: 108.9 kB / 454.2 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.005971, allocations: 109.6 kB / 454.3 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.00601, allocations: 102.1 kB / 454.4 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.392e-05/0.006064, allocations: 188.8 kB / 454.5 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.251e-05/0.006117, allocations: 176.9 kB / 454.7 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-05/0.006166, allocations: 188.1 kB / 454.9 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.867e-05/0.006214, allocations: 180.9 kB / 455.1 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.006322, allocations: 302.4 kB / 455.4 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.006378, allocations: 184.3 kB / 455.6 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.006447, allocations: 109.5 kB / 455.7 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.006499, allocations: 184.2 kB / 455.8 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.00653, allocations: 110.5 kB / 456 MB, free: 14.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.561e-05/0.006546, allocations: 5.547 kB / 456 MB, free: 14.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006546, allocations: 0 / 456 MB, free: 14.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.006767, allocations: 25.7 kB / 456 MB, free: 14.06 MB / 442.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.00035/0.007117, allocations: 227.7 kB / 456.2 MB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.986e-05/0.007167, allocations: 6.281 kB / 456.2 MB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.007173, allocations: 4.625 kB / 456.2 MB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.007174, allocations: 0 / 456.2 MB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.007425, allocations: 460.3 kB / 456.7 MB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.007815, allocations: 212.1 kB / 456.9 MB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.738e-05/0.007852, allocations: 61.08 kB / 456.9 MB, free: 13.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.048e-05/0.007883, allocations: 4 kB / 456.9 MB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.007918, allocations: 49.28 kB / 457 MB, free: 13.03 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/0.007919, allocations: 0 / 457 MB, free: 13.03 MB / 442.7 MB Notification: Performance of Templates: time 0.003056/0.01098, allocations: 0.8601 MB / 457.8 MB, free: 12.27 MB / 442.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.42360233142972]