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_SmallScaleValidation.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.001662/0.001662, allocations: 105 kB / 20.44 MB, free: 1.504 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.002475/0.002475, allocations: 207 kB / 23.76 MB, free: 4.727 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.9766/0.9766, allocations: 150 MB / 463.9 MB, free: 10.48 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [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.002092/0.002092, allocations: 70.67 kB / 0.6426 GB, free: 9.828 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2263, allocations: 89.17 MB / 0.7296 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003498/0.2298, allocations: 1.781 MB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008777/0.2386, allocations: 5.483 MB / 0.7367 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.2388, allocations: 7.938 kB / 0.7367 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.2402, allocations: 374.4 kB / 0.7371 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.2403, allocations: 59.66 kB / 0.7372 GB, free: 8.988 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.004467/0.2448, allocations: 1.61 MB / 0.7387 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.2451, allocations: 163.3 kB / 0.7389 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.695e-05/0.2452, allocations: 17.69 kB / 0.7389 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.612e-05/0.2453, allocations: 59.77 kB / 0.739 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.2455, allocations: 175.4 kB / 0.7391 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.2456, allocations: 16 kB / 0.7391 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004314/0.2499, allocations: 2.64 MB / 0.7417 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.2501, allocations: 283.7 kB / 0.742 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.2505, allocations: 306.1 kB / 0.7423 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.2538, allocations: 2.235 MB / 0.7445 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2538, allocations: 4 kB / 0.7445 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2538, allocations: 0 / 0.7445 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.2538, allocations: 0 / 0.7445 GB, free: 1.48 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.009044/0.2629, allocations: 1.327 MB / 0.7458 GB, free: 120 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2629, allocations: 12.03 kB / 0.7458 GB, free: 108 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.2633, allocations: 108.2 kB / 0.7459 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000659/0.264, allocations: 348.5 kB / 0.7462 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.264, allocations: 4.375 kB / 0.7462 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.2641, allocations: 11.94 kB / 0.7462 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.2646, allocations: 387.1 kB / 0.7466 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2646, allocations: 0 / 0.7466 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.2646, allocations: 3.984 kB / 0.7466 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2646, allocations: 8 kB / 0.7466 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.2651, allocations: 427.8 kB / 0.747 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.2658, allocations: 0.6455 MB / 0.7477 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.2664, allocations: 0.5671 MB / 0.7482 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.2667, allocations: 333.7 kB / 0.7485 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006094/0.2674, allocations: 131.8 kB / 0.7486 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004813/0.2678, allocations: 412.8 kB / 0.749 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.2678, allocations: 0 / 0.749 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001562/0.2694, allocations: 1.301 MB / 0.7503 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.2695, allocations: 85.09 kB / 0.7504 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.2709, allocations: 1.302 MB / 0.7517 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.271, allocations: 25.7 kB / 0.7517 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.2712, allocations: 293.9 kB / 0.752 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.2713, allocations: 23.8 kB / 0.752 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.2717, allocations: 351.6 kB / 0.7523 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2718, allocations: 326 kB / 0.7526 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.2733, allocations: 1.369 MB / 0.754 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.2749, allocations: 1.505 MB / 0.7554 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007447/0.2823, allocations: 3.564 MB / 0.7589 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.2823, allocations: 3.938 kB / 0.7589 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.427/0.7093, allocations: 4.01 MB / 0.7628 GB, free: 33.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.7093, allocations: 4.406 kB / 0.7629 GB, free: 33.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/0.7094, allocations: 2.25 kB / 0.7629 GB, free: 33.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.7094, allocations: 1.812 kB / 0.7629 GB, free: 33.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.7096, allocations: 17.61 kB / 0.7629 GB, free: 33.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.7096, allocations: 5.156 kB / 0.7629 GB, free: 33.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.71, allocations: 236.4 kB / 0.7631 GB, free: 33.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.7101, allocations: 26.83 kB / 0.7631 GB, free: 33.56 MB / 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.0003113/0.7104, allocations: 249.8 kB / 0.7634 GB, free: 33.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.7105, allocations: 77.42 kB / 0.7634 GB, free: 33.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009391/0.7114, allocations: 0.9475 MB / 0.7644 GB, free: 33.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7114, allocations: 5.062 kB / 0.7644 GB, free: 33.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7114, allocations: 0.6875 kB / 0.7644 GB, free: 33.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7114, allocations: 5.25 kB / 0.7644 GB, free: 33.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.7118, allocations: 0.4885 MB / 0.7649 GB, free: 33.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7118, allocations: 3.734 kB / 0.7649 GB, free: 33.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.7119, allocations: 10.91 kB / 0.7649 GB, free: 33.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7119, allocations: 0 / 0.7649 GB, free: 33.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.7119, allocations: 6.953 kB / 0.7649 GB, free: 33.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7119, allocations: 0.625 kB / 0.7649 GB, free: 33.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7119, allocations: 1.562 kB / 0.7649 GB, free: 33.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007844/0.7127, allocations: 1.013 MB / 0.7659 GB, free: 33.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.7127, allocations: 92.78 kB / 0.766 GB, free: 32.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.7128, allocations: 6.375 kB / 0.766 GB, free: 32.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.7129, allocations: 2.844 kB / 0.766 GB, free: 32.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.713, allocations: 9.797 kB / 0.766 GB, free: 32.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.713, allocations: 16.97 kB / 0.766 GB, free: 32.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007094/0.7137, allocations: 0.7221 MB / 0.7667 GB, free: 32.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.7137, allocations: 0.75 kB / 0.7667 GB, free: 32.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001537/0.7153, allocations: 0.5911 MB / 0.7673 GB, free: 32.84 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.001834/0.7171, allocations: 0.7012 MB / 0.768 GB, free: 32.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002633/0.7197, allocations: 1.999 MB / 0.7699 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7197, allocations: 2 kB / 0.7699 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004814/0.7202, allocations: 340.3 kB / 0.7702 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.7207, allocations: 60.88 kB / 0.7703 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.7237, allocations: 1.936 MB / 0.7722 GB, free: 31.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.7242, allocations: 0.9887 MB / 0.7731 GB, free: 31.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.7244, allocations: 31.67 kB / 0.7732 GB, free: 31.26 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.7244, allocations: 0 / 0.7732 GB, free: 31.26 MB / 0.5762 GB Notification: Performance of Templates: time 0.03084/0.7552, allocations: 14.71 MB / 0.7875 GB, free: 27.71 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.834873714018613] Failed to read output from testmodel.py, exit status != 0: 0.7646439441014081 0.775728851 0.5195260150000001 Calling exit ...