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.001306/0.001306, allocations: 105 kB / 20.48 MB, free: 1.488 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.001471/0.001471, allocations: 213.7 kB / 23.79 MB, free: 4.703 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.436/1.436, allocations: 230.6 MB / 257.6 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.9058/0.9058, allocations: 150 MB / 464 MB, free: 10.52 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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="cs",version="2.0",platforms={"static"}) [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.002006/0.002006, allocations: 63.34 kB / 0.6421 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1643, allocations: 89.18 MB / 0.7292 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003099/0.1674, allocations: 1.78 MB / 0.7309 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008037/0.1755, allocations: 5.479 MB / 0.7363 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1756, allocations: 4 kB / 0.7363 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.177, allocations: 374.4 kB / 0.7366 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.1771, allocations: 67.59 kB / 0.7367 GB, free: 9.48 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.00407/0.1812, allocations: 1.609 MB / 0.7383 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.1815, allocations: 164.6 kB / 0.7384 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.186e-05/0.1816, allocations: 13.69 kB / 0.7384 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1817, allocations: 67.7 kB / 0.7385 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.1819, allocations: 167.5 kB / 0.7387 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.182, allocations: 12 kB / 0.7387 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.1862, allocations: 2.648 MB / 0.7413 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.1864, allocations: 287.8 kB / 0.7415 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.1867, allocations: 302.1 kB / 0.7418 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003769/0.1905, allocations: 2.231 MB / 0.744 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1905, allocations: 0 / 0.744 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1905, allocations: 0 / 0.744 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.239e-05/0.1905, allocations: 4 kB / 0.744 GB, free: 1.977 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.01042/0.201, allocations: 1.331 MB / 0.7453 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.201, allocations: 8.031 kB / 0.7453 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.123e-05/0.201, allocations: 8.188 kB / 0.7453 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.2011, allocations: 30.75 kB / 0.7454 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004597/0.2015, allocations: 112.1 kB / 0.7455 GB, free: 456 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.2022, allocations: 348.5 kB / 0.7458 GB, free: 72 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2022, allocations: 11.94 kB / 0.7458 GB, free: 60 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.2022, allocations: 4 kB / 0.7458 GB, free: 56 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.2027, allocations: 387.2 kB / 0.7462 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2027, allocations: 0 / 0.7462 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2027, allocations: 8 kB / 0.7462 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2027, allocations: 4 kB / 0.7462 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.2032, allocations: 435.7 kB / 0.7466 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/0.2039, allocations: 0.6454 MB / 0.7472 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.2045, allocations: 0.5555 MB / 0.7478 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.2048, allocations: 341.7 kB / 0.7481 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006402/0.2055, allocations: 131.9 kB / 0.7482 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004384/0.2059, allocations: 404.8 kB / 0.7486 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.2059, allocations: 0 / 0.7486 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001437/0.2073, allocations: 1.301 MB / 0.7499 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.2074, allocations: 85.11 kB / 0.75 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.2087, allocations: 1.298 MB / 0.7512 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.2087, allocations: 33.7 kB / 0.7513 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.209, allocations: 281.9 kB / 0.7515 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.209, allocations: 27.78 kB / 0.7516 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.2093, allocations: 363.6 kB / 0.7519 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2095, allocations: 321.9 kB / 0.7522 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.2107, allocations: 1.373 MB / 0.7536 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.2121, allocations: 1.51 MB / 0.755 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006996/0.2191, allocations: 3.553 MB / 0.7585 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2191, allocations: 0 / 0.7585 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.2943/0.5134, allocations: 4.014 MB / 0.7624 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5134, allocations: 4.312 kB / 0.7624 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.5134, allocations: 2.844 kB / 0.7624 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.5134, allocations: 1.75 kB / 0.7624 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.5136, allocations: 15.61 kB / 0.7624 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5136, allocations: 1.625 kB / 0.7624 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.5141, allocations: 241.4 kB / 0.7627 GB, free: 33.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/0.5141, allocations: 24.5 kB / 0.7627 GB, free: 33.2 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.0002887/0.5144, allocations: 253 kB / 0.7629 GB, free: 33.08 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.5145, allocations: 78.58 kB / 0.763 GB, free: 33.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008754/0.5154, allocations: 0.9507 MB / 0.7639 GB, free: 32.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5154, allocations: 2.562 kB / 0.7639 GB, free: 32.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5154, allocations: 0 / 0.7639 GB, free: 32.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5154, allocations: 1.453 kB / 0.7639 GB, free: 32.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.5157, allocations: 0.4924 MB / 0.7644 GB, free: 32.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5157, allocations: 3.172 kB / 0.7644 GB, free: 32.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/0.5158, allocations: 8.734 kB / 0.7644 GB, free: 32.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.5158, allocations: 0.5938 kB / 0.7644 GB, free: 32.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.5158, allocations: 9.062 kB / 0.7644 GB, free: 32.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5158, allocations: 1.594 kB / 0.7645 GB, free: 32.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5158, allocations: 1.375 kB / 0.7645 GB, free: 32.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007339/0.5166, allocations: 1.019 MB / 0.7654 GB, free: 32.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/0.5167, allocations: 93.41 kB / 0.7655 GB, free: 32.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.5167, allocations: 4.938 kB / 0.7655 GB, free: 32.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.5169, allocations: 5.172 kB / 0.7655 GB, free: 32.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.5169, allocations: 9.125 kB / 0.7656 GB, free: 32.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.5169, allocations: 16.19 kB / 0.7656 GB, free: 32.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006504/0.5176, allocations: 0.7221 MB / 0.7663 GB, free: 32.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5176, allocations: 0.9375 kB / 0.7663 GB, free: 32.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001514/0.5191, allocations: 0.5875 MB / 0.7669 GB, free: 32.51 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.003192/0.5223, allocations: 2.168 MB / 0.769 GB, free: 31.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00235/0.5246, allocations: 1.996 MB / 0.7709 GB, free: 31.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5246, allocations: 0.8438 kB / 0.7709 GB, free: 31.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.5251, allocations: 335 kB / 0.7712 GB, free: 31.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.5255, allocations: 64.06 kB / 0.7713 GB, free: 31.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.5413, allocations: 15.3 MB / 0.7862 GB, free: 26.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.5418, allocations: 0.9873 MB / 0.7872 GB, free: 26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.542, allocations: 41.58 kB / 0.7872 GB, free: 26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.5422, allocations: 293.2 kB / 0.7875 GB, free: 25.76 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.5422, allocations: 0 / 0.7875 GB, free: 25.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05259/0.5948, allocations: 24.47 MB / 0.8114 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.61, allocations: 4.062 kB / 0.8114 GB, free: 11.02 MB / 0.5762 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --stepSize=7.2e+08 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.817084348993376] Failed to read output from testmodel.py, exit status != 0: 13.792509955004789 13.8126213 13.617088287 Calling exit ...