Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001464/0.001464, 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.001635/0.001635, allocations: 222.2 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.213/3.213, allocations: 0.4892 GB / 0.7951 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002176/0.002176, allocations: 75.02 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4227, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001861/0.4245, allocations: 0.5888 MB / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.426, allocations: 1.007 MB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.836e-05/0.426, allocations: 3.938 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.426, allocations: 0 / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007165/0.4267, allocations: 91.77 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.604e-05/0.4268, allocations: 11.98 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.155e-05/0.4268, allocations: 11.88 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.4269, allocations: 11.97 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.722e-05/0.4269, allocations: 4 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.4271, allocations: 39.91 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.4271, allocations: 0 / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.4273, allocations: 80 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.4273, allocations: 3.938 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.4273, allocations: 3.938 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.4275, allocations: 74.34 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4275, allocations: 0 / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4275, allocations: 0 / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.4275, allocations: 0 / 1.328 GB, free: 15.89 MB / 1.029 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.0003667/0.4279, allocations: 258.3 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4279, allocations: 8.031 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.428, allocations: 8.891 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.4281, allocations: 106.5 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.4281, allocations: 384 / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.4281, allocations: 8.219 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.815e-05/0.4282, allocations: 37.81 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.4282, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.4282, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4282, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.4282, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.4286, allocations: 335.2 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.4287, allocations: 181 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.4288, allocations: 80.14 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.4288, allocations: 79.22 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/0.4289, allocations: 113.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4289, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 6.987e-05/0.429, allocations: 25.7 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.429, allocations: 130.6 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.4292, allocations: 105.8 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.4292, allocations: 25.7 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.4292, allocations: 80.14 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.4292, allocations: 4 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.4293, allocations: 13.72 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4294, allocations: 314.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.4294, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.4294, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.4295, allocations: 8.859 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4295, allocations: 3.938 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.818e-05/0.4296, allocations: 37.66 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4296, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4296, allocations: 8.031 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4296, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.455e-05/0.4296, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.4296, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.4296, allocations: 4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.4296, allocations: 7.922 kB / 1.33 GB, free: 13.77 MB / 1.029 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.0001235/0.4298, allocations: 185.6 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.4298, allocations: 105 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.923e-05/0.4299, allocations: 112.1 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-05/0.43, allocations: 180.3 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.064e-05/0.4301, allocations: 188.2 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.365e-05/0.4302, allocations: 180.2 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.4304, allocations: 356.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.689e-05/0.4305, allocations: 104.9 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.4305, allocations: 105 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-05/0.4306, allocations: 180.3 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.409e-05/0.4307, allocations: 180.4 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.517e-05/0.4308, allocations: 184.3 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-05/0.4309, allocations: 184.2 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.4311, allocations: 311.7 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.4311, allocations: 104.9 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4312, allocations: 184.3 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.294e-05/0.4313, allocations: 109.1 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4314, allocations: 184.2 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.4315, allocations: 109 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.4315, allocations: 83.22 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4315, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002946/0.4318, allocations: 27.86 kB / 1.333 GB, free: 10.29 MB / 1.029 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.0003929/0.4322, allocations: 223.8 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.311e-05/0.4323, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4323, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/0.4323, allocations: 4 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.4327, allocations: 464.7 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.4332, allocations: 233.9 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.389e-05/0.4332, allocations: 55.22 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.4333, allocations: 19.44 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4333, allocations: 0 / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of Templates: time 0.002727/0.436, allocations: 0.8734 MB / 1.335 GB, free: 8.387 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 12.21185660129413] Failed to read output from testmodel.py, exit status != 0: 0.4447056991048157 0.460529122 0.029743145000000002 Calling exit ...