Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.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.001484/0.001484, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001701/0.001701, allocations: 222.4 kB / 23 MB, free: 4.91 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.656/1.656, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.553/3.553, allocations: 0.5107 GB / 0.8166 GB, free: 17.78 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.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") [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.002335/0.002335, allocations: 62.12 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4953, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.002638/0.498, allocations: 0.5618 MB / 1.365 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.5, allocations: 1.035 MB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.5, allocations: 0 / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.5001, allocations: 3.938 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009133/0.501, allocations: 127.7 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.292e-05/0.501, allocations: 8 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.5011, allocations: 15.91 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.5011, allocations: 4 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.038e-05/0.5012, allocations: 4 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.5014, allocations: 43.91 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.5014, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.5017, allocations: 111.8 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.5017, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.5017, allocations: 7.984 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.502, allocations: 103.6 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.502, allocations: 0 / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.765e-06/0.502, allocations: 0 / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.502, allocations: 4 kB / 1.367 GB, free: 11.5 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.0005207/0.5025, allocations: 258.3 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.5025, allocations: 8.031 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.5026, allocations: 4.938 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.5028, allocations: 110.5 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.5028, allocations: 384 / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.5028, allocations: 384 / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.5029, allocations: 37.83 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.5029, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.5029, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.5029, allocations: 4 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.503, allocations: 3.938 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.5035, allocations: 343.2 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.5036, allocations: 169.1 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.5037, allocations: 80.14 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.5037, allocations: 75.28 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.004e-05/0.5038, allocations: 109.8 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.5038, allocations: 3.938 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.941e-05/0.5039, allocations: 33.66 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.504, allocations: 130.6 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.5041, allocations: 109.8 kB / 1.368 GB, free: 9.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.5041, allocations: 29.7 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.5042, allocations: 84.14 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.5042, allocations: 0 / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.5042, allocations: 13.72 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5044, allocations: 310.8 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.5044, allocations: 4 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.5044, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.5045, allocations: 8.797 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.5045, allocations: 15.86 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001251/0.5046, allocations: 37.77 kB / 1.369 GB, free: 9.383 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.5046, allocations: 4 kB / 1.369 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5046, allocations: 0 / 1.369 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.5046, allocations: 4 kB / 1.369 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.523e-05/0.5047, allocations: 4 kB / 1.369 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5047, allocations: 0 / 1.369 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.5047, allocations: 0 / 1.369 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.5047, allocations: 0 / 1.369 GB, free: 9.371 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.0001433/0.5048, allocations: 190.2 kB / 1.369 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.5049, allocations: 108.9 kB / 1.369 GB, free: 9.062 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.746e-05/0.505, allocations: 113.3 kB / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001087/0.5051, allocations: 184.3 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001101/0.5052, allocations: 180.2 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/0.5053, allocations: 176.3 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.5056, allocations: 360.7 kB / 1.37 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.621e-05/0.5057, allocations: 105 kB / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.5058, allocations: 105 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001353/0.5059, allocations: 184.2 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.506, allocations: 176.5 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001868/0.5062, allocations: 184.2 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-05/0.5063, allocations: 180.3 kB / 1.371 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.5065, allocations: 315.7 kB / 1.371 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.5066, allocations: 105 kB / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.5067, allocations: 180.2 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.5069, allocations: 105 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.507, allocations: 188.2 kB / 1.372 GB, free: 6.117 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.5071, allocations: 105 kB / 1.372 GB, free: 6.008 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.976e-05/0.5072, allocations: 79.28 kB / 1.372 GB, free: 5.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5072, allocations: 0 / 1.372 GB, free: 5.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003271/0.5075, allocations: 23.94 kB / 1.372 GB, free: 5.906 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.0005534/0.508, allocations: 248.7 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.508e-05/0.5081, allocations: 3.938 kB / 1.372 GB, free: 5.656 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5081, allocations: 0 / 1.372 GB, free: 5.656 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.232e-06/0.5081, allocations: 7.938 kB / 1.372 GB, free: 5.648 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.5086, allocations: 457.7 kB / 1.372 GB, free: 5.199 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.5092, allocations: 249.8 kB / 1.373 GB, free: 4.922 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.21e-05/0.5092, allocations: 55.36 kB / 1.373 GB, free: 4.848 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.5093, allocations: 11.44 kB / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.5093, allocations: 0 / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of Templates: time 0.003305/0.5126, allocations: 1.064 MB / 1.374 GB, free: 3.773 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 13.428848969284445] Failed to read output from testmodel.py, exit status != 0: 0.5226657357998192 0.541864786 0.035461819000000006 Calling exit ...