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.0008304/0.0008304, allocations: 76.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.0008159/0.0008159, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8986/0.8986, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.82/1.82, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 4 kB / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.359e-05, allocations: 2.281 kB / 1.001 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001106/0.001129, allocations: 0.5638 MB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.002188, allocations: 1.012 MB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.00221, allocations: 7.938 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.002227, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005699/0.002797, allocations: 95.78 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.267e-05/0.002829, allocations: 15.92 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.002877, allocations: 3.938 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.002918, allocations: 4 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.811e-05/0.002946, allocations: 0 / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.003115, allocations: 39.91 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.003127, allocations: 0 / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.003269, allocations: 75.89 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.00328, allocations: 8 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.003296, allocations: 7.938 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.003453, allocations: 86.45 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003455, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003456, allocations: 4 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.00346, allocations: 0 / 1.003 GB, free: 10.97 MB / 0.9636 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.0002475/0.003707, allocations: 256.6 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.003741, allocations: 8.031 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.003772, allocations: 4.938 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.331e-05/0.003856, allocations: 113.7 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.003866, allocations: 4.375 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.003875, allocations: 4.375 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.444e-05/0.003949, allocations: 26.27 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.003956, allocations: 192 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.003967, allocations: 4.125 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.003971, allocations: 0 / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/0.003989, allocations: 4 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.004316, allocations: 339.1 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.391e-05/0.00439, allocations: 169.1 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.004416, allocations: 84.14 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.004437, allocations: 83.28 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.004476, allocations: 121.7 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.004477, allocations: 0 / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.691e-05/0.004534, allocations: 25.7 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.004586, allocations: 134.6 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.004667, allocations: 97.86 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.004675, allocations: 25.7 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.004705, allocations: 84.12 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.004709, allocations: 0 / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.004731, allocations: 13.72 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.004808, allocations: 310.8 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.004816, allocations: 8 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.004822, allocations: 3.938 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.211e-05/0.004844, allocations: 12.86 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.004846, allocations: 0 / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.663e-05/0.004933, allocations: 41.56 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.004945, allocations: 4 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.00495, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.004961, allocations: 4 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.752e-05/0.004979, allocations: 0 / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.004984, allocations: 4.094 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-06/0.004994, allocations: 0 / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.005, allocations: 0 / 1.005 GB, free: 8.848 MB / 0.9636 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 7.421e-05/0.005074, allocations: 185.1 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.005113, allocations: 105.2 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.005155, allocations: 124.1 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.715e-05/0.005203, allocations: 180.3 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-05/0.005257, allocations: 176.3 kB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.553e-05/0.005302, allocations: 180.2 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.005444, allocations: 360.9 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/0.005472, allocations: 112.9 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.0055, allocations: 101 kB / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.657e-05/0.005547, allocations: 176.3 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/0.005598, allocations: 184.1 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-05/0.005643, allocations: 184.2 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.597e-05/0.005689, allocations: 180.2 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.005794, allocations: 311.7 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.005829, allocations: 112.9 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.005887, allocations: 180.2 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.184e-05/0.005938, allocations: 108.9 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.005989, allocations: 180.3 kB / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.006018, allocations: 108.9 kB / 1.008 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.006053, allocations: 83.27 kB / 1.008 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006053, allocations: 0 / 1.008 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001936/0.006246, allocations: 19.94 kB / 1.008 GB, free: 5.375 MB / 0.9636 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.0002815/0.006528, allocations: 240.2 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.807e-05/0.006586, allocations: 4 kB / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.006588, allocations: 0 / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.00659, allocations: 4 kB / 1.008 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.006865, allocations: 455.6 kB / 1.009 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.007213, allocations: 233.7 kB / 1.009 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.007254, allocations: 55.34 kB / 1.009 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.007279, allocations: 12.5 kB / 1.009 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.007279, allocations: 0 / 1.009 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of Templates: time 0.001939/0.009218, allocations: 0.8842 MB / 1.01 GB, free: 3.457 MB / 0.9636 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: 8.455442964099348] Failed to read output from testmodel.py, exit status != 0: 0.014165888540446758 0.022213430000000003 0.016928364 Calling exit ...