Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001963/0.001963, allocations: 109.6 kB / 19.7 MB, free: 2.25 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.002214/0.002214, allocations: 217.1 kB / 23.01 MB, free: 5.086 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.842/2.842, allocations: 476.8 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002028/0.002028, allocations: 68.91 kB / 1.119 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3923, allocations: 169.9 MB / 1.285 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001925/0.3942, allocations: 0.5783 MB / 1.285 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3956, allocations: 1.031 MB / 1.286 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.3956, allocations: 4 kB / 1.286 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.3956, allocations: 0 / 1.286 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007296/0.3964, allocations: 95.77 kB / 1.286 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-05/0.3964, allocations: 11.94 kB / 1.286 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.597e-05/0.3965, allocations: 4 kB / 1.286 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.3965, allocations: 0 / 1.286 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.999e-05/0.3965, allocations: 4 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.3968, allocations: 35.89 kB / 1.286 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3968, allocations: 3.938 kB / 1.286 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.397, allocations: 87.91 kB / 1.286 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.397, allocations: 4 kB / 1.286 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.397, allocations: 11.92 kB / 1.286 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.3972, allocations: 75.73 kB / 1.287 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3972, allocations: 0 / 1.287 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3972, allocations: 0 / 1.287 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3972, allocations: 0 / 1.287 GB, free: 1.309 MB / 0.9825 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.0003705/0.3976, allocations: 258.3 kB / 1.287 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3976, allocations: 8.031 kB / 1.287 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.3977, allocations: 0.9375 kB / 1.287 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.3978, allocations: 118.5 kB / 1.287 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3978, allocations: 384 / 1.287 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.3978, allocations: 384 / 1.287 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.784e-05/0.3979, allocations: 37.81 kB / 1.287 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3979, allocations: 3.984 kB / 1.287 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.3979, allocations: 0 / 1.287 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3979, allocations: 0 / 1.287 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.3979, allocations: 3.938 kB / 1.287 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.3984, allocations: 366.5 kB / 1.287 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.3985, allocations: 165.1 kB / 1.287 GB, free: 260 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.3985, allocations: 81.59 kB / 1.288 GB, free: 176 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3985, allocations: 79.28 kB / 1.288 GB, free: 96 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/0.3986, allocations: 109.8 kB / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3986, allocations: 0 / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.003e-05/0.3987, allocations: 33.62 kB / 1.288 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.3988, allocations: 130.7 kB / 1.288 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3989, allocations: 97.86 kB / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3989, allocations: 25.7 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.3989, allocations: 80.14 kB / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.3989, allocations: 0 / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.399, allocations: 25.7 kB / 1.288 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3991, allocations: 314.8 kB / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-06/0.3991, allocations: 0 / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.3991, allocations: 3.938 kB / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.3992, allocations: 16.8 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3992, allocations: 0 / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001028/0.3993, allocations: 33.7 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3993, allocations: 8 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3993, allocations: 4.094 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3993, allocations: 3.984 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.548e-05/0.3993, allocations: 0 / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3993, allocations: 3.938 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.3993, allocations: 0 / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.3993, allocations: 4 kB / 1.288 GB, free: 15.14 MB / 0.9981 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.0001333/0.3995, allocations: 185.1 kB / 1.289 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.3995, allocations: 108.9 kB / 1.289 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.3996, allocations: 112.1 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.324e-05/0.3997, allocations: 184.3 kB / 1.289 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.27e-05/0.3998, allocations: 184.2 kB / 1.289 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.431e-05/0.3998, allocations: 176.3 kB / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.4001, allocations: 380.2 kB / 1.29 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.394e-05/0.4001, allocations: 105 kB / 1.29 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.473e-05/0.4002, allocations: 105 kB / 1.29 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.761e-05/0.4003, allocations: 184.2 kB / 1.29 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/0.4004, allocations: 176.5 kB / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.153e-05/0.4005, allocations: 184.2 kB / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.65e-05/0.4005, allocations: 180.2 kB / 1.291 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.4007, allocations: 311.7 kB / 1.291 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.4008, allocations: 105 kB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.4009, allocations: 184.2 kB / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/0.401, allocations: 101 kB / 1.291 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.401, allocations: 192.2 kB / 1.292 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.4011, allocations: 105 kB / 1.292 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.4012, allocations: 83.27 kB / 1.292 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4012, allocations: 0 / 1.292 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002795/0.4014, allocations: 23.88 kB / 1.292 GB, free: 11.65 MB / 0.9981 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.0004431/0.4019, allocations: 241.1 kB / 1.292 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.655e-05/0.402, allocations: 0 / 1.292 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.402, allocations: 0 / 1.292 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/0.402, allocations: 3.938 kB / 1.292 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.4024, allocations: 459.6 kB / 1.292 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.4029, allocations: 222 kB / 1.293 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4032, allocations: 0.6729 MB / 1.293 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.4032, allocations: 11.44 kB / 1.293 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/0.4032, allocations: 0 / 1.293 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of Templates: time 0.00277/0.406, allocations: 0.8668 MB / 1.294 GB, free: 9.133 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.923283831973094] Failed to read output from testmodel.py, exit status != 0: 0.4153993309882935 0.42936203599999995 0.029112613000000002 Calling exit ...