Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001329/0.001329, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001381/0.001381, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9469/0.9469, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001671/0.001671, allocations: 246.5 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6866/0.6866, allocations: 138.4 MB / 456.3 MB, free: 1.402 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5564 GB, free: 176 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.634e-05, allocations: 6.312 kB / 0.5564 GB, free: 168 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001033/0.001049, allocations: 0.5829 MB / 0.557 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009129/0.001962, allocations: 1.042 MB / 0.558 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.001981, allocations: 0 / 0.558 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.001995, allocations: 0 / 0.558 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.002425, allocations: 87.7 kB / 0.5581 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.528e-05/0.002451, allocations: 4 kB / 0.5581 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.085e-05/0.002492, allocations: 11.92 kB / 0.5581 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.218e-05/0.002524, allocations: 7.938 kB / 0.5581 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/0.002548, allocations: 8 kB / 0.5581 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.002683, allocations: 31.95 kB / 0.5582 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.002693, allocations: 0 / 0.5582 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.002815, allocations: 79.84 kB / 0.5583 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.414e-06/0.002823, allocations: 0 / 0.5583 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.728e-06/0.002833, allocations: 0 / 0.5583 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.002951, allocations: 91.44 kB / 0.5583 GB, free: 14.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.002953, allocations: 0 / 0.5583 GB, free: 14.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002953, allocations: 3.938 kB / 0.5583 GB, free: 14.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.002956, allocations: 4 kB / 0.5583 GB, free: 14.2 MB / 490.7 MB 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.0002199/0.003176, allocations: 364.5 kB / 0.5587 GB, free: 13.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.571e-05/0.003202, allocations: 8.031 kB / 0.5587 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.003222, allocations: 0.9375 kB / 0.5587 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.007e-05/0.003292, allocations: 112.6 kB / 0.5588 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.003301, allocations: 384 / 0.5588 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-06/0.003306, allocations: 384 / 0.5588 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.95e-05/0.003355, allocations: 34.27 kB / 0.5588 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.003361, allocations: 192 / 0.5588 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-06/0.003367, allocations: 4.125 kB / 0.5588 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003372, allocations: 4 kB / 0.5589 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-06/0.003378, allocations: 0 / 0.5589 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.003611, allocations: 466.7 kB / 0.5593 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.248e-05/0.003684, allocations: 277.5 kB / 0.5596 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.00371, allocations: 126.9 kB / 0.5597 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.003733, allocations: 119.2 kB / 0.5598 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.00377, allocations: 152.6 kB / 0.5599 GB, free: 12.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 5e-07/0.003771, allocations: 0 / 0.5599 GB, free: 12.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 4.456e-05/0.003815, allocations: 37.58 kB / 0.56 GB, free: 12.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.003863, allocations: 170.6 kB / 0.5601 GB, free: 12.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.003932, allocations: 161.9 kB / 0.5603 GB, free: 12.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.003939, allocations: 25.7 kB / 0.5603 GB, free: 12.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.003974, allocations: 138.8 kB / 0.5605 GB, free: 11.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.003976, allocations: 3.938 kB / 0.5605 GB, free: 11.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.003997, allocations: 15.38 kB / 0.5605 GB, free: 11.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.004095, allocations: 496.1 kB / 0.5609 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.0041, allocations: 0 / 0.5609 GB, free: 11.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-06/0.004104, allocations: 0 / 0.5609 GB, free: 11.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.004127, allocations: 15.72 kB / 0.561 GB, free: 11.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.004129, allocations: 0 / 0.561 GB, free: 11.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.04e-05/0.004189, allocations: 41.69 kB / 0.561 GB, free: 11.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.004199, allocations: 7.938 kB / 0.561 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.004202, allocations: 0 / 0.561 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.004211, allocations: 4 kB / 0.561 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.11e-05/0.004223, allocations: 0 / 0.561 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.004224, allocations: 0 / 0.561 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.267e-06/0.004234, allocations: 4 kB / 0.561 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.004237, allocations: 0 / 0.561 GB, free: 11.27 MB / 490.7 MB 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.903e-05/0.004306, allocations: 275.8 kB / 0.5613 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.004353, allocations: 148.8 kB / 0.5614 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.00439, allocations: 160 kB / 0.5616 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/0.004442, allocations: 268.3 kB / 0.5618 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001833/0.004625, allocations: 272 kB / 0.5621 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.871e-05/0.004674, allocations: 268.1 kB / 0.5623 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.004814, allocations: 488.4 kB / 0.5628 GB, free: 9.348 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/0.004843, allocations: 148.9 kB / 0.5629 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.004872, allocations: 148.9 kB / 0.5631 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-05/0.004923, allocations: 268 kB / 0.5633 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.004972, allocations: 264.1 kB / 0.5636 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.164e-05/0.005024, allocations: 276 kB / 0.5639 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.636e-05/0.00508, allocations: 272 kB / 0.5641 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.005181, allocations: 444 kB / 0.5645 GB, free: 7.496 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.005213, allocations: 148.9 kB / 0.5647 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.005265, allocations: 272 kB / 0.5649 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.005316, allocations: 144.9 kB / 0.5651 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.005372, allocations: 276 kB / 0.5653 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.005401, allocations: 149.2 kB / 0.5655 GB, free: 6.492 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.321e-05/0.005434, allocations: 127.2 kB / 0.5656 GB, free: 6.367 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005434, allocations: 0 / 0.5656 GB, free: 6.367 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.005593, allocations: 23.88 kB / 0.5656 GB, free: 6.344 MB / 490.7 MB 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.0002459/0.005839, allocations: 281.3 kB / 0.5659 GB, free: 6.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.938e-05/0.005888, allocations: 15.7 kB / 0.5659 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.005889, allocations: 0 / 0.5659 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.005891, allocations: 3.938 kB / 0.5659 GB, free: 6.047 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.006155, allocations: 0.7101 MB / 0.5666 GB, free: 5.332 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.006397, allocations: 257.6 kB / 0.5669 GB, free: 5.051 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.526e-05/0.006422, allocations: 55.34 kB / 0.5669 GB, free: 4.977 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.955e-05/0.006442, allocations: 4 kB / 0.5669 GB, free: 4.973 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.006468, allocations: 70.2 kB / 0.567 GB, free: 4.902 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006469, allocations: 0 / 0.567 GB, free: 4.902 MB / 490.7 MB Notification: Performance of Templates: time 0.001984/0.008453, allocations: 0.8604 MB / 0.5678 GB, free: 4.09 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4321839860640466]