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.001382/0.001382, allocations: 104.3 kB / 19.7 MB, free: 1.941 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.001542/0.001542, allocations: 221 kB / 22.99 MB, free: 4.969 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 1.007/1.007, allocations: 149.9 MB / 463 MB, free: 10.38 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.002273/0.002273, allocations: 67.61 kB / 0.6416 GB, free: 9.578 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1877, allocations: 89.17 MB / 0.7287 GB, free: 484 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003354/0.191, allocations: 1.712 MB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009244/0.2003, allocations: 4.888 MB / 0.7351 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.2004, allocations: 7.938 kB / 0.7352 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.2019, allocations: 334.5 kB / 0.7355 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.2021, allocations: 63.66 kB / 0.7355 GB, free: 9.449 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.005007/0.2071, allocations: 1.585 MB / 0.7371 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.2075, allocations: 162.8 kB / 0.7372 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.2075, allocations: 13.69 kB / 0.7373 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2076, allocations: 67.7 kB / 0.7373 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.2079, allocations: 167.4 kB / 0.7375 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.208, allocations: 16 kB / 0.7375 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004855/0.2128, allocations: 2.39 MB / 0.7398 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.2131, allocations: 275.8 kB / 0.7401 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.2135, allocations: 246.8 kB / 0.7403 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005426/0.2189, allocations: 2.212 MB / 0.7425 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2189, allocations: 0 / 0.7425 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.54e-06/0.2189, allocations: 3.984 kB / 0.7425 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.2189, allocations: 0 / 0.7425 GB, free: 2.312 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.01086/0.2298, allocations: 1.327 MB / 0.7438 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.2298, allocations: 16.03 kB / 0.7438 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/0.2303, allocations: 104.1 kB / 0.7439 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.2309, allocations: 348.5 kB / 0.7442 GB, free: 468 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.231, allocations: 8.375 kB / 0.7442 GB, free: 460 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.231, allocations: 11.94 kB / 0.7442 GB, free: 448 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.2315, allocations: 387.2 kB / 0.7446 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2315, allocations: 4 kB / 0.7446 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2315, allocations: 0 / 0.7446 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2315, allocations: 4 kB / 0.7446 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.2321, allocations: 435.7 kB / 0.745 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.2328, allocations: 0.5976 MB / 0.7456 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/0.2335, allocations: 0.5594 MB / 0.7462 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.2338, allocations: 337.7 kB / 0.7465 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/0.2345, allocations: 139.8 kB / 0.7466 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.235, allocations: 400.9 kB / 0.747 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.235, allocations: 0 / 0.747 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001667/0.2367, allocations: 1.309 MB / 0.7483 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.2367, allocations: 81.11 kB / 0.7484 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.2382, allocations: 1.294 MB / 0.7496 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.2383, allocations: 33.64 kB / 0.7497 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.2386, allocations: 289.9 kB / 0.7499 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.2386, allocations: 27.78 kB / 0.75 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003878/0.239, allocations: 351.6 kB / 0.7503 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2392, allocations: 318 kB / 0.7506 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.2407, allocations: 1.377 MB / 0.7519 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.2423, allocations: 1.509 MB / 0.7534 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007968/0.2503, allocations: 3.557 MB / 0.7569 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.2503, allocations: 0 / 0.7569 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3777/0.628, allocations: 4.016 MB / 0.7608 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.628, allocations: 6.594 kB / 0.7608 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/0.6281, allocations: 4.078 kB / 0.7608 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.6281, allocations: 2.625 kB / 0.7608 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.6282, allocations: 15.47 kB / 0.7608 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.6282, allocations: 0.6562 kB / 0.7608 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.6287, allocations: 236.6 kB / 0.7611 GB, free: 33.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.6288, allocations: 24.84 kB / 0.7611 GB, free: 33.45 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.0002787/0.629, allocations: 250 kB / 0.7613 GB, free: 33.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.6291, allocations: 80.91 kB / 0.7614 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009163/0.63, allocations: 0.9534 MB / 0.7623 GB, free: 33.22 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.63, allocations: 3.938 kB / 0.7623 GB, free: 33.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.63, allocations: 1.031 kB / 0.7623 GB, free: 33.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.63, allocations: 0.5 kB / 0.7623 GB, free: 33.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.6304, allocations: 468.9 kB / 0.7628 GB, free: 33.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6304, allocations: 0.7812 kB / 0.7628 GB, free: 33.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.6304, allocations: 9.766 kB / 0.7628 GB, free: 33.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6304, allocations: 1.266 kB / 0.7628 GB, free: 33.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.6305, allocations: 4.812 kB / 0.7628 GB, free: 33.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6305, allocations: 0 / 0.7628 GB, free: 33.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6305, allocations: 4.781 kB / 0.7628 GB, free: 33.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.6312, allocations: 1.01 MB / 0.7638 GB, free: 32.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.6313, allocations: 98.19 kB / 0.7639 GB, free: 32.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.6313, allocations: 3.375 kB / 0.7639 GB, free: 32.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.6315, allocations: 7.25 kB / 0.7639 GB, free: 32.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.6315, allocations: 8.547 kB / 0.7639 GB, free: 32.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.6316, allocations: 12.33 kB / 0.7639 GB, free: 32.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006468/0.6322, allocations: 0.7212 MB / 0.7646 GB, free: 32.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6322, allocations: 0.6562 kB / 0.7646 GB, free: 32.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001291/0.6335, allocations: 0.5944 MB / 0.7652 GB, free: 32.79 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.001729/0.6352, allocations: 0.7029 MB / 0.7659 GB, free: 32.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.6374, allocations: 1.999 MB / 0.7678 GB, free: 32.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6374, allocations: 0.75 kB / 0.7678 GB, free: 32.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.6378, allocations: 336.7 kB / 0.7682 GB, free: 32.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.6382, allocations: 63.05 kB / 0.7682 GB, free: 32.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.6407, allocations: 1.885 MB / 0.7701 GB, free: 32.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.6412, allocations: 399.6 kB / 0.7704 GB, free: 31.92 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001912/0.6413, allocations: 44.34 kB / 0.7705 GB, free: 31.92 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.6415, allocations: 27.83 kB / 0.7705 GB, free: 31.91 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.6415, allocations: 0.5469 kB / 0.7705 GB, free: 31.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.02664/0.6681, allocations: 15.75 MB / 0.7859 GB, free: 27.97 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: 7.489890865981579] Failed to read output from testmodel.py, exit status != 0: 0.6773550733923912 0.688005824 0.466603111 Calling exit ...