Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001641/0.001641, allocations: 112.8 kB / 17.08 MB, free: 5.988 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.001645/0.001645, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 437.1 MB / 0.7177 GB, free: 4.496 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.91 kB / 1.028 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3378, allocations: 151.6 MB / 1.176 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001757/0.3396, allocations: 0.5784 MB / 1.176 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.341, allocations: 1.003 MB / 1.177 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.3411, allocations: 0 / 1.177 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.3411, allocations: 0 / 1.177 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007226/0.3418, allocations: 99.78 kB / 1.178 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.849e-05/0.3419, allocations: 15.92 kB / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.3419, allocations: 0 / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/0.342, allocations: 4 kB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.342, allocations: 7.984 kB / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.3423, allocations: 39.34 kB / 1.178 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.3423, allocations: 0 / 1.178 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.3425, allocations: 79.86 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.3425, allocations: 3.984 kB / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.3425, allocations: 3.938 kB / 1.178 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.3427, allocations: 79.78 kB / 1.178 GB, free: 3.891 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3427, allocations: 0 / 1.178 GB, free: 3.891 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3427, allocations: 0 / 1.178 GB, free: 3.891 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3427, allocations: 0 / 1.178 GB, free: 3.891 MB / 0.92 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.0003831/0.3431, allocations: 335.3 kB / 1.178 GB, free: 3.516 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3432, allocations: 11.98 kB / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.3432, allocations: 8.875 kB / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3433, allocations: 164.4 kB / 1.178 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3434, allocations: 4.359 kB / 1.178 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.3434, allocations: 384 / 1.178 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.827e-05/0.3435, allocations: 33.83 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3435, allocations: 0 / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.3435, allocations: 0 / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3435, allocations: 7.984 kB / 1.178 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.3435, allocations: 7.938 kB / 1.178 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.344, allocations: 460.6 kB / 1.179 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.435e-05/0.3441, allocations: 165.1 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.3442, allocations: 88.17 kB / 1.179 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.3442, allocations: 79.28 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.712e-05/0.3443, allocations: 113.8 kB / 1.179 GB, free: 2.258 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3443, allocations: 0 / 1.179 GB, free: 2.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.363e-05/0.3444, allocations: 25.7 kB / 1.179 GB, free: 2.227 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.3444, allocations: 126.7 kB / 1.179 GB, free: 2.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3446, allocations: 101.9 kB / 1.179 GB, free: 1.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3446, allocations: 29.7 kB / 1.179 GB, free: 1.945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.3446, allocations: 88.08 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.3446, allocations: 0 / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.3447, allocations: 13.72 kB / 1.18 GB, free: 1.836 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3448, allocations: 318.7 kB / 1.18 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.3449, allocations: 4 kB / 1.18 GB, free: 1.512 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.3449, allocations: 0 / 1.18 GB, free: 1.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.3449, allocations: 12.86 kB / 1.18 GB, free: 1.496 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3449, allocations: 4 kB / 1.18 GB, free: 1.492 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001082/0.345, allocations: 37.69 kB / 1.18 GB, free: 1.449 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.345, allocations: 4 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3451, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3451, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.606e-05/0.3451, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3451, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.3451, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3451, allocations: 4 kB / 1.18 GB, free: 1.441 MB / 0.92 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.000125/0.3453, allocations: 189.1 kB / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.75e-05/0.3453, allocations: 112.9 kB / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.329e-05/0.3454, allocations: 112.1 kB / 1.18 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.623e-05/0.3455, allocations: 180.2 kB / 1.18 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-05/0.3456, allocations: 176.3 kB / 1.181 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-05/0.3457, allocations: 180.3 kB / 1.181 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.346, allocations: 413.1 kB / 1.181 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.975e-05/0.3461, allocations: 101.1 kB / 1.181 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.3462, allocations: 108.9 kB / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.3463, allocations: 184.3 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.25e-05/0.3464, allocations: 184.2 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001525/0.3465, allocations: 184.2 kB / 1.182 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001427/0.3467, allocations: 180.3 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.3469, allocations: 303.7 kB / 1.182 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.347, allocations: 190.1 kB / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.3471, allocations: 184.2 kB / 1.183 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-05/0.3472, allocations: 101 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3473, allocations: 180.2 kB / 1.183 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.3474, allocations: 105 kB / 1.183 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.303e-05/0.3475, allocations: 83.27 kB / 1.183 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3475, allocations: 0 / 1.183 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002929/0.3478, allocations: 23.88 kB / 1.183 GB, free: 13.82 MB / 0.9356 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.0004682/0.3482, allocations: 240.8 kB / 1.183 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.279e-05/0.3483, allocations: 7.938 kB / 1.183 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3483, allocations: 0 / 1.183 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.3483, allocations: 0 / 1.183 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.3488, allocations: 463.7 kB / 1.184 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.3492, allocations: 225.8 kB / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.3496, allocations: 0.6768 MB / 1.185 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.3496, allocations: 7.438 kB / 1.185 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.3496, allocations: 3.938 kB / 1.185 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of Templates: time 0.002695/0.3523, allocations: 0.8712 MB / 1.186 GB, free: 11.28 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.944660157896578] Failed to read output from testmodel.py, exit status != 0: 0.3600616919575259 0.372877168 0.02758342999999994 Calling exit ...