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.001769/0.001769, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.002118/0.002118, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9725/0.9725, allocations: 150 MB / 459.5 MB, free: 5.703 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_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.001992/0.001992, allocations: 72.91 kB / 0.6362 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1631, allocations: 89.14 MB / 0.7232 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003049/0.1662, allocations: 1.772 MB / 0.725 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008118/0.1743, allocations: 5.448 MB / 0.7303 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1744, allocations: 0 / 0.7303 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.1756, allocations: 374.4 kB / 0.7306 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.1757, allocations: 59.67 kB / 0.7307 GB, free: 12.34 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.003842/0.1796, allocations: 1.522 MB / 0.7322 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1799, allocations: 162 kB / 0.7323 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.1799, allocations: 13.56 kB / 0.7324 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.18, allocations: 59.78 kB / 0.7324 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1802, allocations: 175.4 kB / 0.7326 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.1803, allocations: 12 kB / 0.7326 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.1838, allocations: 2.332 MB / 0.7349 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.1841, allocations: 279.8 kB / 0.7351 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.1843, allocations: 310.1 kB / 0.7354 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003157/0.1875, allocations: 2.204 MB / 0.7376 GB, free: 5.285 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1875, allocations: 0 / 0.7376 GB, free: 5.285 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1875, allocations: 4 kB / 0.7376 GB, free: 5.281 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.1875, allocations: 0 / 0.7376 GB, free: 5.281 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.01051/0.198, allocations: 1.406 MB / 0.739 GB, free: 3.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.1981, allocations: 12.03 kB / 0.739 GB, free: 3.809 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.1981, allocations: 34.75 kB / 0.739 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.1985, allocations: 108.1 kB / 0.7391 GB, free: 3.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/0.1991, allocations: 410.3 kB / 0.7395 GB, free: 3.211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1991, allocations: 4.125 kB / 0.7395 GB, free: 3.207 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.1992, allocations: 8 kB / 0.7395 GB, free: 3.199 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.1997, allocations: 395.1 kB / 0.7399 GB, free: 2.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1997, allocations: 0 / 0.7399 GB, free: 2.801 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1997, allocations: 4 kB / 0.7399 GB, free: 2.797 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1997, allocations: 0 / 0.7399 GB, free: 2.797 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.2002, allocations: 431.8 kB / 0.7403 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007058/0.2009, allocations: 0.6736 MB / 0.741 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.2014, allocations: 0.5671 MB / 0.7415 GB, free: 1.066 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.2018, allocations: 337.7 kB / 0.7418 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.2029, allocations: 1.025 MB / 0.7428 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004687/0.2034, allocations: 400.8 kB / 0.7432 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.2034, allocations: 0 / 0.7432 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001506/0.2049, allocations: 1.309 MB / 0.7445 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.205, allocations: 85.09 kB / 0.7446 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.2063, allocations: 1.298 MB / 0.7458 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.2064, allocations: 29.7 kB / 0.7459 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.2066, allocations: 285.9 kB / 0.7461 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.2067, allocations: 23.84 kB / 0.7462 GB, free: 12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003778/0.2071, allocations: 355.6 kB / 0.7465 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2072, allocations: 314 kB / 0.7468 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.2086, allocations: 1.377 MB / 0.7482 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.2101, allocations: 1.501 MB / 0.7496 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007478/0.2175, allocations: 3.56 MB / 0.7531 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.2175, allocations: 4 kB / 0.7531 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005016/0.2226, allocations: 4.023 MB / 0.757 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.2226, allocations: 4 kB / 0.757 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.2226, allocations: 4 kB / 0.757 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2226, allocations: 0 / 0.757 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.2227, allocations: 15.98 kB / 0.7571 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2228, allocations: 4 kB / 0.7571 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.2233, allocations: 237.4 kB / 0.7573 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.2234, allocations: 27.98 kB / 0.7573 GB, free: 456 kB / 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.0003561/0.2237, allocations: 257.5 kB / 0.7576 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.2238, allocations: 83.3 kB / 0.7576 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.2241, allocations: 79.8 kB / 0.7577 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2241, allocations: 0 / 0.7577 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2241, allocations: 8.031 kB / 0.7577 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2241, allocations: 0 / 0.7577 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.2247, allocations: 0.5179 MB / 0.7582 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2247, allocations: 0 / 0.7582 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.2248, allocations: 7.984 kB / 0.7582 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2248, allocations: 0 / 0.7582 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.2248, allocations: 4 kB / 0.7582 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2248, allocations: 0 / 0.7582 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2248, allocations: 3.938 kB / 0.7582 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.2259, allocations: 1.03 MB / 0.7592 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.2261, allocations: 160.4 kB / 0.7594 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.2261, allocations: 0 / 0.7594 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.2263, allocations: 7.984 kB / 0.7594 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.2263, allocations: 8 kB / 0.7594 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.2263, allocations: 19.97 kB / 0.7594 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008953/0.2272, allocations: 0.7183 MB / 0.7601 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2272, allocations: 0 / 0.7601 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001723/0.229, allocations: 0.5923 MB / 0.7607 GB, free: 12.85 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.003645/0.2326, allocations: 2.163 MB / 0.7628 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002318/0.2349, allocations: 1.993 MB / 0.7648 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2349, allocations: 0 / 0.7648 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.2353, allocations: 343.8 kB / 0.7651 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.2357, allocations: 63.23 kB / 0.7652 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/0.2532, allocations: 15.3 MB / 0.7801 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/0.2539, allocations: 0.9839 MB / 0.7811 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.2541, allocations: 49.69 kB / 0.7811 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.2545, allocations: 289.4 kB / 0.7814 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/0.2545, allocations: 0 / 0.7814 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06123/0.3157, allocations: 24.34 MB / 0.8052 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.89, allocations: 23.91 kB / 0.8052 GB, free: 15.3 MB / 0.6231 GB " [Timeout remaining time 649] (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 os._exit(0), Time elapsed: 14.96737648290582] Failed to read output from testmodel.py, exit status != 0: 10.979793941834942 11.001008404 10.810478647 Calling exit ...