Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001592/0.001592, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001506/0.001506, allocations: 212 kB / 22.99 MB, free: 4.945 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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.0026/0.0026, allocations: 290.1 kB / 313.5 MB, free: 2.621 MB / 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.235/1.235, allocations: 180.6 MB / 0.5377 GB, free: 14.48 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 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.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002973/0.002973, allocations: 97.81 kB / 0.7408 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1914, allocations: 95.38 MB / 0.8339 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002683/0.1941, allocations: 1.431 MB / 0.8353 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00653/0.2006, allocations: 3.847 MB / 0.8391 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.2007, allocations: 0 / 0.8391 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.2008, allocations: 15.86 kB / 0.8391 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.2011, allocations: 31.77 kB / 0.8391 GB, free: 2.457 MB / 0.5762 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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.00416/0.2052, allocations: 1.593 MB / 0.8407 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.2054, allocations: 79.81 kB / 0.8408 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.2054, allocations: 7.984 kB / 0.8408 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.345e-05/0.2055, allocations: 55.77 kB / 0.8408 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.2057, allocations: 143.6 kB / 0.841 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.2058, allocations: 12 kB / 0.841 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.2095, allocations: 2.371 MB / 0.8433 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.2097, allocations: 271.8 kB / 0.8436 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.2099, allocations: 226.9 kB / 0.8438 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002834/0.2128, allocations: 2.13 MB / 0.8458 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2128, allocations: 7.984 kB / 0.8459 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2128, allocations: 0 / 0.8459 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.2128, allocations: 0 / 0.8459 GB, free: 11.56 MB / 0.5919 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.009656/0.2224, allocations: 1.268 MB / 0.8471 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2225, allocations: 9.938 kB / 0.8471 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.2229, allocations: 92.25 kB / 0.8472 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.2233, allocations: 311.2 kB / 0.8475 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2233, allocations: 8.375 kB / 0.8475 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.2234, allocations: 4.375 kB / 0.8475 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.2238, allocations: 391.5 kB / 0.8479 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2238, allocations: 0 / 0.8479 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2239, allocations: 0 / 0.8479 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2239, allocations: 8 kB / 0.8479 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.2243, allocations: 439.6 kB / 0.8483 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.2249, allocations: 0.5693 MB / 0.8489 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.2255, allocations: 0.5556 MB / 0.8494 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.2259, allocations: 329.6 kB / 0.8497 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006838/0.2265, allocations: 147.7 kB / 0.8499 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004414/0.227, allocations: 404.9 kB / 0.8502 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.227, allocations: 0 / 0.8502 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001463/0.2284, allocations: 1.293 MB / 0.8515 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.2285, allocations: 89.23 kB / 0.8516 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.2297, allocations: 1.219 MB / 0.8528 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.2298, allocations: 33.64 kB / 0.8528 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.23, allocations: 265.9 kB / 0.8531 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.23, allocations: 31.77 kB / 0.8531 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/0.2304, allocations: 351.6 kB / 0.8534 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2305, allocations: 310 kB / 0.8537 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.2319, allocations: 1.369 MB / 0.8551 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.2333, allocations: 1.505 MB / 0.8565 GB, free: 400 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007338/0.2407, allocations: 3.557 MB / 0.86 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2407, allocations: 0 / 0.86 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004744/0.2454, allocations: 4.003 MB / 0.8639 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.2455, allocations: 11.94 kB / 0.8639 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.2455, allocations: 0 / 0.8639 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.2455, allocations: 4.031 kB / 0.8639 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.2456, allocations: 27.92 kB / 0.864 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2457, allocations: 0 / 0.864 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.2462, allocations: 237.3 kB / 0.8642 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.2462, allocations: 23.98 kB / 0.8642 GB, free: 8.402 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.0003235/0.2465, allocations: 242.3 kB / 0.8644 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.2466, allocations: 71.28 kB / 0.8645 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.2477, allocations: 0.9477 MB / 0.8654 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2477, allocations: 3.984 kB / 0.8654 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2477, allocations: 4 kB / 0.8654 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2477, allocations: 4 kB / 0.8654 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.2481, allocations: 439.4 kB / 0.8659 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2482, allocations: 0 / 0.8659 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.2482, allocations: 4 kB / 0.8659 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.2482, allocations: 4 kB / 0.8659 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2482, allocations: 11.86 kB / 0.8659 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2482, allocations: 4.031 kB / 0.8659 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.2482, allocations: 3.938 kB / 0.8659 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2493, allocations: 1.002 MB / 0.8669 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.2494, allocations: 91.2 kB / 0.867 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.2494, allocations: 3.938 kB / 0.867 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.2495, allocations: 4 kB / 0.867 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.2496, allocations: 15.97 kB / 0.867 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.2496, allocations: 11.98 kB / 0.867 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007638/0.2504, allocations: 0.6767 MB / 0.8676 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2504, allocations: 0 / 0.8676 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001544/0.2519, allocations: 0.5806 MB / 0.8682 GB, free: 4.219 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.001826/0.2538, allocations: 0.7052 MB / 0.8689 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.2559, allocations: 1.997 MB / 0.8709 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2559, allocations: 8.062 kB / 0.8709 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.2562, allocations: 327.8 kB / 0.8712 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2566, allocations: 37.09 kB / 0.8712 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.2588, allocations: 1.819 MB / 0.873 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.2592, allocations: 372.1 kB / 0.8733 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.2593, allocations: 27.41 kB / 0.8734 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.2593, allocations: 0 / 0.8734 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.02337/0.2827, allocations: 14.25 MB / 0.8873 GB, free: 0.6367 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.897655187174678] Failed to read output from testmodel.py, exit status != 0: 0.29003215907141566 0.30460061899999996 0.08880803599999994 Calling exit ...