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.001763/0.001763, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002168/0.002168, allocations: 220 kB / 23 MB, free: 5.004 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.9293/0.9293, allocations: 150 MB / 463.2 MB, free: 10.9 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.001995/0.001995, allocations: 66.47 kB / 0.6413 GB, free: 10.56 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1846, allocations: 89.17 MB / 0.7284 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003365/0.1879, allocations: 1.785 MB / 0.7302 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009531/0.1975, allocations: 5.475 MB / 0.7355 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.1977, allocations: 11.94 kB / 0.7355 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.1992, allocations: 370.4 kB / 0.7359 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.1993, allocations: 59.67 kB / 0.7359 GB, free: 9.727 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.004645/0.204, allocations: 1.615 MB / 0.7375 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000394/0.2044, allocations: 167.3 kB / 0.7377 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.2044, allocations: 5.75 kB / 0.7377 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2045, allocations: 71.7 kB / 0.7377 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.2048, allocations: 171.5 kB / 0.7379 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.2048, allocations: 12 kB / 0.7379 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/0.2093, allocations: 2.644 MB / 0.7405 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.2096, allocations: 275.8 kB / 0.7408 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.21, allocations: 314.1 kB / 0.7411 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.2137, allocations: 2.23 MB / 0.7432 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2137, allocations: 0 / 0.7432 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2137, allocations: 0 / 0.7432 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.2137, allocations: 0 / 0.7432 GB, free: 2.223 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.009167/0.2229, allocations: 1.34 MB / 0.7446 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.223, allocations: 11.97 kB / 0.7446 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/0.223, allocations: 38.75 kB / 0.7446 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.2235, allocations: 104.2 kB / 0.7447 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/0.2242, allocations: 352.4 kB / 0.745 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.2242, allocations: 12.12 kB / 0.745 GB, free: 304 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.2243, allocations: 4 kB / 0.7451 GB, free: 300 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.2248, allocations: 387.2 kB / 0.7454 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2248, allocations: 4 kB / 0.7454 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2248, allocations: 0 / 0.7454 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2248, allocations: 0 / 0.7454 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004693/0.2253, allocations: 435.7 kB / 0.7458 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.226, allocations: 0.6416 MB / 0.7465 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.2266, allocations: 0.5633 MB / 0.747 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.2269, allocations: 337.6 kB / 0.7473 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006548/0.2276, allocations: 135.8 kB / 0.7475 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.228, allocations: 400.9 kB / 0.7479 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.228, allocations: 0 / 0.7479 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001458/0.2295, allocations: 1.297 MB / 0.7491 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.2296, allocations: 89.22 kB / 0.7492 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.2309, allocations: 1.298 MB / 0.7505 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.231, allocations: 29.7 kB / 0.7505 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.2312, allocations: 293.8 kB / 0.7508 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.2313, allocations: 23.84 kB / 0.7508 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.2316, allocations: 351.6 kB / 0.7511 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2318, allocations: 325.9 kB / 0.7514 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.2331, allocations: 1.377 MB / 0.7528 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.2345, allocations: 1.501 MB / 0.7543 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007232/0.2418, allocations: 3.56 MB / 0.7577 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.2418, allocations: 0 / 0.7577 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3378/0.5795, allocations: 4.014 MB / 0.7617 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.5796, allocations: 5.844 kB / 0.7617 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.5796, allocations: 3.109 kB / 0.7617 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.5796, allocations: 1.062 kB / 0.7617 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.5798, allocations: 19.58 kB / 0.7617 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5798, allocations: 0.75 kB / 0.7617 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.5802, allocations: 242.8 kB / 0.7619 GB, free: 33.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.5803, allocations: 25.09 kB / 0.7619 GB, free: 33.63 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.0002729/0.5806, allocations: 250.7 kB / 0.7622 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.5806, allocations: 81.2 kB / 0.7623 GB, free: 33.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008949/0.5815, allocations: 0.9435 MB / 0.7632 GB, free: 33.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5815, allocations: 3.094 kB / 0.7632 GB, free: 33.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5815, allocations: 1.75 kB / 0.7632 GB, free: 33.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5815, allocations: 2.672 kB / 0.7632 GB, free: 33.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.5819, allocations: 0.4948 MB / 0.7637 GB, free: 33.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5819, allocations: 2.656 kB / 0.7637 GB, free: 33.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.5819, allocations: 10.95 kB / 0.7637 GB, free: 33.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5819, allocations: 4.531 kB / 0.7637 GB, free: 33.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.582, allocations: 0.75 kB / 0.7637 GB, free: 33.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.582, allocations: 5.422 kB / 0.7637 GB, free: 33.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.582, allocations: 0 / 0.7637 GB, free: 33.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/0.5827, allocations: 1.01 MB / 0.7647 GB, free: 33.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.5828, allocations: 94.55 kB / 0.7648 GB, free: 33.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.5828, allocations: 2.406 kB / 0.7648 GB, free: 33.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.583, allocations: 11.22 kB / 0.7648 GB, free: 33.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.583, allocations: 4.984 kB / 0.7648 GB, free: 33.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.583, allocations: 15.53 kB / 0.7648 GB, free: 33.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006484/0.5837, allocations: 0.7226 MB / 0.7655 GB, free: 32.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5837, allocations: 0 / 0.7655 GB, free: 32.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001294/0.585, allocations: 0.5961 MB / 0.7661 GB, free: 32.92 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.003113/0.5881, allocations: 2.161 MB / 0.7682 GB, free: 32.17 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002642/0.5907, allocations: 1.998 MB / 0.7702 GB, free: 32.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5907, allocations: 0 / 0.7702 GB, free: 32.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.5912, allocations: 337.8 kB / 0.7705 GB, free: 32.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.5916, allocations: 64.91 kB / 0.7705 GB, free: 32.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.6084, allocations: 15.3 MB / 0.7855 GB, free: 26.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.6088, allocations: 0.9845 MB / 0.7864 GB, free: 26.28 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.609, allocations: 41.77 kB / 0.7865 GB, free: 26.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.6093, allocations: 289.5 kB / 0.7868 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of SimCode: time 8.41e-07/0.6093, allocations: 3.094 kB / 0.7868 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05774/0.667, allocations: 24.45 MB / 0.8106 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.97, allocations: 1.859 kB / 0.8106 GB, free: 11.38 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.291204912999092] Failed to read output from testmodel.py, exit status != 0: 14.087727082001948 14.103341769 13.885338911 Calling exit ...