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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 120 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 191.7 kB / 20.03 MB, free: 2.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.164/3.164, allocations: 489.2 MB / 0.7687 GB, free: 3.742 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002038/0.002038, allocations: 63.91 kB / 1.103 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 163.8 MB / 1.263 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001969/1.035, allocations: 0.577 MB / 1.263 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001434/1.037, allocations: 0.9932 MB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/1.037, allocations: 0 / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/1.037, allocations: 0.875 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007312/1.037, allocations: 98.09 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.653e-05/1.038, allocations: 13.45 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.093e-05/1.038, allocations: 7.641 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/1.038, allocations: 1.328 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/1.038, allocations: 7.391 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/1.038, allocations: 40.17 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/1.038, allocations: 0.875 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/1.038, allocations: 77.45 kB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/1.038, allocations: 4.672 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/1.038, allocations: 6.453 kB / 1.264 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/1.038, allocations: 75.59 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.038, allocations: 3.594 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.425e-06/1.038, allocations: 0 / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.038, allocations: 0.75 kB / 1.264 GB, free: 6.777 MB / 0.9981 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.0002903/1.039, allocations: 327 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.039, allocations: 10.41 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/1.039, allocations: 1.469 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/1.039, allocations: 180 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/1.039, allocations: 5.219 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/1.039, allocations: 1.125 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/1.039, allocations: 32.52 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.039, allocations: 0 / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/1.039, allocations: 1.75 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/1.039, allocations: 0 / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.916e-05/1.039, allocations: 1.906 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/1.039, allocations: 471.8 kB / 1.265 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.481e-05/1.04, allocations: 174.9 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/1.04, allocations: 80.14 kB / 1.266 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/1.04, allocations: 81.19 kB / 1.266 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/1.04, allocations: 110.6 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.04, allocations: 0 / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.966e-05/1.04, allocations: 35.98 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/1.04, allocations: 127.5 kB / 1.266 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/1.04, allocations: 101 kB / 1.266 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/1.04, allocations: 26.58 kB / 1.266 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/1.04, allocations: 81.52 kB / 1.266 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-06/1.04, allocations: 0 / 1.266 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/1.04, allocations: 13.11 kB / 1.266 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/1.04, allocations: 320.3 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/1.04, allocations: 1.859 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/1.04, allocations: 0.8125 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.189e-05/1.04, allocations: 11.05 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.04, allocations: 0.6562 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.809e-05/1.04, allocations: 36.81 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.04, allocations: 5.281 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/1.04, allocations: 4.969 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/1.04, allocations: 0.6094 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-05/1.04, allocations: 0.8125 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.04, allocations: 1.406 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/1.04, allocations: 4.688 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/1.04, allocations: 0 / 1.267 GB, free: 4.418 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 5.169e-05/1.04, allocations: 187.1 kB / 1.267 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/1.04, allocations: 103.7 kB / 1.267 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/1.04, allocations: 122.2 kB / 1.267 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/1.04, allocations: 177.6 kB / 1.267 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/1.04, allocations: 183.6 kB / 1.267 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/1.04, allocations: 178.3 kB / 1.268 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/1.041, allocations: 405.9 kB / 1.268 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.041, allocations: 110.2 kB / 1.268 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/1.041, allocations: 102.5 kB / 1.268 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.509e-05/1.041, allocations: 186.2 kB / 1.268 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/1.041, allocations: 177.5 kB / 1.268 GB, free: 18.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.716e-05/1.041, allocations: 181.7 kB / 1.269 GB, free: 18.24 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.479e-05/1.041, allocations: 191 kB / 1.269 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/1.041, allocations: 309.8 kB / 1.269 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/1.041, allocations: 187.6 kB / 1.269 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.252e-05/1.041, allocations: 182.9 kB / 1.269 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/1.041, allocations: 106.3 kB / 1.27 GB, free: 17.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/1.042, allocations: 181.7 kB / 1.27 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/1.042, allocations: 107 kB / 1.27 GB, free: 16.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.627e-05/1.042, allocations: 84.61 kB / 1.27 GB, free: 16.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.042, allocations: 0 / 1.27 GB, free: 16.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002786/1.042, allocations: 24.95 kB / 1.27 GB, free: 16.85 MB / 1.014 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.0004325/1.042, allocations: 222.4 kB / 1.27 GB, free: 16.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.867e-05/1.042, allocations: 2.531 kB / 1.27 GB, free: 16.67 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.042, allocations: 0 / 1.27 GB, free: 16.67 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/1.042, allocations: 1.203 kB / 1.27 GB, free: 16.67 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/1.043, allocations: 462.3 kB / 1.271 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/1.043, allocations: 238.6 kB / 1.271 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/1.044, allocations: 0.6723 MB / 1.272 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/1.044, allocations: 9.469 kB / 1.272 GB, free: 15.28 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/1.044, allocations: 0 / 1.272 GB, free: 15.28 MB / 1.014 GB Notification: Performance of Templates: time 0.003046/1.047, allocations: 0.8712 MB / 1.272 GB, free: 15.2 MB / 1.014 GB " [Timeout remaining time 299] 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.299959986004978] Failed to read output from testmodel.py, exit status != 0: 1.054276562994346 1.068099867 0.026975891000000002 Calling exit ...