Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.001985/0.001985, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.002467/0.002467, allocations: 219.7 kB / 23 MB, free: 5.004 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9847/0.9847, allocations: 150 MB / 463.1 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 66.77 kB / 0.6418 GB, free: 9.805 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1694, allocations: 89.17 MB / 0.7289 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002553/0.172, allocations: 1.439 MB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006848/0.1788, allocations: 4.283 MB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.1789, allocations: 4 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.179, allocations: 15.86 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1792, allocations: 27.84 kB / 0.7345 GB, free: 10.91 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.004066/0.1833, allocations: 1.617 MB / 0.7361 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1834, allocations: 91.69 kB / 0.7362 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.1835, allocations: 7.984 kB / 0.7362 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.1836, allocations: 55.7 kB / 0.7363 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.1838, allocations: 147.6 kB / 0.7364 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.1839, allocations: 16 kB / 0.7364 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004251/0.1881, allocations: 2.656 MB / 0.739 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.1884, allocations: 271.9 kB / 0.7393 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.1887, allocations: 278.3 kB / 0.7395 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003277/0.1919, allocations: 2.157 MB / 0.7416 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1919, allocations: 0 / 0.7416 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1919, allocations: 0 / 0.7416 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.1919, allocations: 0 / 0.7416 GB, free: 3.613 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009613/0.2016, allocations: 1.276 MB / 0.7429 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2016, allocations: 8.031 kB / 0.7429 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004094/0.202, allocations: 96.25 kB / 0.743 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.2025, allocations: 299.2 kB / 0.7433 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2025, allocations: 8.375 kB / 0.7433 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.2025, allocations: 11.92 kB / 0.7433 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.203, allocations: 391.2 kB / 0.7437 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.203, allocations: 0 / 0.7437 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.203, allocations: 0 / 0.7437 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.203, allocations: 4 kB / 0.7437 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.2035, allocations: 435.7 kB / 0.7441 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.2042, allocations: 0.6166 MB / 0.7447 GB, free: 376 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.2048, allocations: 0.5632 MB / 0.7452 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.2051, allocations: 333.7 kB / 0.7455 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/0.2058, allocations: 135.8 kB / 0.7457 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004452/0.2063, allocations: 400.9 kB / 0.7461 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.2063, allocations: 0 / 0.7461 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.00148/0.2077, allocations: 1.301 MB / 0.7473 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.2078, allocations: 77.11 kB / 0.7474 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.2091, allocations: 1.223 MB / 0.7486 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.2092, allocations: 29.7 kB / 0.7486 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.2094, allocations: 261.9 kB / 0.7489 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.2094, allocations: 23.83 kB / 0.7489 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.2098, allocations: 355.6 kB / 0.7492 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2099, allocations: 314.1 kB / 0.7495 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.2113, allocations: 1.373 MB / 0.7509 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.2128, allocations: 1.505 MB / 0.7523 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007713/0.2206, allocations: 3.557 MB / 0.7558 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.2206, allocations: 3.938 kB / 0.7558 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004754/0.2253, allocations: 4.011 MB / 0.7597 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2253, allocations: 4 kB / 0.7597 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.2254, allocations: 8 kB / 0.7597 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2254, allocations: 7.922 kB / 0.7598 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.2255, allocations: 12 kB / 0.7598 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.2255, allocations: 4.031 kB / 0.7598 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.2261, allocations: 241.3 kB / 0.76 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.699e-05/0.2261, allocations: 23.98 kB / 0.76 GB, free: 408 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003548/0.2265, allocations: 249.5 kB / 0.7603 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.2266, allocations: 67.34 kB / 0.7603 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3831/0.6096, allocations: 0.9376 MB / 0.7612 GB, free: 35.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6097, allocations: 2.672 kB / 0.7612 GB, free: 35.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6097, allocations: 0.5312 kB / 0.7612 GB, free: 35.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6097, allocations: 5.281 kB / 0.7613 GB, free: 35.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.6101, allocations: 477.3 kB / 0.7617 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6101, allocations: 1.938 kB / 0.7617 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-05/0.6102, allocations: 7.531 kB / 0.7617 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.6102, allocations: 1.656 kB / 0.7617 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.6102, allocations: 2.531 kB / 0.7617 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.6102, allocations: 0 / 0.7617 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6103, allocations: 1.875 kB / 0.7617 GB, free: 34.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007664/0.611, allocations: 1.006 MB / 0.7627 GB, free: 34.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.6111, allocations: 88.06 kB / 0.7628 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.6112, allocations: 4.281 kB / 0.7628 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.6113, allocations: 4.875 kB / 0.7628 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.6113, allocations: 11.2 kB / 0.7628 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.6114, allocations: 13.56 kB / 0.7628 GB, free: 34.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006206/0.612, allocations: 0.6698 MB / 0.7635 GB, free: 34.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.612, allocations: 1.406 kB / 0.7635 GB, free: 34.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001372/0.6134, allocations: 0.5832 MB / 0.764 GB, free: 34.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001804/0.6152, allocations: 0.7036 MB / 0.7647 GB, free: 34.58 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002087/0.6173, allocations: 1.999 MB / 0.7667 GB, free: 34.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6173, allocations: 0.7656 kB / 0.7667 GB, free: 34.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.6177, allocations: 333.9 kB / 0.767 GB, free: 34.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.618, allocations: 46.56 kB / 0.767 GB, free: 34.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.6203, allocations: 1.776 MB / 0.7688 GB, free: 33.97 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.6208, allocations: 0.9644 MB / 0.7697 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.621, allocations: 35.56 kB / 0.7698 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.6211, allocations: 28.88 kB / 0.7698 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/0.6211, allocations: 0 / 0.7698 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.02465/0.6457, allocations: 13.86 MB / 0.7833 GB, free: 30.31 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.464000322856009] Failed to read output from testmodel.py, exit status != 0: 0.6545356526039541 0.665813989 0.471309999 Calling exit ...