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.002308/0.002308, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002051/0.002051, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.003234/0.003234, allocations: 237.9 kB / 259.8 MB, free: 12.86 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 1.171/1.171, allocations: 138.4 MB / 454.7 MB, free: 1.516 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.162e-06/1.162e-06, allocations: 0 / 0.5544 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.612e-05, allocations: 6.312 kB / 0.5544 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001697/0.001723, allocations: 0.5752 MB / 0.555 GB, free: 244 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.003262, allocations: 1.011 MB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.003278, allocations: 0 / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.003292, allocations: 7.938 kB / 0.556 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.00387, allocations: 91.7 kB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.678e-05/0.003907, allocations: 11.94 kB / 0.5561 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.095e-05/0.003948, allocations: 3.984 kB / 0.5561 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.00398, allocations: 7.938 kB / 0.5561 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.035e-05/0.00401, allocations: 3.984 kB / 0.5561 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.004199, allocations: 31.97 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.004211, allocations: 0 / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.004389, allocations: 79.84 kB / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.0044, allocations: 4 kB / 0.5562 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.004414, allocations: 4 kB / 0.5562 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.004599, allocations: 87.7 kB / 0.5563 GB, free: 14.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004601, allocations: 0 / 0.5563 GB, free: 14.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004602, allocations: 0 / 0.5563 GB, free: 14.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.004614, allocations: 4 kB / 0.5563 GB, free: 14.88 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.0004957/0.00511, allocations: 360.2 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.005143, allocations: 8.031 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.005181, allocations: 4.938 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.005298, allocations: 108.6 kB / 0.5567 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.00531, allocations: 4.375 kB / 0.5567 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.005321, allocations: 8.375 kB / 0.5567 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/0.005401, allocations: 30.27 kB / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005409, allocations: 192 / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.005418, allocations: 4.125 kB / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.005421, allocations: 0 / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.005441, allocations: 7.938 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.005909, allocations: 478.2 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.006075, allocations: 265.4 kB / 0.5575 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.006147, allocations: 130.9 kB / 0.5576 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.267e-05/0.00621, allocations: 123.2 kB / 0.5577 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.965e-05/0.0063, allocations: 160.5 kB / 0.5579 GB, free: 13.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.006301, allocations: 4 kB / 0.5579 GB, free: 13.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.679e-05/0.006387, allocations: 37.69 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.006492, allocations: 170.6 kB / 0.5581 GB, free: 12.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.006643, allocations: 153.9 kB / 0.5582 GB, free: 12.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.006661, allocations: 25.7 kB / 0.5583 GB, free: 12.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.006744, allocations: 142.8 kB / 0.5584 GB, free: 12.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-06/0.006746, allocations: 0 / 0.5584 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.006784, allocations: 19.36 kB / 0.5584 GB, free: 12.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002563/0.00704, allocations: 496.1 kB / 0.5589 GB, free: 12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.00705, allocations: 3.938 kB / 0.5589 GB, free: 11.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.007055, allocations: 4 kB / 0.5589 GB, free: 11.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.007086, allocations: 15.62 kB / 0.5589 GB, free: 11.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.007087, allocations: 0 / 0.5589 GB, free: 11.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001112/0.007199, allocations: 37.64 kB / 0.5589 GB, free: 11.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.007213, allocations: 8 kB / 0.559 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.007217, allocations: 0 / 0.559 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.007232, allocations: 3.984 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-05/0.007247, allocations: 0 / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.007252, allocations: 0 / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.279e-05/0.007264, allocations: 4.125 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.007269, allocations: 0 / 0.559 GB, free: 11.91 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 0.0001657/0.007434, allocations: 279.8 kB / 0.5592 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.007537, allocations: 152.8 kB / 0.5594 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.474e-05/0.007622, allocations: 152 kB / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001394/0.007761, allocations: 276 kB / 0.5598 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001347/0.007896, allocations: 264.1 kB / 0.56 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003616/0.008257, allocations: 268.1 kB / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.008584, allocations: 491.8 kB / 0.5608 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.666e-05/0.00866, allocations: 152.9 kB / 0.5609 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.731e-05/0.008737, allocations: 156.8 kB / 0.5611 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.008867, allocations: 264.1 kB / 0.5613 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.009005, allocations: 272 kB / 0.5616 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001372/0.009142, allocations: 268 kB / 0.5618 GB, free: 8.855 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001334/0.009276, allocations: 268.1 kB / 0.5621 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.009537, allocations: 448 kB / 0.5625 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.009614, allocations: 144.9 kB / 0.5626 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.009766, allocations: 283.9 kB / 0.5629 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.009875, allocations: 144.9 kB / 0.563 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.01001, allocations: 268 kB / 0.5633 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.682e-05/0.01009, allocations: 149.2 kB / 0.5634 GB, free: 7.117 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.723e-05/0.01017, allocations: 131.2 kB / 0.5636 GB, free: 6.988 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01017, allocations: 0 / 0.5636 GB, free: 6.988 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002512/0.01042, allocations: 19.92 kB / 0.5636 GB, free: 6.969 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.0004629/0.01088, allocations: 289 kB / 0.5639 GB, free: 6.691 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.01096, allocations: 23.64 kB / 0.5639 GB, free: 6.664 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01096, allocations: 4.062 kB / 0.5639 GB, free: 6.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.01096, allocations: 0 / 0.5639 GB, free: 6.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.01151, allocations: 0.71 MB / 0.5646 GB, free: 5.945 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.01193, allocations: 253.5 kB / 0.5648 GB, free: 5.668 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.211e-05/0.012, allocations: 63.33 kB / 0.5649 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.5e-05/0.01202, allocations: 3.938 kB / 0.5649 GB, free: 5.582 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.01205, allocations: 12.5 kB / 0.5649 GB, free: 5.57 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01205, allocations: 4 kB / 0.5649 GB, free: 5.566 MB / 490.7 MB Notification: Performance of Templates: time 0.003557/0.0156, allocations: 0.7096 MB / 0.5656 GB, free: 4.906 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: 5.8582214509369805]