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.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.001471/0.001471, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.001579/0.001579, allocations: 191.7 kB / 22.98 MB, free: 5.062 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.31/1.31, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8904/0.8904, allocations: 149.6 MB / 456.6 MB, free: 1.16 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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 0.002023/0.002023, allocations: 76.28 kB / 0.6329 GB, free: 8.867 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1636, allocations: 87.87 MB / 0.7187 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003082/0.1667, allocations: 1.769 MB / 0.7205 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008075/0.1748, allocations: 5.462 MB / 0.7258 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1749, allocations: 3.938 kB / 0.7258 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.1761, allocations: 370.4 kB / 0.7262 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1763, allocations: 67.66 kB / 0.7262 GB, free: 9.211 MB / 0.545 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'. Notification: Performance of NFTyping.typeClassSections: time 0.004004/0.1803, allocations: 1.611 MB / 0.7278 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000287/0.1806, allocations: 159.3 kB / 0.7279 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.1806, allocations: 5.75 kB / 0.7279 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.1807, allocations: 67.77 kB / 0.728 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.181, allocations: 175.4 kB / 0.7282 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.181, allocations: 16 kB / 0.7282 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003977/0.185, allocations: 2.64 MB / 0.7308 GB, free: 4.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.1852, allocations: 283.8 kB / 0.731 GB, free: 4.266 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.1855, allocations: 310.1 kB / 0.7313 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.1888, allocations: 2.227 MB / 0.7335 GB, free: 1.723 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1888, allocations: 0 / 0.7335 GB, free: 1.723 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1888, allocations: 0 / 0.7335 GB, free: 1.723 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.1889, allocations: 0 / 0.7335 GB, free: 1.723 MB / 0.545 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.007796/0.1967, allocations: 1.338 MB / 0.7348 GB, free: 356 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1967, allocations: 8.625 kB / 0.7348 GB, free: 348 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004187/0.1971, allocations: 104.2 kB / 0.7349 GB, free: 244 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.1977, allocations: 352.6 kB / 0.7353 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1978, allocations: 384 / 0.7353 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.1978, allocations: 11.94 kB / 0.7353 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.1983, allocations: 399 kB / 0.7357 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1983, allocations: 0 / 0.7357 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.1984, allocations: 7.984 kB / 0.7357 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1984, allocations: 0 / 0.7357 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/0.1989, allocations: 435.7 kB / 0.7361 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.1996, allocations: 0.6415 MB / 0.7367 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.2002, allocations: 0.575 MB / 0.7373 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.2005, allocations: 333.5 kB / 0.7376 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000612/0.2011, allocations: 131.9 kB / 0.7377 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004535/0.2016, allocations: 408.8 kB / 0.7381 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.2016, allocations: 0 / 0.7381 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001505/0.2031, allocations: 1.301 MB / 0.7394 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.2032, allocations: 85.23 kB / 0.7395 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.2046, allocations: 1.29 MB / 0.7407 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.2046, allocations: 33.7 kB / 0.7407 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.2048, allocations: 289.9 kB / 0.741 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.2049, allocations: 27.78 kB / 0.7411 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.2052, allocations: 347.6 kB / 0.7414 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2053, allocations: 318 kB / 0.7417 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.2068, allocations: 1.373 MB / 0.743 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.2082, allocations: 1.511 MB / 0.7445 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007068/0.2152, allocations: 3.56 MB / 0.748 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2152, allocations: 3.938 kB / 0.748 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3063/0.5215, allocations: 4.012 MB / 0.7519 GB, free: 31.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5215, allocations: 5.375 kB / 0.7519 GB, free: 31.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.5216, allocations: 3.094 kB / 0.7519 GB, free: 31.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5216, allocations: 1.906 kB / 0.7519 GB, free: 31.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.5217, allocations: 19.06 kB / 0.7519 GB, free: 31.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.5217, allocations: 2.156 kB / 0.7519 GB, free: 31.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.5222, allocations: 240.4 kB / 0.7522 GB, free: 31.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.5222, allocations: 25.95 kB / 0.7522 GB, free: 31.06 MB / 0.5606 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.000304/0.5225, allocations: 249.6 kB / 0.7524 GB, free: 30.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.5226, allocations: 78.22 kB / 0.7525 GB, free: 30.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009847/0.5236, allocations: 0.9501 MB / 0.7534 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.5236, allocations: 1.375 kB / 0.7534 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5236, allocations: 1.094 kB / 0.7534 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5236, allocations: 2.219 kB / 0.7534 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.524, allocations: 0.4911 MB / 0.7539 GB, free: 30.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.524, allocations: 0 / 0.7539 GB, free: 30.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.524, allocations: 10.8 kB / 0.7539 GB, free: 30.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.524, allocations: 2.625 kB / 0.7539 GB, free: 30.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.524, allocations: 5.094 kB / 0.7539 GB, free: 30.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.524, allocations: 0 / 0.7539 GB, free: 30.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.524, allocations: 1.844 kB / 0.7539 GB, free: 30.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/0.5249, allocations: 1.021 MB / 0.7549 GB, free: 30.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.525, allocations: 89.14 kB / 0.755 GB, free: 30.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.525, allocations: 4.344 kB / 0.755 GB, free: 30.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.5252, allocations: 6.484 kB / 0.755 GB, free: 30.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.5252, allocations: 5.5 kB / 0.755 GB, free: 30.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.5253, allocations: 14.23 kB / 0.755 GB, free: 30.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007436/0.526, allocations: 0.7236 MB / 0.7557 GB, free: 30.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.526, allocations: 0 / 0.7557 GB, free: 30.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001329/0.5273, allocations: 0.5991 MB / 0.7563 GB, free: 30.34 MB / 0.5606 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.002065/0.5294, allocations: 0.6935 MB / 0.757 GB, free: 30.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002926/0.5323, allocations: 2.002 MB / 0.759 GB, free: 30.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5323, allocations: 0 / 0.759 GB, free: 30.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007094/0.533, allocations: 342.5 kB / 0.7593 GB, free: 30.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.5336, allocations: 63.33 kB / 0.7594 GB, free: 30.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.5364, allocations: 1.891 MB / 0.7612 GB, free: 29.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.537, allocations: 0.9899 MB / 0.7622 GB, free: 28.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001892/0.5372, allocations: 36.95 kB / 0.7622 GB, free: 28.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.5373, allocations: 27.56 kB / 0.7622 GB, free: 28.74 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.5373, allocations: 0 / 0.7622 GB, free: 28.74 MB / 0.5606 GB Notification: Performance of Templates: time 0.03353/0.5709, allocations: 14.45 MB / 0.7763 GB, free: 24.69 MB / 0.5606 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: 6.519557416439056] Failed to read output from testmodel.py, exit status != 0: 0.5790166361257434 0.588829957 0.397958638 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f45615fd7b0>