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.001935/0.001935, allocations: 102.1 kB / 19.7 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.002422/0.002422, allocations: 219.7 kB / 23.01 MB, free: 4.609 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.355/3.355, allocations: 0.505 GB / 0.8108 GB, free: 22.01 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.002079/0.002079, allocations: 70 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3947, allocations: 180.2 MB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001968/0.3967, allocations: 0.5796 MB / 1.355 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.3983, allocations: 1.031 MB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.3983, allocations: 4 kB / 1.356 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.3983, allocations: 0 / 1.356 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007609/0.3991, allocations: 87.78 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.961e-05/0.3991, allocations: 23.86 kB / 1.356 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.3992, allocations: 4 kB / 1.356 GB, free: 6.164 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.3993, allocations: 0 / 1.356 GB, free: 6.164 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.3993, allocations: 7.984 kB / 1.356 GB, free: 6.156 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.3995, allocations: 39.84 kB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3995, allocations: 0 / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.3997, allocations: 83.91 kB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.3997, allocations: 7.984 kB / 1.356 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.3998, allocations: 0 / 1.356 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.3999, allocations: 71.8 kB / 1.356 GB, free: 5.957 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3999, allocations: 3.938 kB / 1.356 GB, free: 5.953 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3999, allocations: 0 / 1.356 GB, free: 5.953 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3999, allocations: 0 / 1.356 GB, free: 5.953 MB / 1.045 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.0004466/0.4004, allocations: 266.2 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.4004, allocations: 8.031 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.4005, allocations: 0.9375 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.4006, allocations: 110.5 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4006, allocations: 8.375 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.4006, allocations: 384 / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.893e-05/0.4007, allocations: 37.83 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.4007, allocations: 0 / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.4007, allocations: 0 / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4007, allocations: 0 / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.4008, allocations: 3.984 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.4012, allocations: 366.5 kB / 1.357 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.4013, allocations: 165.1 kB / 1.357 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.4014, allocations: 84.17 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.4014, allocations: 75.28 kB / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/0.4015, allocations: 109.8 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.4015, allocations: 4 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.796e-05/0.4015, allocations: 29.64 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.4016, allocations: 126.7 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.4017, allocations: 105.8 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.4017, allocations: 25.7 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.4018, allocations: 84.09 kB / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.4018, allocations: 0 / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.4018, allocations: 13.72 kB / 1.358 GB, free: 4.191 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.402, allocations: 318.8 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.402, allocations: 0 / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.402, allocations: 3.984 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.402, allocations: 16.8 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.402, allocations: 0 / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001031/0.4021, allocations: 37.58 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.4021, allocations: 8 kB / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4021, allocations: 96 / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4022, allocations: 4 kB / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.555e-05/0.4022, allocations: 0 / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4022, allocations: 0 / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.4022, allocations: 0 / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4022, allocations: 4 kB / 1.358 GB, free: 3.789 MB / 1.045 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.0001141/0.4023, allocations: 196.9 kB / 1.358 GB, free: 3.586 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.4024, allocations: 104.9 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.131e-05/0.4025, allocations: 116.1 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.111e-05/0.4025, allocations: 176.3 kB / 1.359 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.571e-05/0.4026, allocations: 184.2 kB / 1.359 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.389e-05/0.4027, allocations: 180.8 kB / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.403, allocations: 380.2 kB / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.024e-05/0.4031, allocations: 101 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.4031, allocations: 109 kB / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/0.4033, allocations: 184.2 kB / 1.36 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-05/0.4033, allocations: 176.5 kB / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.562e-05/0.4034, allocations: 184.2 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.698e-05/0.4035, allocations: 176.3 kB / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.4038, allocations: 315.7 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.4039, allocations: 105 kB / 1.361 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.4041, allocations: 188.2 kB / 1.361 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.419e-05/0.4042, allocations: 101 kB / 1.361 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.4043, allocations: 188.4 kB / 1.361 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.4043, allocations: 108.9 kB / 1.361 GB, free: 396 kB / 1.045 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.4044, allocations: 83.27 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4044, allocations: 0 / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003231/0.4047, allocations: 31.86 kB / 1.361 GB, free: 280 kB / 1.045 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.0004315/0.4052, allocations: 227.2 kB / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.23e-05/0.4052, allocations: 4 kB / 1.361 GB, free: 44 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4052, allocations: 0 / 1.361 GB, free: 44 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.4052, allocations: 0 / 1.361 GB, free: 44 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.4057, allocations: 467.5 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.4061, allocations: 230 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.4064, allocations: 0.6727 MB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.4065, allocations: 11.44 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4065, allocations: 0 / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of Templates: time 0.002565/0.409, allocations: 0.874 MB / 1.364 GB, free: 13.75 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.190391668002121] Failed to read output from testmodel.py, exit status != 0: 0.4176827719784342 0.43317724100000005 0.029882367000000003 Calling exit ...