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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 193.2 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002464/0.002464, allocations: 288.7 kB / 307 MB, free: 8.379 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.159/1.159, allocations: 180.8 MB / 0.5304 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002771/0.002771, allocations: 100.4 kB / 0.7312 GB, free: 38.94 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1385, allocations: 94.22 MB / 0.8232 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001632/0.1401, allocations: 0.5671 MB / 0.8237 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1415, allocations: 1.015 MB / 0.8247 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.1415, allocations: 0 / 0.8247 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.079e-05/0.1415, allocations: 0 / 0.8247 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007123/0.1422, allocations: 103.8 kB / 0.8248 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.283e-05/0.1422, allocations: 4 kB / 0.8248 GB, free: 212 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.264e-05/0.1423, allocations: 15.86 kB / 0.8248 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.1423, allocations: 4 kB / 0.8248 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.726e-05/0.1423, allocations: 8 kB / 0.8248 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1425, allocations: 27.97 kB / 0.8249 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1426, allocations: 4 kB / 0.8249 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.1427, allocations: 79.91 kB / 0.8249 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.1427, allocations: 0 / 0.8249 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.1428, allocations: 7.938 kB / 0.8249 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1429, allocations: 75.84 kB / 0.825 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1429, allocations: 0 / 0.825 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1429, allocations: 0 / 0.825 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.143, allocations: 0 / 0.825 GB, free: 15.98 MB / 0.5762 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.0003168/0.1433, allocations: 262.2 kB / 0.8253 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1433, allocations: 12.03 kB / 0.8253 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.1433, allocations: 0.9375 kB / 0.8253 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1435, allocations: 110.5 kB / 0.8254 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1435, allocations: 4.359 kB / 0.8254 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.1435, allocations: 384 / 0.8254 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.025e-05/0.1436, allocations: 29.83 kB / 0.8254 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1436, allocations: 4 kB / 0.8254 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1436, allocations: 4 kB / 0.8254 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.1436, allocations: 0 / 0.8254 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.1436, allocations: 4 kB / 0.8254 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.144, allocations: 362.5 kB / 0.8258 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/0.1441, allocations: 170.6 kB / 0.8259 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.1441, allocations: 84.14 kB / 0.826 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.1441, allocations: 75.28 kB / 0.8261 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/0.1442, allocations: 113.8 kB / 0.8262 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1442, allocations: 0 / 0.8262 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.059e-05/0.1443, allocations: 29.7 kB / 0.8262 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.1443, allocations: 130.6 kB / 0.8264 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.1444, allocations: 105.8 kB / 0.8265 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1445, allocations: 25.7 kB / 0.8265 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.1445, allocations: 88.09 kB / 0.8266 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.1445, allocations: 0 / 0.8266 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.1445, allocations: 17.7 kB / 0.8266 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1447, allocations: 318.7 kB / 0.8269 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.1447, allocations: 0 / 0.8269 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-06/0.1447, allocations: 0 / 0.8269 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.1447, allocations: 12.92 kB / 0.8269 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1447, allocations: 0 / 0.8269 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001157/0.1448, allocations: 37.64 kB / 0.8269 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1448, allocations: 13.86 kB / 0.8269 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1448, allocations: 0 / 0.8269 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1449, allocations: 0 / 0.8269 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.516e-05/0.1449, allocations: 0 / 0.8269 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1449, allocations: 4 kB / 0.8269 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.1449, allocations: 0 / 0.8269 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1449, allocations: 0 / 0.8269 GB, free: 13.82 MB / 0.5762 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.0001003/0.145, allocations: 193.8 kB / 0.8271 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.1451, allocations: 101 kB / 0.8272 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.1451, allocations: 112.1 kB / 0.8273 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.7e-05/0.1452, allocations: 188.3 kB / 0.8275 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.206e-05/0.1453, allocations: 176.3 kB / 0.8277 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.879e-05/0.1453, allocations: 184.2 kB / 0.8279 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.1456, allocations: 376.2 kB / 0.8282 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/0.1456, allocations: 108.9 kB / 0.8283 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.1457, allocations: 101 kB / 0.8284 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.315e-05/0.1458, allocations: 180.3 kB / 0.8286 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.1458, allocations: 184.3 kB / 0.8288 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-05/0.1459, allocations: 184.2 kB / 0.8289 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.569e-05/0.146, allocations: 184.2 kB / 0.8291 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.1461, allocations: 307.7 kB / 0.8294 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.1462, allocations: 109 kB / 0.8295 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.232e-05/0.1463, allocations: 180.3 kB / 0.8297 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.1463, allocations: 108.9 kB / 0.8298 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.1464, allocations: 176.3 kB / 0.83 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.1465, allocations: 112.9 kB / 0.8301 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.1465, allocations: 83.27 kB / 0.8301 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1465, allocations: 0 / 0.8301 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002706/0.1468, allocations: 19.88 kB / 0.8302 GB, free: 10.32 MB / 0.5762 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.0003561/0.1472, allocations: 230.4 kB / 0.8304 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.089e-05/0.1472, allocations: 4 kB / 0.8304 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.1472, allocations: 0 / 0.8304 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1472, allocations: 0 / 0.8304 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1476, allocations: 464.3 kB / 0.8308 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.1479, allocations: 196.2 kB / 0.831 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1482, allocations: 0.6732 MB / 0.8317 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.1482, allocations: 8 kB / 0.8317 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.1483, allocations: 7.438 kB / 0.8317 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1483, allocations: 0 / 0.8317 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of Templates: time 0.003045/0.1513, allocations: 0.6952 MB / 0.8324 GB, free: 8.051 MB / 0.5762 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 -s cvode -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.663708299980499] Failed to read output from testmodel.py, exit status != 0: 0.15839335799682885 0.17404739100000002 0.027928753 Calling exit ...