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.001312/0.001312, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001465/0.001465, allocations: 165.9 kB / 22.46 MB, free: 5.359 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.455/1.455, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.21/1.21, allocations: 154.6 MB / 413.8 MB, free: 5.203 MB / 382.1 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 178] 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.493e-06/1.493e-06, allocations: 0 / 0.6187 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.128e-05, allocations: 8.422 kB / 0.6187 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00165/0.001681, allocations: 0.5757 MB / 0.6192 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.003189, allocations: 1.003 MB / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.003216, allocations: 0 / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.00323, allocations: 0 / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007651/0.003995, allocations: 95.83 kB / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.841e-05/0.004034, allocations: 11.88 kB / 0.6203 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.004083, allocations: 15.92 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.004122, allocations: 3.984 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.00415, allocations: 4 kB / 0.6203 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.004366, allocations: 31.97 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.004377, allocations: 0 / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.004552, allocations: 75.91 kB / 0.6204 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.004561, allocations: 0 / 0.6204 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.004585, allocations: 3.938 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.004775, allocations: 87.83 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004778, allocations: 0 / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004779, allocations: 4 kB / 0.6205 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.004784, allocations: 0 / 0.6205 GB, free: 2.562 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.00035/0.005134, allocations: 262.2 kB / 0.6208 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.005173, allocations: 8.031 kB / 0.6208 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.005206, allocations: 0.9375 kB / 0.6208 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.005327, allocations: 117.7 kB / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.005338, allocations: 4.312 kB / 0.6209 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.005345, allocations: 384 / 0.6209 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.052e-05/0.005436, allocations: 34.25 kB / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.005445, allocations: 192 / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.005455, allocations: 8.125 kB / 0.6209 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.005459, allocations: 0 / 0.6209 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/0.005475, allocations: 0 / 0.6209 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.005886, allocations: 339.2 kB / 0.6213 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.00599, allocations: 173.1 kB / 0.6214 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.811e-05/0.006038, allocations: 84.14 kB / 0.6215 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.006074, allocations: 75.28 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.586e-05/0.00614, allocations: 113.8 kB / 0.6217 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.006141, allocations: 0 / 0.6217 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.162e-05/0.006223, allocations: 37.58 kB / 0.6217 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.006302, allocations: 130.7 kB / 0.6219 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.006416, allocations: 105.8 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.006431, allocations: 25.7 kB / 0.622 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.006479, allocations: 84.09 kB / 0.6221 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.006482, allocations: 0 / 0.6221 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.006513, allocations: 13.72 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.006657, allocations: 314.8 kB / 0.6224 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.006666, allocations: 0 / 0.6224 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/0.006679, allocations: 8 kB / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.006705, allocations: 4.859 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006707, allocations: 4.062 kB / 0.6224 GB, free: 496 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001143/0.006822, allocations: 41.58 kB / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.006837, allocations: 4 kB / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006842, allocations: 0 / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.006859, allocations: 0 / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.961e-05/0.006879, allocations: 0 / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.006883, allocations: 0 / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.006897, allocations: 4 kB / 0.6224 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.006908, allocations: 7.984 kB / 0.6224 GB, free: 432 kB / 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 0.0001061/0.007014, allocations: 181.1 kB / 0.6226 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.007091, allocations: 117 kB / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.007155, allocations: 108.1 kB / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001072/0.007262, allocations: 176.3 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.256e-05/0.007355, allocations: 188.2 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.349e-05/0.007438, allocations: 176.3 kB / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.007681, allocations: 356.9 kB / 0.6237 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-05/0.00773, allocations: 104.9 kB / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.007778, allocations: 105 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-05/0.007855, allocations: 188.1 kB / 0.6241 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/0.007935, allocations: 180.2 kB / 0.6242 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-05/0.008011, allocations: 176.3 kB / 0.6244 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.416e-05/0.008106, allocations: 196.2 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.008273, allocations: 303.8 kB / 0.6249 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.008326, allocations: 101 kB / 0.625 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/0.008416, allocations: 184.2 kB / 0.6252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.008505, allocations: 112.9 kB / 0.6253 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.008583, allocations: 184.4 kB / 0.6254 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.087e-05/0.008633, allocations: 104.9 kB / 0.6255 GB, free: 13.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.008684, allocations: 83.27 kB / 0.6256 GB, free: 12.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.008684, allocations: 0 / 0.6256 GB, free: 12.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002756/0.00896, allocations: 23.92 kB / 0.6256 GB, free: 12.96 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.0004447/0.009404, allocations: 225.6 kB / 0.6259 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.009485, allocations: 4 kB / 0.6259 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009487, allocations: 0 / 0.6259 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.009491, allocations: 3.984 kB / 0.6259 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.009881, allocations: 459 kB / 0.6263 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.0103, allocations: 208 kB / 0.6265 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.628e-05/0.01036, allocations: 55.36 kB / 0.6266 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.01038, allocations: 0 / 0.6266 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.01041, allocations: 12.5 kB / 0.6266 GB, free: 11.96 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.01041, allocations: 0 / 0.6266 GB, free: 11.96 MB / 0.545 GB Notification: Performance of Templates: time 0.003326/0.01374, allocations: 0.7051 MB / 0.6273 GB, free: 11.3 MB / 0.545 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 sys.exit(0), Time elapsed: 5.6929155215620995] Failed to read output from testmodel.py, exit status != 0: 0.02229982241988182 0.037371526 0.029389865 Calling exit ...