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.001394/0.001394, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00166/0.00166, allocations: 215.5 kB / 22.99 MB, free: 4.977 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.017/1.017, allocations: 149.9 MB / 463.1 MB, free: 10.34 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="me",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="me",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.00233/0.00233, allocations: 64.64 kB / 0.6411 GB, free: 10.05 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1869, allocations: 89.18 MB / 0.7282 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003834/0.1908, allocations: 1.714 MB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009539/0.2003, allocations: 4.885 MB / 0.7347 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.2005, allocations: 3.938 kB / 0.7347 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.2021, allocations: 341.2 kB / 0.735 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.2024, allocations: 63.66 kB / 0.7351 GB, free: 9.91 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.004724/0.2071, allocations: 1.581 MB / 0.7366 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.2074, allocations: 155.4 kB / 0.7368 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.625e-05/0.2075, allocations: 13.73 kB / 0.7368 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.2076, allocations: 63.72 kB / 0.7368 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.208, allocations: 171.4 kB / 0.737 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.2081, allocations: 12 kB / 0.737 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004727/0.2128, allocations: 2.394 MB / 0.7393 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002923/0.2131, allocations: 279.8 kB / 0.7396 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.2134, allocations: 238.8 kB / 0.7398 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005096/0.2185, allocations: 2.216 MB / 0.742 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2185, allocations: 0 / 0.742 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2185, allocations: 0 / 0.742 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.632e-05/0.2185, allocations: 3.938 kB / 0.742 GB, free: 2.781 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.01064/0.2292, allocations: 1.331 MB / 0.7433 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.2292, allocations: 12.03 kB / 0.7433 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.2293, allocations: 34.73 kB / 0.7434 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004546/0.2297, allocations: 112.1 kB / 0.7435 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000861/0.2306, allocations: 348.5 kB / 0.7438 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2306, allocations: 8.125 kB / 0.7438 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.2306, allocations: 8 kB / 0.7438 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.2312, allocations: 387.2 kB / 0.7442 GB, free: 480 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2312, allocations: 4 kB / 0.7442 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2312, allocations: 4 kB / 0.7442 GB, free: 472 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2312, allocations: 3.938 kB / 0.7442 GB, free: 468 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.2317, allocations: 435.7 kB / 0.7446 GB, free: 32 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.2325, allocations: 0.6221 MB / 0.7452 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.2331, allocations: 0.5672 MB / 0.7458 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.2335, allocations: 329.6 kB / 0.7461 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006465/0.2341, allocations: 139.9 kB / 0.7462 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004921/0.2346, allocations: 400.9 kB / 0.7466 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 2.495e-06/0.2346, allocations: 3.938 kB / 0.7466 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001717/0.2363, allocations: 1.301 MB / 0.7479 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.2364, allocations: 89.03 kB / 0.748 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.238, allocations: 1.294 MB / 0.7492 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.238, allocations: 25.7 kB / 0.7492 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.2383, allocations: 289.9 kB / 0.7495 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.2383, allocations: 23.84 kB / 0.7495 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.2387, allocations: 351.6 kB / 0.7499 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2389, allocations: 325.9 kB / 0.7502 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.2405, allocations: 1.369 MB / 0.7515 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.2422, allocations: 1.513 MB / 0.753 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00822/0.2504, allocations: 3.56 MB / 0.7565 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.2504, allocations: 0 / 0.7565 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.336/0.5864, allocations: 4.009 MB / 0.7604 GB, free: 33.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.5864, allocations: 6.438 kB / 0.7604 GB, free: 33.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-05/0.5865, allocations: 2.594 kB / 0.7604 GB, free: 33.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.5865, allocations: 3.469 kB / 0.7604 GB, free: 33.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.5867, allocations: 19.58 kB / 0.7604 GB, free: 33.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.5867, allocations: 1.547 kB / 0.7604 GB, free: 33.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.5872, allocations: 239.8 kB / 0.7607 GB, free: 33.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.5873, allocations: 25.19 kB / 0.7607 GB, free: 33.53 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.0003337/0.5876, allocations: 251.5 kB / 0.7609 GB, free: 33.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.5877, allocations: 76.86 kB / 0.761 GB, free: 33.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009913/0.5887, allocations: 0.9535 MB / 0.7619 GB, free: 33.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5887, allocations: 2.156 kB / 0.7619 GB, free: 33.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5887, allocations: 0 / 0.7619 GB, free: 33.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5887, allocations: 2.938 kB / 0.7619 GB, free: 33.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.589, allocations: 493 kB / 0.7624 GB, free: 33.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.589, allocations: 0 / 0.7624 GB, free: 33.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.5891, allocations: 7.531 kB / 0.7624 GB, free: 33.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.5891, allocations: 2.531 kB / 0.7624 GB, free: 33.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.5891, allocations: 8.25 kB / 0.7624 GB, free: 33.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5891, allocations: 0.7812 kB / 0.7624 GB, free: 33.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.5891, allocations: 1.5 kB / 0.7624 GB, free: 33.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.5901, allocations: 1.013 MB / 0.7634 GB, free: 33.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.5901, allocations: 93.94 kB / 0.7635 GB, free: 32.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.5902, allocations: 3.688 kB / 0.7635 GB, free: 32.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.5903, allocations: 4.656 kB / 0.7635 GB, free: 32.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.5904, allocations: 10.59 kB / 0.7635 GB, free: 32.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.5904, allocations: 16.5 kB / 0.7635 GB, free: 32.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000686/0.5911, allocations: 0.7248 MB / 0.7642 GB, free: 32.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5911, allocations: 0 / 0.7642 GB, free: 32.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001404/0.5925, allocations: 0.5925 MB / 0.7648 GB, free: 32.81 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.00331/0.5958, allocations: 2.164 MB / 0.7669 GB, free: 32.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.5982, allocations: 1.997 MB / 0.7689 GB, free: 32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5982, allocations: 3.281 kB / 0.7689 GB, free: 32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004851/0.5987, allocations: 333.7 kB / 0.7692 GB, free: 32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.5992, allocations: 59.25 kB / 0.7693 GB, free: 32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.6163, allocations: 15.3 MB / 0.7842 GB, free: 27.17 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.6168, allocations: 391.7 kB / 0.7846 GB, free: 27.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002676/0.6171, allocations: 50.59 kB / 0.7846 GB, free: 27.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.6174, allocations: 290.1 kB / 0.7849 GB, free: 26.84 MB / 0.5762 GB Notification: Performance of SimCode: time 1.372e-06/0.6174, allocations: 0 / 0.7849 GB, free: 26.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06313/0.6805, allocations: 25.52 MB / 0.8098 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.55, allocations: 13.27 kB / 0.8098 GB, free: 11.15 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv --start-time 0 --stop-time 1.8e+12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.2e+08 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 sys.exit(0), Time elapsed: 18.06224379176274] Failed to read output from testmodel.py, exit status != 0: 13.670935642905533 13.681528076 13.459840831 Calling exit ...