Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001425/0.001425, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001619/0.001619, allocations: 212.9 kB / 22.99 MB, free: 4.945 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.415/3.415, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002128/0.002128, allocations: 63.34 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3905, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001888/0.3924, allocations: 0.5742 MB / 1.365 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3938, allocations: 1.015 MB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.3939, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.3939, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007103/0.3946, allocations: 91.78 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.888e-05/0.3946, allocations: 15.98 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.812e-05/0.3947, allocations: 7.938 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.3947, allocations: 4 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.663e-05/0.3947, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.395, allocations: 39.84 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.395, allocations: 8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.3952, allocations: 71.91 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.3952, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.3952, allocations: 4 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.3954, allocations: 79.72 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3954, allocations: 0 / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3954, allocations: 0 / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3954, allocations: 0 / 1.367 GB, free: 11.62 MB / 1.061 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.0003559/0.3957, allocations: 254.3 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3958, allocations: 8.031 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.3958, allocations: 0.9375 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3959, allocations: 122.5 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3959, allocations: 384 / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.396, allocations: 384 / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.216e-05/0.396, allocations: 33.83 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3961, allocations: 3.984 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.3961, allocations: 0 / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3961, allocations: 0 / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.3961, allocations: 4 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.3965, allocations: 335.2 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.3966, allocations: 173 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.3967, allocations: 88.14 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.3967, allocations: 83.27 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/0.3968, allocations: 105.8 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3968, allocations: 0 / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.295e-05/0.3968, allocations: 25.7 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.3969, allocations: 134.6 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.397, allocations: 101.8 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3971, allocations: 29.69 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.3971, allocations: 84.12 kB / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.3971, allocations: 0 / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.3971, allocations: 17.72 kB / 1.368 GB, free: 9.891 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3973, allocations: 310.8 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.3973, allocations: 11.94 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-06/0.3973, allocations: 0 / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.3974, allocations: 4.859 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3974, allocations: 3.938 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001264/0.3975, allocations: 41.62 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3975, allocations: 4 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3975, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3975, allocations: 4.094 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.94e-05/0.3976, allocations: 4 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3976, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.3976, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3976, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 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.0001509/0.3977, allocations: 190.2 kB / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/0.3978, allocations: 110 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.821e-05/0.3979, allocations: 112.1 kB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.843e-05/0.398, allocations: 180.3 kB / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001122/0.3981, allocations: 180.3 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.473e-05/0.3982, allocations: 180.2 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.3985, allocations: 364.8 kB / 1.37 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.482e-05/0.3985, allocations: 104.9 kB / 1.37 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.872e-05/0.3986, allocations: 109 kB / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/0.3987, allocations: 176.3 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.3988, allocations: 180.4 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001361/0.399, allocations: 188.3 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001351/0.3991, allocations: 184.2 kB / 1.371 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.3993, allocations: 303.7 kB / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.3993, allocations: 113 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.3995, allocations: 176.3 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3996, allocations: 108.9 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.3997, allocations: 180.3 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.951e-05/0.3997, allocations: 108.9 kB / 1.372 GB, free: 6.129 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.3998, allocations: 87.27 kB / 1.372 GB, free: 6.043 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3998, allocations: 0 / 1.372 GB, free: 6.043 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003023/0.4001, allocations: 23.88 kB / 1.372 GB, free: 6.02 MB / 1.061 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.0005211/0.4006, allocations: 235.3 kB / 1.372 GB, free: 5.789 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.257e-05/0.4007, allocations: 0 / 1.372 GB, free: 5.789 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4007, allocations: 4 kB / 1.372 GB, free: 5.785 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.4007, allocations: 0 / 1.372 GB, free: 5.785 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.4012, allocations: 463.6 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.4017, allocations: 233.8 kB / 1.373 GB, free: 5.066 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.4017, allocations: 59.2 kB / 1.373 GB, free: 4.988 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.4017, allocations: 11.44 kB / 1.373 GB, free: 4.977 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4017, allocations: 4.062 kB / 1.373 GB, free: 4.973 MB / 1.061 GB Notification: Performance of Templates: time 0.002709/0.4045, allocations: 0.8649 MB / 1.373 GB, free: 4.113 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 12.410331413149834] Failed to read output from testmodel.py, exit status != 0: 0.41289106709882617 0.428006985 0.029500230000000002 Calling exit ...