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.001793/0.001793, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002817/0.002817, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.221/3.221, allocations: 0.49 GB / 0.7958 GB, free: 33.31 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.002045/0.002045, allocations: 63.25 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3909, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001918/0.3928, allocations: 0.5923 MB / 1.328 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3943, allocations: 1.031 MB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.3943, allocations: 4 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.3943, allocations: 0 / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007604/0.3951, allocations: 91.77 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.022e-05/0.3951, allocations: 11.94 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.586e-05/0.3952, allocations: 4 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.3952, allocations: 4 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/0.3952, allocations: 3.938 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.3955, allocations: 39.91 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.3955, allocations: 4 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.3957, allocations: 87.89 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.3957, allocations: 3.938 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.3957, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.3959, allocations: 75.78 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3959, allocations: 0 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3959, allocations: 0 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.3959, allocations: 0 / 1.329 GB, free: 15.48 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.000391/0.3963, allocations: 254.3 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3963, allocations: 12.03 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.3964, allocations: 8.891 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3965, allocations: 106.5 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3965, allocations: 384 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.3965, allocations: 384 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.3966, allocations: 37.81 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3967, allocations: 4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3967, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3967, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.3967, allocations: 3.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.3971, allocations: 362.6 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.63e-05/0.3972, allocations: 165.1 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.3973, allocations: 80.14 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.3973, allocations: 75.28 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.95e-05/0.3974, allocations: 121.8 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3974, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.036e-05/0.3974, allocations: 25.7 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.3975, allocations: 126.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3976, allocations: 105.8 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3977, allocations: 29.7 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.3977, allocations: 88.08 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-06/0.3977, allocations: 4 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.3978, allocations: 13.66 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3979, allocations: 322.8 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.969e-06/0.3979, allocations: 0 / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.3979, allocations: 0 / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.398, allocations: 12.8 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.398, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001066/0.3981, allocations: 37.77 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3981, allocations: 8 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3981, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3981, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.605e-05/0.3981, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3981, allocations: 3.984 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.585e-05/0.3981, allocations: 3.953 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.3981, allocations: 0 / 1.331 GB, free: 13.32 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.0001196/0.3983, allocations: 190.2 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.537e-05/0.3983, allocations: 109 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.3984, allocations: 104.1 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.063e-05/0.3985, allocations: 188.3 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.432e-05/0.3986, allocations: 184.2 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.562e-05/0.3987, allocations: 176.3 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.3989, allocations: 384.2 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-05/0.399, allocations: 105 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.399, allocations: 104.9 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.204e-05/0.3991, allocations: 176.3 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/0.3992, allocations: 180.5 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-05/0.3993, allocations: 180.2 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.108e-05/0.3994, allocations: 188.3 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.3995, allocations: 307.7 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.3996, allocations: 105 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.99e-05/0.3997, allocations: 184.2 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.3998, allocations: 113 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/0.3999, allocations: 180.2 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.3999, allocations: 109 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.4, allocations: 79.28 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4, allocations: 3.938 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002874/0.4003, allocations: 23.86 kB / 1.334 GB, free: 9.809 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.0004477/0.4007, allocations: 226.3 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.725e-05/0.4008, allocations: 4 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4008, allocations: 0 / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.4008, allocations: 3.938 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.4013, allocations: 464.5 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.4017, allocations: 227.1 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.402, allocations: 0.6727 MB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.4021, allocations: 15.42 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4021, allocations: 0 / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of Templates: time 0.002768/0.4048, allocations: 0.8758 MB / 1.337 GB, free: 7.281 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.228040324000176] Failed to read output from testmodel.py, exit status != 0: 0.41341916800593026 0.428070244 0.029243329000000002 Calling exit ...