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_1borehole_5meters.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.001732/0.001732, allocations: 118.5 kB / 17.13 MB, free: 5.941 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.002/0.002, allocations: 212.3 kB / 20.09 MB, free: 2.992 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.063/1.063, allocations: 150 MB / 459.5 MB, free: 5.324 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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.002178/0.002178, allocations: 70.31 kB / 0.6362 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1997, allocations: 89.14 MB / 0.7232 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003026/0.2028, allocations: 1.431 MB / 0.7246 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007043/0.2098, allocations: 4.244 MB / 0.7288 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.21, allocations: 0 / 0.7288 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.2101, allocations: 15.86 kB / 0.7288 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.2103, allocations: 35.77 kB / 0.7288 GB, free: 14.27 MB / 0.545 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.004007/0.2143, allocations: 1.518 MB / 0.7303 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.2145, allocations: 95.73 kB / 0.7304 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.2146, allocations: 4 kB / 0.7304 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.2146, allocations: 43.84 kB / 0.7305 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.2149, allocations: 151.6 kB / 0.7306 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.2149, allocations: 16 kB / 0.7306 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003839/0.2188, allocations: 2.34 MB / 0.7329 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.219, allocations: 267.8 kB / 0.7332 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.2192, allocations: 282.3 kB / 0.7334 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.2222, allocations: 2.13 MB / 0.7355 GB, free: 7.422 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2222, allocations: 0 / 0.7355 GB, free: 7.422 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2222, allocations: 0 / 0.7355 GB, free: 7.422 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.2223, allocations: 0 / 0.7355 GB, free: 7.422 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.01062/0.2329, allocations: 1.359 MB / 0.7368 GB, free: 6.008 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2329, allocations: 8.031 kB / 0.7368 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.233, allocations: 30.75 kB / 0.7369 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/0.2334, allocations: 96.25 kB / 0.737 GB, free: 5.867 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.2338, allocations: 365 kB / 0.7373 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2338, allocations: 8.125 kB / 0.7373 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.2338, allocations: 8 kB / 0.7373 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.2344, allocations: 383.2 kB / 0.7377 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2344, allocations: 0 / 0.7377 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2344, allocations: 3.984 kB / 0.7377 GB, free: 5.055 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2344, allocations: 7.938 kB / 0.7377 GB, free: 5.047 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.2349, allocations: 435.8 kB / 0.7381 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.2355, allocations: 0.6449 MB / 0.7387 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.2361, allocations: 0.5633 MB / 0.7393 GB, free: 3.344 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.2364, allocations: 337.6 kB / 0.7396 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.2376, allocations: 1.025 MB / 0.7406 GB, free: 1.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004315/0.238, allocations: 400.9 kB / 0.741 GB, free: 1.352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.963e-06/0.238, allocations: 3.938 kB / 0.741 GB, free: 1.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001516/0.2395, allocations: 1.293 MB / 0.7423 GB, free: 48 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.769e-05/0.2396, allocations: 85.05 kB / 0.7423 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.2408, allocations: 1.227 MB / 0.7435 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.2409, allocations: 29.69 kB / 0.7436 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.2411, allocations: 261.9 kB / 0.7438 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.2411, allocations: 23.83 kB / 0.7438 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/0.2415, allocations: 355.6 kB / 0.7442 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2416, allocations: 306 kB / 0.7445 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.243, allocations: 1.373 MB / 0.7458 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.2445, allocations: 1.509 MB / 0.7473 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007536/0.2521, allocations: 3.564 MB / 0.7508 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2521, allocations: 0 / 0.7508 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004962/0.257, allocations: 4.007 MB / 0.7547 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.257, allocations: 7.938 kB / 0.7547 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.2571, allocations: 7.984 kB / 0.7547 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2571, allocations: 0 / 0.7547 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.2572, allocations: 15.94 kB / 0.7547 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.2572, allocations: 4 kB / 0.7547 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.2578, allocations: 245.3 kB / 0.755 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.2578, allocations: 23.98 kB / 0.755 GB, free: 2.832 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.0005711/0.2584, allocations: 242.3 kB / 0.7552 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/0.2585, allocations: 71.34 kB / 0.7553 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.2588, allocations: 79 kB / 0.7553 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2588, allocations: 0 / 0.7553 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2588, allocations: 0 / 0.7553 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2588, allocations: 0 / 0.7553 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.2593, allocations: 0.4969 MB / 0.7558 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2593, allocations: 0 / 0.7558 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.153e-05/0.2594, allocations: 12.02 kB / 0.7558 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2594, allocations: 0 / 0.7558 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2594, allocations: 4 kB / 0.7558 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2594, allocations: 0 / 0.7558 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2594, allocations: 0 / 0.7558 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.2604, allocations: 1.014 MB / 0.7568 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.2606, allocations: 156.4 kB / 0.757 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/0.2607, allocations: 8 kB / 0.757 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.2608, allocations: 7.984 kB / 0.757 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.2608, allocations: 0 / 0.757 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.2609, allocations: 19.95 kB / 0.757 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008067/0.2617, allocations: 0.669 MB / 0.7577 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2617, allocations: 0 / 0.7577 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001673/0.2633, allocations: 0.5961 MB / 0.7583 GB, free: 15.36 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.004206/0.2676, allocations: 2.152 MB / 0.7604 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002324/0.2699, allocations: 1.998 MB / 0.7623 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2699, allocations: 0 / 0.7623 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.2702, allocations: 335.8 kB / 0.7626 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.2706, allocations: 40.73 kB / 0.7627 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.2883, allocations: 15.28 MB / 0.7776 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/0.2889, allocations: 0.964 MB / 0.7785 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.2891, allocations: 36.53 kB / 0.7786 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.2894, allocations: 263.3 kB / 0.7788 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of SimCode: time 1.243e-06/0.2894, allocations: 0 / 0.7788 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06412/0.3536, allocations: 24.09 MB / 0.8023 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.86, allocations: 21.2 kB / 0.8024 GB, free: 2.16 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.057526357937604] Failed to read output from testmodel.py, exit status != 0: 10.95061526214704 10.974408561 10.747338118 Calling exit ...