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.0007928/0.0007928, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.000792/0.000792, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8575/0.8575, allocations: 177.2 MB / 203.5 MB, free: 5.711 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.00145/0.00145, allocations: 231.9 kB / 260.2 MB, free: 13 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.6914/0.6914, allocations: 138.4 MB / 455 MB, free: 30.02 MB / 410.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.903e-06/1.903e-06, allocations: 0 / 0.6476 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.399e-05, allocations: 4.953 kB / 0.6476 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001299/0.001333, allocations: 0.5839 MB / 0.6482 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.253/0.2544, allocations: 1.004 MB / 0.6491 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.2544, allocations: 0.9062 kB / 0.6491 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.2544, allocations: 0 / 0.6491 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.2549, allocations: 99.95 kB / 0.6492 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 2.987e-05/0.2549, allocations: 12.38 kB / 0.6492 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.39e-05/0.255, allocations: 4.219 kB / 0.6493 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.255, allocations: 2.609 kB / 0.6493 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.681e-05/0.2551, allocations: 2.969 kB / 0.6493 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.2552, allocations: 30.92 kB / 0.6493 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.2552, allocations: 2.781 kB / 0.6493 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.2554, allocations: 84.91 kB / 0.6494 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.2554, allocations: 1.031 kB / 0.6494 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.2554, allocations: 2.188 kB / 0.6494 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2555, allocations: 87.33 kB / 0.6495 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2555, allocations: 2.406 kB / 0.6495 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2556, allocations: 0.7031 kB / 0.6495 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.2556, allocations: 0.6562 kB / 0.6495 GB, free: 56.5 MB / 0.5573 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.000206/0.2558, allocations: 255.2 kB / 0.6497 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2558, allocations: 11.28 kB / 0.6497 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.2558, allocations: 2.719 kB / 0.6497 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.333e-05/0.2559, allocations: 110 kB / 0.6498 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.2559, allocations: 1.844 kB / 0.6498 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-06/0.2559, allocations: 1.094 kB / 0.6498 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.757e-05/0.256, allocations: 33.98 kB / 0.6499 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.256, allocations: 3.484 kB / 0.6499 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.256, allocations: 4.938 kB / 0.6499 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.256, allocations: 0 / 0.6499 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.502e-05/0.256, allocations: 2.297 kB / 0.6499 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.2562, allocations: 348.4 kB / 0.6502 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.2563, allocations: 171.1 kB / 0.6504 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.157e-05/0.2563, allocations: 82.2 kB / 0.6504 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.2563, allocations: 78.38 kB / 0.6505 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.2563, allocations: 110.7 kB / 0.6506 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.2563, allocations: 1.656 kB / 0.6506 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 4.415e-05/0.2563, allocations: 32.12 kB / 0.6507 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.2564, allocations: 128.8 kB / 0.6508 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.2564, allocations: 104.1 kB / 0.6509 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-06/0.2564, allocations: 26.64 kB / 0.6509 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.531e-05/0.2564, allocations: 82.12 kB / 0.651 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.2564, allocations: 1.25 kB / 0.651 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.2565, allocations: 13.33 kB / 0.651 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.646e-05/0.2565, allocations: 315.9 kB / 0.6513 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-06/0.2565, allocations: 2.797 kB / 0.6513 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.2565, allocations: 0.75 kB / 0.6513 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.2565, allocations: 9.578 kB / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2565, allocations: 0 / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.995e-05/0.2566, allocations: 43.59 kB / 0.6513 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2566, allocations: 5.875 kB / 0.6514 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.2566, allocations: 0.8125 kB / 0.6514 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.2566, allocations: 0.7656 kB / 0.6514 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.385e-05/0.2566, allocations: 1.953 kB / 0.6514 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2566, allocations: 0.9688 kB / 0.6514 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.864e-06/0.2566, allocations: 2.172 kB / 0.6514 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.2566, allocations: 2.125 kB / 0.6514 GB, free: 54.52 MB / 0.5573 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 3.302e-05/0.2567, allocations: 186.1 kB / 0.6515 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.2567, allocations: 111.7 kB / 0.6516 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.2567, allocations: 113.1 kB / 0.6518 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.2567, allocations: 181.2 kB / 0.6519 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.2567, allocations: 182 kB / 0.6521 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.2568, allocations: 178.2 kB / 0.6523 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.174e-05/0.2568, allocations: 357.8 kB / 0.6526 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.2568, allocations: 102.6 kB / 0.6527 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-06/0.2568, allocations: 104.6 kB / 0.6528 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.2569, allocations: 182.5 kB / 0.653 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2569, allocations: 186.5 kB / 0.6532 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.515e-05/0.2569, allocations: 182.8 kB / 0.6533 GB, free: 52.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.448e-05/0.2569, allocations: 182.6 kB / 0.6535 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.316e-05/0.2569, allocations: 311 kB / 0.6538 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.257, allocations: 104.2 kB / 0.6539 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.257, allocations: 192 kB / 0.6541 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.873e-05/0.257, allocations: 103.6 kB / 0.6542 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.257, allocations: 183.8 kB / 0.6544 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.257, allocations: 109.4 kB / 0.6545 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.718e-05/0.2571, allocations: 82.7 kB / 0.6545 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2571, allocations: 0 / 0.6545 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001621/0.2572, allocations: 24.66 kB / 0.6546 GB, free: 51.16 MB / 0.5573 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.0002589/0.2575, allocations: 229.8 kB / 0.6548 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.139e-05/0.2575, allocations: 4.406 kB / 0.6548 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2575, allocations: 0 / 0.6548 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.2575, allocations: 2 kB / 0.6548 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.2577, allocations: 464.2 kB / 0.6552 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.258, allocations: 228.7 kB / 0.6555 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.502e-05/0.258, allocations: 57.8 kB / 0.6555 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.258, allocations: 10.72 kB / 0.6555 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/0.258, allocations: 0.5 kB / 0.6555 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.001851/0.2599, allocations: 0.8892 MB / 0.6564 GB, free: 50.21 MB / 0.5573 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.427026415243745] Failed to read output from testmodel.py, exit status != 0: 0.26538300793617964 0.27244349599999995 0.01537231 Calling exit ...