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.001231/0.001231, allocations: 75.3 kB / 19.93 MB, free: 1.77 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.001345/0.001345, allocations: 170.3 kB / 23.22 MB, free: 4.887 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.369/1.369, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] 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.8866/0.8866, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5548 GB, free: 2.578 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.739e-05, allocations: 9.062 kB / 0.5548 GB, free: 2.57 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002799/0.002826, allocations: 1.721 MB / 0.5564 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00776/0.01059, allocations: 4.899 MB / 0.5612 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.386e-05/0.01066, allocations: 3.938 kB / 0.5612 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.01181, allocations: 342.4 kB / 0.5616 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.01194, allocations: 67.61 kB / 0.5616 GB, free: 11.52 MB / 478.1 MB [/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.003554/0.01549, allocations: 1.596 MB / 0.5632 GB, free: 9.922 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.01575, allocations: 163.3 kB / 0.5633 GB, free: 9.762 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.0158, allocations: 13.78 kB / 0.5634 GB, free: 9.75 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.01592, allocations: 79.8 kB / 0.5634 GB, free: 9.672 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.01615, allocations: 155.6 kB / 0.5636 GB, free: 9.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.0162, allocations: 16 kB / 0.5636 GB, free: 9.504 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.0197, allocations: 2.405 MB / 0.5659 GB, free: 7.094 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.01995, allocations: 287.9 kB / 0.5662 GB, free: 6.809 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.02016, allocations: 167.9 kB / 0.5664 GB, free: 6.645 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.02325, allocations: 2.51 MB / 0.5688 GB, free: 4.129 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.02325, allocations: 0 / 0.5688 GB, free: 4.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02325, allocations: 0 / 0.5688 GB, free: 4.129 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.02326, allocations: 4 kB / 0.5688 GB, free: 4.125 MB / 478.1 MB 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.01119/0.03445, allocations: 1.338 MB / 0.5701 GB, free: 2.75 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.03449, allocations: 8.625 kB / 0.5701 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004279/0.03492, allocations: 108.2 kB / 0.5703 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.03554, allocations: 347.7 kB / 0.5706 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.03555, allocations: 4.375 kB / 0.5706 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.0356, allocations: 12.38 kB / 0.5706 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.03609, allocations: 395.2 kB / 0.571 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.0361, allocations: 0 / 0.571 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.03611, allocations: 3.938 kB / 0.571 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.03612, allocations: 4 kB / 0.571 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.0366, allocations: 431.7 kB / 0.5714 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.03734, allocations: 0.5898 MB / 0.572 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/0.03796, allocations: 0.5632 MB / 0.5725 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.03835, allocations: 333.7 kB / 0.5728 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006863/0.03904, allocations: 135.7 kB / 0.573 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004775/0.03951, allocations: 416.7 kB / 0.5734 GB, free: 15.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.684e-06/0.03951, allocations: 0 / 0.5734 GB, free: 15.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.001585/0.0411, allocations: 1.301 MB / 0.5746 GB, free: 14.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.04118, allocations: 81.11 kB / 0.5747 GB, free: 13.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.04263, allocations: 1.298 MB / 0.576 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.04267, allocations: 29.7 kB / 0.576 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.04295, allocations: 285.9 kB / 0.5763 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.04299, allocations: 27.81 kB / 0.5763 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003836/0.04337, allocations: 343.6 kB / 0.5766 GB, free: 11.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.04356, allocations: 326.1 kB / 0.5769 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.04493, allocations: 1.369 MB / 0.5783 GB, free: 10.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.04635, allocations: 1.505 MB / 0.5798 GB, free: 8.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007294/0.05365, allocations: 3.556 MB / 0.5832 GB, free: 5.066 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.05365, allocations: 0 / 0.5832 GB, free: 5.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004475/0.05813, allocations: 4.015 MB / 0.5871 GB, free: 1.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.05815, allocations: 9.5 kB / 0.5872 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.05816, allocations: 4 kB / 0.5872 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.05818, allocations: 0 / 0.5872 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.05831, allocations: 23.92 kB / 0.5872 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.05832, allocations: 0 / 0.5872 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/0.05884, allocations: 237.4 kB / 0.5874 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.05889, allocations: 19.98 kB / 0.5874 GB, free: 0.7266 MB / 494.1 MB 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.0003302/0.05922, allocations: 257.6 kB / 0.5877 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.0593, allocations: 83.19 kB / 0.5878 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.06035, allocations: 0.9524 MB / 0.5887 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.06035, allocations: 0 / 0.5887 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.06036, allocations: 0 / 0.5887 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.06037, allocations: 0 / 0.5887 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.06082, allocations: 472.3 kB / 0.5891 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.06082, allocations: 4.031 kB / 0.5891 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.697e-05/0.06089, allocations: 4 kB / 0.5891 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.06089, allocations: 4 kB / 0.5891 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.06091, allocations: 7.922 kB / 0.5892 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.06091, allocations: 3.938 kB / 0.5892 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.06091, allocations: 4 kB / 0.5892 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009709/0.06188, allocations: 1.007 MB / 0.5901 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.06198, allocations: 91.19 kB / 0.5902 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.06205, allocations: 15.92 kB / 0.5902 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.0622, allocations: 0 / 0.5902 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.06224, allocations: 11.98 kB / 0.5903 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.06228, allocations: 11.98 kB / 0.5903 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008299/0.06311, allocations: 0.7261 MB / 0.591 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.06311, allocations: 0 / 0.591 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001474/0.06458, allocations: 0.5884 MB / 0.5916 GB, free: 12.43 MB / 0.4981 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.001868/0.06645, allocations: 0.7885 MB / 0.5923 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00207/0.06852, allocations: 1.997 MB / 0.5943 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.06852, allocations: 4 kB / 0.5943 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.06888, allocations: 335.8 kB / 0.5946 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.06926, allocations: 59.89 kB / 0.5947 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.07151, allocations: 1.878 MB / 0.5965 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.07189, allocations: 397.8 kB / 0.5969 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000144/0.07203, allocations: 45.45 kB / 0.5969 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.07214, allocations: 24.48 kB / 0.5969 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.07214, allocations: 0 / 0.5969 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of Templates: time 0.02581/0.09795, allocations: 14.72 MB / 0.6113 GB, free: 8.297 MB / 0.5137 GB " [Timeout remaining time 660] 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: 6.239506300538778] Failed to read output from testmodel.py, exit status != 0: 0.10691184550523758 0.12137929499999994 0.09506598999999995 Calling exit ...