Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001396/0.001396, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.00153/0.00153, allocations: 207.2 kB / 23.03 MB, free: 4.863 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.327/3.327, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.03 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3929, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001963/0.3949, allocations: 0.5846 MB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3963, allocations: 1.019 MB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.3964, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.3964, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007491/0.3971, allocations: 91.77 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.385e-05/0.3972, allocations: 11.94 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 4.796e-05/0.3972, allocations: 8 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.3973, allocations: 4 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.3973, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.3975, allocations: 35.84 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.3975, allocations: 3.938 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.3977, allocations: 83.89 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.3977, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.3977, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.3979, allocations: 71.84 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3979, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3979, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.3979, allocations: 3.938 kB / 1.329 GB, free: 14.98 MB / 1.029 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.0003768/0.3983, allocations: 255.3 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3984, allocations: 12.03 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.3984, allocations: 4.891 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.3985, allocations: 106.5 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-06/0.3985, allocations: 384 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3985, allocations: 384 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/0.3986, allocations: 37.77 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3987, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3987, allocations: 4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3987, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.3987, allocations: 3.984 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.3991, allocations: 335.2 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3992, allocations: 173.1 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.3992, allocations: 84.08 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.3993, allocations: 75.28 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/0.3993, allocations: 109.8 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3993, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.669e-05/0.3994, allocations: 29.7 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.3995, allocations: 126.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3996, allocations: 105.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3996, allocations: 29.64 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.3997, allocations: 88.14 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.3997, allocations: 3.984 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.3997, allocations: 9.719 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3999, allocations: 314.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.3999, allocations: 3.938 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.3999, allocations: 4 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/0.3999, allocations: 12.84 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3999, allocations: 8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001253/0.4, allocations: 37.66 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4001, allocations: 9.719 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4001, allocations: 3.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4001, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.567e-05/0.4001, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4001, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.436e-05/0.4001, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4001, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 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.0001192/0.4002, allocations: 193.5 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.4003, allocations: 105 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.4004, allocations: 108.1 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-05/0.4005, allocations: 188.2 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-05/0.4006, allocations: 180.3 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.373e-05/0.4006, allocations: 184.2 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.4009, allocations: 352.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.877e-05/0.4009, allocations: 105 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/0.401, allocations: 104.9 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.352e-05/0.4011, allocations: 184.2 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.52e-05/0.4011, allocations: 180.4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.234e-05/0.4012, allocations: 180.3 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.48e-05/0.4013, allocations: 184.3 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.4015, allocations: 311.7 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.4015, allocations: 104.9 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.4016, allocations: 180.3 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.4017, allocations: 105 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.4018, allocations: 184.2 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.4019, allocations: 109 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.4019, allocations: 79.28 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4019, allocations: 0 / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002742/0.4022, allocations: 19.88 kB / 1.334 GB, free: 9.391 MB / 1.029 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.0004459/0.4026, allocations: 242.4 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.621e-05/0.4027, allocations: 3.938 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4027, allocations: 0 / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.4027, allocations: 0 / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.4031, allocations: 463.6 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.4036, allocations: 239.2 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.692e-05/0.4037, allocations: 59.22 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.4037, allocations: 11.44 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4037, allocations: 0 / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of Templates: time 0.002665/0.4064, allocations: 0.8718 MB / 1.336 GB, free: 7.469 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 12.176374311093241] Failed to read output from testmodel.py, exit status != 0: 0.41532057407312095 0.43027825399999997 0.029129585000000003 Calling exit ...