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.001728/0.001728, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002095/0.002095, allocations: 167 kB / 22.46 MB, free: 5.379 MB / 14.72 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.002485/0.002485, allocations: 233.9 kB / 259.4 MB, free: 476 kB / 238.1 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.06/1.06, allocations: 138.4 MB / 454.3 MB, free: 2.027 MB / 366.1 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.302e-06/1.302e-06, allocations: 0 / 0.6469 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.202e-05, allocations: 9.031 kB / 0.6469 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001455/0.001477, allocations: 0.5937 MB / 0.6474 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.002844, allocations: 1.004 MB / 0.6484 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.00286, allocations: 0 / 0.6484 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.002871, allocations: 0 / 0.6484 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000689/0.00356, allocations: 95.7 kB / 0.6485 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.26e-05/0.003592, allocations: 12 kB / 0.6485 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.175e-05/0.003634, allocations: 11.92 kB / 0.6485 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.003667, allocations: 7.984 kB / 0.6485 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.00369, allocations: 0 / 0.6485 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.003899, allocations: 31.97 kB / 0.6486 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.00391, allocations: 0 / 0.6486 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.004081, allocations: 83.78 kB / 0.6487 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.004089, allocations: 0 / 0.6487 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.004109, allocations: 4 kB / 0.6487 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.004283, allocations: 83.77 kB / 0.6487 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004285, allocations: 0 / 0.6487 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.12e-07/0.004286, allocations: 4 kB / 0.6487 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.004289, allocations: 0 / 0.6487 GB, free: 3.031 MB / 0.5606 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.0003187/0.004608, allocations: 258.3 kB / 0.649 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.00464, allocations: 8.625 kB / 0.649 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.004667, allocations: 0.9375 kB / 0.649 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.004782, allocations: 113.8 kB / 0.6491 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.004792, allocations: 384 / 0.6491 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.0048, allocations: 4.375 kB / 0.6491 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.536e-05/0.004876, allocations: 34.25 kB / 0.6491 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.004883, allocations: 192 / 0.6491 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.004894, allocations: 12.11 kB / 0.6492 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.004898, allocations: 0 / 0.6492 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.004917, allocations: 7.938 kB / 0.6492 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.005265, allocations: 335.2 kB / 0.6495 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.981e-05/0.005364, allocations: 165.1 kB / 0.6496 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.005409, allocations: 80.14 kB / 0.6497 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.005443, allocations: 79.28 kB / 0.6498 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/0.005504, allocations: 117.7 kB / 0.6499 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.005505, allocations: 0 / 0.6499 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.157e-05/0.005577, allocations: 29.64 kB / 0.6499 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.005652, allocations: 130.7 kB / 0.6501 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.909e-05/0.005751, allocations: 101.8 kB / 0.6502 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.005764, allocations: 29.64 kB / 0.6502 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.005813, allocations: 88.08 kB / 0.6503 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.005815, allocations: 0 / 0.6503 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.005844, allocations: 13.72 kB / 0.6503 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.005989, allocations: 310.8 kB / 0.6506 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.005997, allocations: 0 / 0.6506 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.006005, allocations: 7.984 kB / 0.6506 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.006038, allocations: 12.8 kB / 0.6506 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.006039, allocations: 4.062 kB / 0.6506 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.666e-05/0.006136, allocations: 41.64 kB / 0.6506 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.006146, allocations: 4 kB / 0.6506 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.00615, allocations: 0 / 0.6506 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.00616, allocations: 0 / 0.6506 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.471e-05/0.006175, allocations: 4 kB / 0.6506 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.006178, allocations: 0 / 0.6506 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.006191, allocations: 0 / 0.6506 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.006195, allocations: 0 / 0.6506 GB, free: 0.9023 MB / 0.5606 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.0001102/0.006305, allocations: 189.1 kB / 0.6508 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/0.00638, allocations: 116.9 kB / 0.6509 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.093e-05/0.006441, allocations: 108.2 kB / 0.651 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.958e-05/0.006521, allocations: 184.3 kB / 0.6512 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.503e-05/0.006606, allocations: 180.2 kB / 0.6514 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2311/0.2377, allocations: 176.9 kB / 0.6516 GB, free: 56.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.2379, allocations: 352.6 kB / 0.6519 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.2379, allocations: 103.3 kB / 0.652 GB, free: 56.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.2379, allocations: 107.6 kB / 0.6521 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.087e-05/0.2379, allocations: 179.4 kB / 0.6523 GB, free: 55.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2379, allocations: 188.4 kB / 0.6524 GB, free: 55.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-05/0.2379, allocations: 184.2 kB / 0.6526 GB, free: 55.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/0.238, allocations: 176.3 kB / 0.6528 GB, free: 55.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.496e-05/0.238, allocations: 305.1 kB / 0.6531 GB, free: 55.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.238, allocations: 108.6 kB / 0.6532 GB, free: 54.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.2381, allocations: 179.4 kB / 0.6534 GB, free: 54.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.407e-05/0.2381, allocations: 107.8 kB / 0.6535 GB, free: 54.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.2381, allocations: 184.2 kB / 0.6536 GB, free: 54.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2382, allocations: 103.4 kB / 0.6537 GB, free: 54.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.2382, allocations: 85.31 kB / 0.6538 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2382, allocations: 2.406 kB / 0.6538 GB, free: 54.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002867/0.2385, allocations: 19.58 kB / 0.6538 GB, free: 54.3 MB / 0.5606 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.0003286/0.2388, allocations: 237.7 kB / 0.6541 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.568e-05/0.2389, allocations: 7.219 kB / 0.6541 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2389, allocations: 0 / 0.6541 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2389, allocations: 0 / 0.6541 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.2391, allocations: 456.1 kB / 0.6545 GB, free: 53.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.2394, allocations: 206.8 kB / 0.6547 GB, free: 53.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.715e-05/0.2395, allocations: 56.77 kB / 0.6548 GB, free: 53.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.42e-05/0.2395, allocations: 5.922 kB / 0.6548 GB, free: 53.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.2395, allocations: 8.5 kB / 0.6548 GB, free: 53.46 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2395, allocations: 0.5312 kB / 0.6548 GB, free: 53.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.002939/0.2424, allocations: 0.7066 MB / 0.6555 GB, free: 53.46 MB / 0.5606 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 sys.exit(0), Time elapsed: 5.643575605005026] Failed to read output from testmodel.py, exit status != 0: 0.24951471015810966 0.258255014 0.251867934 Calling exit ...