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.001525/0.001525, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.00142/0.00142, allocations: 216.7 kB / 23.78 MB, free: 4.523 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.359/1.359, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.9098/0.9098, allocations: 150 MB / 464 MB, free: 10.2 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.001909/0.001909, allocations: 70.02 kB / 0.642 GB, free: 9.816 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1577, allocations: 89.18 MB / 0.7291 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003368/0.1611, allocations: 1.71 MB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008169/0.1692, allocations: 4.872 MB / 0.7355 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.1694, allocations: 11.88 kB / 0.7356 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.1707, allocations: 338.5 kB / 0.7359 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.1709, allocations: 63.66 kB / 0.7359 GB, free: 9.695 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.004282/0.1752, allocations: 1.597 MB / 0.7375 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.1755, allocations: 163.3 kB / 0.7377 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.744e-05/0.1755, allocations: 13.73 kB / 0.7377 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.667e-05/0.1756, allocations: 63.77 kB / 0.7377 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.1759, allocations: 171.4 kB / 0.7379 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.1759, allocations: 16 kB / 0.7379 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004222/0.1801, allocations: 2.539 MB / 0.7404 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.1804, allocations: 275.8 kB / 0.7407 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.1807, allocations: 246.7 kB / 0.7409 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00362/0.1843, allocations: 2.22 MB / 0.7431 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1843, allocations: 0 / 0.7431 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1843, allocations: 4 kB / 0.7431 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.1843, allocations: 0 / 0.7431 GB, free: 2.387 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.008792/0.1931, allocations: 1.331 MB / 0.7444 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1932, allocations: 12.03 kB / 0.7444 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.543e-05/0.1932, allocations: 4.188 kB / 0.7444 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.1932, allocations: 34.75 kB / 0.7444 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/0.1936, allocations: 112.1 kB / 0.7445 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.1942, allocations: 344.5 kB / 0.7448 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1942, allocations: 7.938 kB / 0.7449 GB, free: 484 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.1942, allocations: 8 kB / 0.7449 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.1947, allocations: 391.1 kB / 0.7452 GB, free: 72 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1947, allocations: 0 / 0.7452 GB, free: 72 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1948, allocations: 4 kB / 0.7452 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1948, allocations: 4 kB / 0.7452 GB, free: 64 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.1952, allocations: 431.7 kB / 0.7457 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/0.1959, allocations: 0.626 MB / 0.7463 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.1965, allocations: 0.5595 MB / 0.7468 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.1968, allocations: 337.5 kB / 0.7471 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006434/0.1975, allocations: 139.9 kB / 0.7473 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000455/0.1979, allocations: 408.8 kB / 0.7477 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.1979, allocations: 0 / 0.7477 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001491/0.1994, allocations: 1.301 MB / 0.7489 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.1995, allocations: 81.11 kB / 0.749 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.2009, allocations: 1.298 MB / 0.7503 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.2009, allocations: 29.7 kB / 0.7503 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.2012, allocations: 297.9 kB / 0.7506 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.2012, allocations: 19.86 kB / 0.7506 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003827/0.2016, allocations: 351.6 kB / 0.7509 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2018, allocations: 321.9 kB / 0.7512 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.2032, allocations: 1.373 MB / 0.7526 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.2047, allocations: 1.509 MB / 0.7541 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007308/0.212, allocations: 3.56 MB / 0.7575 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.212, allocations: 4 kB / 0.7575 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3026/0.5147, allocations: 4.007 MB / 0.7615 GB, free: 33.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5147, allocations: 6.75 kB / 0.7615 GB, free: 33.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.5147, allocations: 3.188 kB / 0.7615 GB, free: 33.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5147, allocations: 0 / 0.7615 GB, free: 33.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.5149, allocations: 18.83 kB / 0.7615 GB, free: 33.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5149, allocations: 2.953 kB / 0.7615 GB, free: 33.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.5153, allocations: 239.6 kB / 0.7617 GB, free: 33.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.5154, allocations: 24.77 kB / 0.7617 GB, free: 33.47 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.0002664/0.5156, allocations: 254.5 kB / 0.762 GB, free: 33.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.5157, allocations: 76.36 kB / 0.762 GB, free: 33.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008374/0.5165, allocations: 0.9524 MB / 0.763 GB, free: 33.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5165, allocations: 0 / 0.763 GB, free: 33.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5165, allocations: 0 / 0.763 GB, free: 33.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5165, allocations: 5.062 kB / 0.763 GB, free: 33.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.5169, allocations: 492.8 kB / 0.7635 GB, free: 33.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5169, allocations: 6.469 kB / 0.7635 GB, free: 33.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.5169, allocations: 9.281 kB / 0.7635 GB, free: 33.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5169, allocations: 0 / 0.7635 GB, free: 33.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.517, allocations: 8.141 kB / 0.7635 GB, free: 33.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.517, allocations: 1.547 kB / 0.7635 GB, free: 33.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.517, allocations: 3.156 kB / 0.7635 GB, free: 33.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000669/0.5176, allocations: 1.017 MB / 0.7645 GB, free: 32.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.5177, allocations: 89.3 kB / 0.7646 GB, free: 32.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.5178, allocations: 0 / 0.7646 GB, free: 32.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.5179, allocations: 5.016 kB / 0.7646 GB, free: 32.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.518, allocations: 13.19 kB / 0.7646 GB, free: 32.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.518, allocations: 14.27 kB / 0.7646 GB, free: 32.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006149/0.5186, allocations: 0.7227 MB / 0.7653 GB, free: 32.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5186, allocations: 0.7656 kB / 0.7653 GB, free: 32.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001255/0.5199, allocations: 0.5937 MB / 0.7659 GB, free: 32.75 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.00286/0.5227, allocations: 2.167 MB / 0.768 GB, free: 32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.5248, allocations: 1.994 MB / 0.7699 GB, free: 31.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5248, allocations: 0 / 0.7699 GB, free: 31.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.5252, allocations: 338.1 kB / 0.7703 GB, free: 31.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.5256, allocations: 60.41 kB / 0.7703 GB, free: 31.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.5406, allocations: 15.3 MB / 0.7853 GB, free: 27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.541, allocations: 393 kB / 0.7856 GB, free: 26.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.5412, allocations: 50.81 kB / 0.7857 GB, free: 26.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.5415, allocations: 287.3 kB / 0.786 GB, free: 26.67 MB / 0.5762 GB Notification: Performance of SimCode: time 1.272e-06/0.5415, allocations: 1.656 kB / 0.786 GB, free: 26.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04926/0.5908, allocations: 25.24 MB / 0.8106 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.83, allocations: 14.06 kB / 0.8106 GB, free: 11.2 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.980603375006467] Failed to read output from testmodel.py, exit status != 0: 14.001064605079591 14.012802687 13.825268142 Calling exit ...