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.0008651/0.0008651, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008104/0.0008104, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8948/0.8948, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.648/1.648, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.952e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001058/0.001077, allocations: 0.5917 MB / 0.9524 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002085, allocations: 0.9999 MB / 0.9534 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.002104, allocations: 4 kB / 0.9534 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.00212, allocations: 0 / 0.9534 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005201/0.00264, allocations: 99.7 kB / 0.9535 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.696e-05/0.002667, allocations: 7.938 kB / 0.9535 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.002715, allocations: 7.984 kB / 0.9535 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.002752, allocations: 7.938 kB / 0.9535 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.002781, allocations: 3.984 kB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.002945, allocations: 39.91 kB / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.002956, allocations: 0 / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.003086, allocations: 71.91 kB / 0.9536 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.003095, allocations: 4 kB / 0.9536 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.00311, allocations: 4 kB / 0.9536 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.00326, allocations: 95.64 kB / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003262, allocations: 0 / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003263, allocations: 0 / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.003267, allocations: 0 / 0.9537 GB, free: 0.9688 MB / 0.9011 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.0002481/0.003515, allocations: 258.2 kB / 0.9539 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.00355, allocations: 8.031 kB / 0.9539 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.003577, allocations: 0.9375 kB / 0.9539 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.318e-05/0.00365, allocations: 113.8 kB / 0.954 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.003659, allocations: 4.375 kB / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.003667, allocations: 4.312 kB / 0.9541 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.021e-05/0.003737, allocations: 30.27 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.003743, allocations: 192 / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.003751, allocations: 4.125 kB / 0.9541 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.003757, allocations: 3.984 kB / 0.9541 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.523e-05/0.003772, allocations: 4 kB / 0.9541 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.00405, allocations: 339.1 kB / 0.9544 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.004126, allocations: 169.1 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.004149, allocations: 84.14 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.004167, allocations: 83.28 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.004197, allocations: 109.8 kB / 0.9548 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.004197, allocations: 0 / 0.9548 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.207e-05/0.00425, allocations: 29.64 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.004291, allocations: 130.7 kB / 0.955 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.004362, allocations: 101.8 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.004369, allocations: 25.7 kB / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.004397, allocations: 84.09 kB / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-06/0.0044, allocations: 0 / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.004423, allocations: 13.72 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.00449, allocations: 310.8 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.004498, allocations: 15.94 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-06/0.004503, allocations: 0 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.32e-05/0.004526, allocations: 12.84 kB / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004528, allocations: 0 / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.791e-05/0.004606, allocations: 41.58 kB / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.004616, allocations: 4 kB / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.00462, allocations: 0 / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.004631, allocations: 0 / 0.9556 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-05/0.004645, allocations: 4 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.81e-06/0.00465, allocations: 4.094 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-06/0.004658, allocations: 0 / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.004662, allocations: 0 / 0.9556 GB, free: 14.84 MB / 0.9167 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 6.105e-05/0.004723, allocations: 191.1 kB / 0.9558 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.004758, allocations: 108.9 kB / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.00479, allocations: 112.2 kB / 0.956 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/0.004828, allocations: 180.3 kB / 0.9562 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.985e-05/0.004868, allocations: 180.2 kB / 0.9563 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.831e-05/0.004906, allocations: 180.2 kB / 0.9565 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.005023, allocations: 356.8 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/0.005051, allocations: 101 kB / 0.9569 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.005073, allocations: 109 kB / 0.957 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.719e-05/0.00511, allocations: 184.2 kB / 0.9572 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.00515, allocations: 184.1 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-05/0.005187, allocations: 184.2 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.991e-05/0.005227, allocations: 184.3 kB / 0.9577 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.404e-05/0.005311, allocations: 303.8 kB / 0.958 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.005337, allocations: 105 kB / 0.9581 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.005382, allocations: 184.1 kB / 0.9583 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-05/0.005425, allocations: 101 kB / 0.9584 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.005468, allocations: 188.2 kB / 0.9586 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.00549, allocations: 109.1 kB / 0.9587 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.793e-05/0.005518, allocations: 83.27 kB / 0.9588 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005518, allocations: 0 / 0.9588 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001712/0.005689, allocations: 23.88 kB / 0.9588 GB, free: 11.38 MB / 0.9167 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.0002703/0.00596, allocations: 239.4 kB / 0.959 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.099e-05/0.006021, allocations: 4 kB / 0.959 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.006023, allocations: 4 kB / 0.959 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.006024, allocations: 0 / 0.959 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.006257, allocations: 459.6 kB / 0.9595 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.006556, allocations: 235.4 kB / 0.9597 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.372e-05/0.006589, allocations: 55.36 kB / 0.9597 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.006612, allocations: 8.5 kB / 0.9597 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/0.006612, allocations: 0 / 0.9597 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of Templates: time 0.001751/0.008363, allocations: 0.8814 MB / 0.9606 GB, free: 9.461 MB / 0.9167 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: 7.7523366287350655] Failed to read output from testmodel.py, exit status != 0: 0.012823436409235 0.020430780000000003 0.015530527 Calling exit ...