Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.001421/0.001421, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001469/0.001469, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.476/1.476, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.105/1.105, allocations: 175.7 MB / 479.1 MB, free: 3.43 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 68.39 kB / 0.6664 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.199, allocations: 94.54 MB / 0.7587 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00278/0.2018, allocations: 1.425 MB / 0.7601 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006875/0.2087, allocations: 4.239 MB / 0.7643 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.2087, allocations: 0 / 0.7643 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.2089, allocations: 15.86 kB / 0.7643 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.2091, allocations: 27.84 kB / 0.7643 GB, free: 11.34 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.00424/0.2134, allocations: 1.511 MB / 0.7658 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.2136, allocations: 95.67 kB / 0.7659 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.2136, allocations: 0 / 0.7659 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.615e-05/0.2137, allocations: 55.77 kB / 0.7659 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.214, allocations: 151.6 kB / 0.7661 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.214, allocations: 12 kB / 0.7661 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.2181, allocations: 2.309 MB / 0.7683 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.2184, allocations: 271.8 kB / 0.7686 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.2187, allocations: 282.3 kB / 0.7689 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003606/0.2223, allocations: 2.111 MB / 0.7709 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.2223, allocations: 7.984 kB / 0.7709 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.419e-06/0.2223, allocations: 4 kB / 0.7709 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.2223, allocations: 0 / 0.7709 GB, free: 4.527 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0102/0.2325, allocations: 1.342 MB / 0.7723 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.2325, allocations: 12.03 kB / 0.7723 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/0.233, allocations: 92.19 kB / 0.7724 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.2334, allocations: 365 kB / 0.7727 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2334, allocations: 4.312 kB / 0.7727 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.2335, allocations: 15.92 kB / 0.7727 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.234, allocations: 391.2 kB / 0.7731 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.234, allocations: 0 / 0.7731 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.234, allocations: 4 kB / 0.7731 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.234, allocations: 3.938 kB / 0.7731 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.2345, allocations: 435.7 kB / 0.7735 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007222/0.2352, allocations: 0.6487 MB / 0.7742 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.2358, allocations: 0.5595 MB / 0.7747 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.2362, allocations: 329.6 kB / 0.775 GB, free: 176 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.2374, allocations: 1.036 MB / 0.776 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004715/0.2379, allocations: 400.8 kB / 0.7764 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.2379, allocations: 4 kB / 0.7764 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001565/0.2395, allocations: 1.293 MB / 0.7777 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.2395, allocations: 85.09 kB / 0.7778 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.2409, allocations: 1.223 MB / 0.7789 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.2409, allocations: 25.7 kB / 0.779 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.2411, allocations: 261.9 kB / 0.7792 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.2412, allocations: 19.89 kB / 0.7792 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.2415, allocations: 363.5 kB / 0.7796 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2417, allocations: 310.1 kB / 0.7799 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.2431, allocations: 1.373 MB / 0.7812 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.2446, allocations: 1.501 MB / 0.7827 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007426/0.252, allocations: 3.56 MB / 0.7862 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.252, allocations: 3.938 kB / 0.7862 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004792/0.2568, allocations: 4.019 MB / 0.7901 GB, free: 288 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.2568, allocations: 8 kB / 0.7901 GB, free: 280 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.2569, allocations: 0 / 0.7901 GB, free: 280 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2569, allocations: 4 kB / 0.7901 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.257, allocations: 15.98 kB / 0.7901 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.257, allocations: 4.031 kB / 0.7901 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/0.2576, allocations: 241.3 kB / 0.7904 GB, free: 12 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.2576, allocations: 27.98 kB / 0.7904 GB, free: 15.98 MB / 0.6075 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.000339/0.258, allocations: 247.9 kB / 0.7906 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/0.2581, allocations: 67.34 kB / 0.7907 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.2583, allocations: 79.06 kB / 0.7908 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2583, allocations: 0 / 0.7908 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2583, allocations: 0 / 0.7908 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2584, allocations: 4 kB / 0.7908 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.2588, allocations: 0.4891 MB / 0.7912 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2588, allocations: 3.938 kB / 0.7912 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.2589, allocations: 7.984 kB / 0.7913 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2589, allocations: 7.938 kB / 0.7913 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2589, allocations: 0 / 0.7913 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2589, allocations: 0 / 0.7913 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2589, allocations: 4 kB / 0.7913 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.26, allocations: 1.018 MB / 0.7923 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.2601, allocations: 156.5 kB / 0.7924 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.2601, allocations: 0 / 0.7924 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.2603, allocations: 7.984 kB / 0.7924 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.2603, allocations: 8 kB / 0.7924 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.2603, allocations: 11.97 kB / 0.7924 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007647/0.2611, allocations: 0.6727 MB / 0.7931 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2611, allocations: 4 kB / 0.7931 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001639/0.2627, allocations: 0.5806 MB / 0.7937 GB, free: 12.52 MB / 0.6075 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.001919/0.2647, allocations: 0.7026 MB / 0.7943 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.2669, allocations: 1.997 MB / 0.7963 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2669, allocations: 0 / 0.7963 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.2672, allocations: 331.8 kB / 0.7966 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.2676, allocations: 40.53 kB / 0.7967 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.2698, allocations: 1.815 MB / 0.7984 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.2704, allocations: 0.9679 MB / 0.7994 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.2706, allocations: 31.41 kB / 0.7994 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.2706, allocations: 0 / 0.7994 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of Templates: time 0.02379/0.2943, allocations: 13.92 MB / 0.813 GB, free: 8.645 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.908020763890818] Failed to read output from testmodel.py, exit status != 0: 0.3026984198950231 0.31606357100000004 0.090927142 Calling exit ...