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.001704/0.001704, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.002135/0.002135, allocations: 215.6 kB / 23 MB, free: 4.957 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.602/1.602, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.929/2.929, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 176] 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.002169/0.002169, allocations: 63.89 kB / 1.118 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3936, allocations: 169.9 MB / 1.284 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001959/0.3956, allocations: 0.5871 MB / 1.284 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3971, allocations: 1.015 MB / 1.285 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.3972, allocations: 0 / 1.285 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.3972, allocations: 0 / 1.285 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007698/0.3979, allocations: 95.77 kB / 1.285 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.688e-05/0.398, allocations: 8 kB / 1.286 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.293e-05/0.398, allocations: 7.938 kB / 1.286 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.3981, allocations: 3.984 kB / 1.286 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.588e-05/0.3981, allocations: 4 kB / 1.286 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.3983, allocations: 31.97 kB / 1.286 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.3983, allocations: 3.938 kB / 1.286 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.3985, allocations: 83.91 kB / 1.286 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.3986, allocations: 0 / 1.286 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.3986, allocations: 3.938 kB / 1.286 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.3988, allocations: 75.78 kB / 1.286 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3988, allocations: 0 / 1.286 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3988, allocations: 0 / 1.286 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3988, allocations: 0 / 1.286 GB, free: 1.801 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.0003781/0.3991, allocations: 258.3 kB / 1.286 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3992, allocations: 12.03 kB / 1.286 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.3992, allocations: 0.9375 kB / 1.286 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3993, allocations: 114.4 kB / 1.286 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3994, allocations: 384 / 1.286 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-06/0.3994, allocations: 384 / 1.286 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/0.3995, allocations: 45.75 kB / 1.286 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3995, allocations: 0 / 1.286 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3995, allocations: 3.984 kB / 1.286 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3995, allocations: 0 / 1.286 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.3995, allocations: 0 / 1.286 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.3999, allocations: 343.2 kB / 1.286 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.4, allocations: 178.5 kB / 1.287 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.4001, allocations: 80.14 kB / 1.287 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.4001, allocations: 75.28 kB / 1.287 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/0.4002, allocations: 109.8 kB / 1.287 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4002, allocations: 0 / 1.287 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.885e-05/0.4003, allocations: 29.7 kB / 1.287 GB, free: 468 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/0.4003, allocations: 130.6 kB / 1.287 GB, free: 324 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.4005, allocations: 101.8 kB / 1.287 GB, free: 212 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.4005, allocations: 25.7 kB / 1.287 GB, free: 180 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.4005, allocations: 84.14 kB / 1.287 GB, free: 92 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-06/0.4005, allocations: 7.984 kB / 1.287 GB, free: 84 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.4006, allocations: 13.72 kB / 1.287 GB, free: 64 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4007, allocations: 314.8 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.4007, allocations: 0 / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-06/0.4008, allocations: 4 kB / 1.288 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.474e-05/0.4008, allocations: 4.859 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4008, allocations: 3.938 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001082/0.4009, allocations: 41.64 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4009, allocations: 4 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4009, allocations: 4.094 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4009, allocations: 0 / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.632e-05/0.4009, allocations: 0 / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4009, allocations: 3.938 kB / 1.288 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.401, allocations: 4 kB / 1.288 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.401, allocations: 3.984 kB / 1.288 GB, free: 15.66 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.0001223/0.4011, allocations: 185.1 kB / 1.288 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.4012, allocations: 108.9 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.409e-05/0.4012, allocations: 108.1 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.74e-05/0.4013, allocations: 184.3 kB / 1.288 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001725/0.4015, allocations: 188.2 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.435e-05/0.4016, allocations: 184.1 kB / 1.289 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.4019, allocations: 352.8 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.177e-05/0.4019, allocations: 108.9 kB / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.902e-05/0.402, allocations: 105 kB / 1.289 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.099e-05/0.4021, allocations: 180.3 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.826e-05/0.4022, allocations: 180.4 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001014/0.4023, allocations: 180.3 kB / 1.29 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000171/0.4025, allocations: 184.2 kB / 1.29 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.4027, allocations: 311.7 kB / 1.29 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.4028, allocations: 105 kB / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.4029, allocations: 180.3 kB / 1.29 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.403, allocations: 108.9 kB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4031, allocations: 184.3 kB / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.4032, allocations: 112.9 kB / 1.291 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.4033, allocations: 79.28 kB / 1.291 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4033, allocations: 0 / 1.291 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003056/0.4036, allocations: 27.86 kB / 1.291 GB, free: 12.2 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.0004215/0.404, allocations: 225.1 kB / 1.291 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.003e-05/0.4041, allocations: 0 / 1.291 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4041, allocations: 0 / 1.291 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.4041, allocations: 7.984 kB / 1.291 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.4045, allocations: 457.9 kB / 1.291 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.4049, allocations: 230.3 kB / 1.292 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.183e-05/0.405, allocations: 51.36 kB / 1.292 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.405, allocations: 15.5 kB / 1.292 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.405, allocations: 0 / 1.292 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.002788/0.4078, allocations: 0.8736 MB / 1.293 GB, free: 10.31 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: 12.294278877787292] Failed to read output from testmodel.py, exit status != 0: 0.41697563929483294 0.43308140100000003 0.030968774 Calling exit ...