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.0009239/0.0009239, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.000973/0.000973, allocations: 177 kB / 23.5 MB, free: 1.055 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 0.9222/0.9222, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.001709/0.001709, allocations: 229.1 kB / 260.5 MB, free: 12.89 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.7132/0.7132, allocations: 138.4 MB / 455.4 MB, free: 1.535 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 2.625e-06/2.625e-06, allocations: 3.984 kB / 0.5551 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.65e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001382/0.001399, allocations: 0.5934 MB / 0.5557 GB, free: 216 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.002671, allocations: 1.034 MB / 0.5567 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.002699, allocations: 3.938 kB / 0.5567 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.002716, allocations: 0 / 0.5567 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005921/0.003308, allocations: 87.77 kB / 0.5568 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.391e-05/0.003342, allocations: 15.92 kB / 0.5568 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.003392, allocations: 11.92 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.003431, allocations: 4 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.003458, allocations: 0 / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.00365, allocations: 35.97 kB / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.003661, allocations: 0 / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.003819, allocations: 75.84 kB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.003829, allocations: 3.984 kB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.003846, allocations: 8 kB / 0.5569 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.004009, allocations: 83.72 kB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.004011, allocations: 0 / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.769e-06/0.004016, allocations: 0 / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004019, allocations: 0 / 0.557 GB, free: 14.84 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.0002502/0.00427, allocations: 364.5 kB / 0.5574 GB, free: 14.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.0043, allocations: 8.031 kB / 0.5574 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.00433, allocations: 0.9375 kB / 0.5574 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.102e-05/0.004411, allocations: 116.5 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.00442, allocations: 384 / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.004428, allocations: 4.375 kB / 0.5575 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.454e-05/0.004492, allocations: 38.2 kB / 0.5575 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.004498, allocations: 192 / 0.5575 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.004507, allocations: 4.125 kB / 0.5575 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.004513, allocations: 0 / 0.5575 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.031e-05/0.004523, allocations: 4 kB / 0.5575 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.004799, allocations: 478.2 kB / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.168e-05/0.004871, allocations: 265.4 kB / 0.5582 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.004899, allocations: 130.8 kB / 0.5584 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.004922, allocations: 119.2 kB / 0.5585 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.004961, allocations: 168.5 kB / 0.5586 GB, free: 13.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.004963, allocations: 4 kB / 0.5586 GB, free: 13.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 5.086e-05/0.005014, allocations: 25.7 kB / 0.5587 GB, free: 13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.005059, allocations: 170.6 kB / 0.5588 GB, free: 12.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.005139, allocations: 161.9 kB / 0.559 GB, free: 12.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.005146, allocations: 25.7 kB / 0.559 GB, free: 12.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.005183, allocations: 138.8 kB / 0.5591 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.005186, allocations: 0 / 0.5591 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.005208, allocations: 23.31 kB / 0.5592 GB, free: 12.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.005305, allocations: 496.1 kB / 0.5596 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-06/0.005311, allocations: 0 / 0.5596 GB, free: 11.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-06/0.005316, allocations: 8 kB / 0.5596 GB, free: 11.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.059e-05/0.005336, allocations: 7.719 kB / 0.5596 GB, free: 11.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005338, allocations: 0 / 0.5596 GB, free: 11.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.457e-05/0.005413, allocations: 45.62 kB / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/0.005422, allocations: 4 kB / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.005425, allocations: 0 / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.005436, allocations: 0 / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.141e-05/0.005447, allocations: 0 / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.005453, allocations: 3.938 kB / 0.5597 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-06/0.005462, allocations: 8 kB / 0.5597 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.005466, allocations: 4.094 kB / 0.5597 GB, free: 11.86 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 7.234e-05/0.005539, allocations: 271.8 kB / 0.56 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.005581, allocations: 152.8 kB / 0.5601 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.005624, allocations: 152 kB / 0.5603 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.514e-05/0.005679, allocations: 268 kB / 0.5605 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.652e-05/0.005735, allocations: 272.1 kB / 0.5608 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.523e-05/0.00579, allocations: 268 kB / 0.561 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.005943, allocations: 495.9 kB / 0.5615 GB, free: 9.934 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.274e-05/0.005976, allocations: 148.9 kB / 0.5616 GB, free: 9.781 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.006008, allocations: 152.8 kB / 0.5618 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.554e-05/0.006064, allocations: 272.1 kB / 0.562 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.006122, allocations: 272 kB / 0.5623 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.499e-05/0.006177, allocations: 268.1 kB / 0.5626 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.479e-05/0.006232, allocations: 272 kB / 0.5628 GB, free: 8.535 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.006349, allocations: 440 kB / 0.5632 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.006382, allocations: 152.8 kB / 0.5634 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.00644, allocations: 272 kB / 0.5636 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.874e-05/0.006488, allocations: 148.8 kB / 0.5638 GB, free: 7.496 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.006544, allocations: 268.1 kB / 0.564 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.006572, allocations: 145.2 kB / 0.5642 GB, free: 7.078 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.568e-05/0.006608, allocations: 135.2 kB / 0.5643 GB, free: 6.945 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006608, allocations: 0 / 0.5643 GB, free: 6.945 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.006772, allocations: 19.94 kB / 0.5643 GB, free: 6.926 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.0002667/0.007038, allocations: 277.5 kB / 0.5646 GB, free: 6.652 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.447e-05/0.007093, allocations: 15.7 kB / 0.5646 GB, free: 6.633 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.007094, allocations: 4.062 kB / 0.5646 GB, free: 6.629 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.81e-07/0.007095, allocations: 0 / 0.5646 GB, free: 6.629 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.007366, allocations: 0.7101 MB / 0.5653 GB, free: 5.914 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.007644, allocations: 257.4 kB / 0.5656 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.663e-05/0.007671, allocations: 59.34 kB / 0.5656 GB, free: 5.555 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.00769, allocations: 0 / 0.5656 GB, free: 5.555 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.007706, allocations: 12.5 kB / 0.5656 GB, free: 5.543 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007706, allocations: 0 / 0.5656 GB, free: 5.543 MB / 490.7 MB Notification: Performance of Templates: time 0.002075/0.009781, allocations: 0.7242 MB / 0.5663 GB, free: 4.871 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.4207872429396957]