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.001315/0.001315, allocations: 104.3 kB / 19.7 MB, free: 1.789 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.00159/0.00159, allocations: 210.2 kB / 22.99 MB, free: 4.617 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.523/1.523, allocations: 230.6 MB / 256.8 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.9979/0.9979, allocations: 149.9 MB / 463 MB, free: 10.33 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.002056/0.002056, allocations: 75.41 kB / 0.6412 GB, free: 10.05 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1891, allocations: 89.17 MB / 0.7282 GB, free: 0.957 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003015/0.1921, allocations: 1.716 MB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007765/0.1999, allocations: 4.892 MB / 0.7347 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.1999, allocations: 3.938 kB / 0.7347 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.2011, allocations: 342.5 kB / 0.735 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.2012, allocations: 59.67 kB / 0.7351 GB, free: 9.922 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.003605/0.2048, allocations: 1.578 MB / 0.7366 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.205, allocations: 163.3 kB / 0.7368 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.2051, allocations: 9.75 kB / 0.7368 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.677e-05/0.2052, allocations: 63.72 kB / 0.7368 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.2054, allocations: 163.5 kB / 0.737 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.2055, allocations: 19.94 kB / 0.737 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00356/0.209, allocations: 2.39 MB / 0.7393 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.2093, allocations: 279.8 kB / 0.7396 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.2095, allocations: 242.7 kB / 0.7398 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.212, allocations: 2.212 MB / 0.742 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.212, allocations: 7.938 kB / 0.742 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.212, allocations: 0 / 0.742 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.212, allocations: 0 / 0.742 GB, free: 2.793 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.009446/0.2215, allocations: 1.331 MB / 0.7433 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2215, allocations: 8.031 kB / 0.7433 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.2216, allocations: 34.75 kB / 0.7434 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.2219, allocations: 104.1 kB / 0.7435 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.2225, allocations: 352.5 kB / 0.7438 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2226, allocations: 8.125 kB / 0.7438 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.2226, allocations: 8 kB / 0.7438 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.2231, allocations: 387.2 kB / 0.7442 GB, free: 500 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2231, allocations: 3.938 kB / 0.7442 GB, free: 496 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.2231, allocations: 4 kB / 0.7442 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2231, allocations: 0 / 0.7442 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.2236, allocations: 435.7 kB / 0.7446 GB, free: 56 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.2242, allocations: 0.6221 MB / 0.7452 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.2248, allocations: 0.5672 MB / 0.7458 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.2252, allocations: 333.6 kB / 0.7461 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/0.2258, allocations: 135.9 kB / 0.7462 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004562/0.2262, allocations: 408.8 kB / 0.7466 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.2262, allocations: 3.938 kB / 0.7466 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001476/0.2277, allocations: 1.301 MB / 0.7479 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.2277, allocations: 81.05 kB / 0.7479 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.2291, allocations: 1.294 MB / 0.7492 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.2291, allocations: 33.77 kB / 0.7492 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.2294, allocations: 293.9 kB / 0.7495 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.2294, allocations: 23.84 kB / 0.7495 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.2298, allocations: 351.6 kB / 0.7499 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2299, allocations: 318 kB / 0.7502 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.2313, allocations: 1.373 MB / 0.7515 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.2329, allocations: 1.505 MB / 0.753 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007506/0.2404, allocations: 3.572 MB / 0.7565 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2404, allocations: 0 / 0.7565 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3482/0.5886, allocations: 4.005 MB / 0.7604 GB, free: 34.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.5886, allocations: 6.312 kB / 0.7604 GB, free: 34.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/0.5887, allocations: 4.25 kB / 0.7604 GB, free: 34.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.5887, allocations: 0 / 0.7604 GB, free: 34.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.5889, allocations: 19.05 kB / 0.7604 GB, free: 34.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.5889, allocations: 1.5 kB / 0.7604 GB, free: 34.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.5896, allocations: 238.6 kB / 0.7607 GB, free: 34.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.5896, allocations: 26.27 kB / 0.7607 GB, free: 34.07 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.0003245/0.59, allocations: 248.8 kB / 0.7609 GB, free: 33.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.59, allocations: 80.2 kB / 0.761 GB, free: 33.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.5912, allocations: 0.9488 MB / 0.7619 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5912, allocations: 0.5625 kB / 0.7619 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.5912, allocations: 2.969 kB / 0.7619 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5912, allocations: 2.859 kB / 0.7619 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.5916, allocations: 0.4886 MB / 0.7624 GB, free: 33.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5916, allocations: 2.625 kB / 0.7624 GB, free: 33.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.5917, allocations: 10.36 kB / 0.7624 GB, free: 33.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5917, allocations: 0.5938 kB / 0.7624 GB, free: 33.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.5917, allocations: 3.641 kB / 0.7624 GB, free: 33.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5917, allocations: 4.594 kB / 0.7624 GB, free: 33.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5917, allocations: 0 / 0.7624 GB, free: 33.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009047/0.5926, allocations: 1.01 MB / 0.7634 GB, free: 33.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.465e-05/0.5927, allocations: 94.17 kB / 0.7635 GB, free: 33.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.328e-05/0.5927, allocations: 4.906 kB / 0.7635 GB, free: 33.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.5929, allocations: 2.5 kB / 0.7635 GB, free: 33.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.5929, allocations: 12.7 kB / 0.7635 GB, free: 33.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.593, allocations: 14.08 kB / 0.7635 GB, free: 33.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007347/0.5937, allocations: 0.7255 MB / 0.7642 GB, free: 33.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5937, allocations: 0 / 0.7642 GB, free: 33.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001594/0.5953, allocations: 0.5936 MB / 0.7648 GB, free: 33.35 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.003384/0.5987, allocations: 2.162 MB / 0.7669 GB, free: 32.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002735/0.6014, allocations: 1.995 MB / 0.7689 GB, free: 32.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6014, allocations: 3.844 kB / 0.7689 GB, free: 32.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004834/0.6019, allocations: 340.6 kB / 0.7692 GB, free: 32.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.6023, allocations: 55.47 kB / 0.7693 GB, free: 32.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/0.6206, allocations: 15.29 MB / 0.7842 GB, free: 27.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.6213, allocations: 398.2 kB / 0.7846 GB, free: 27.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.6215, allocations: 43.09 kB / 0.7846 GB, free: 27.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.6218, allocations: 290.7 kB / 0.7849 GB, free: 27.05 MB / 0.5762 GB Notification: Performance of SimCode: time 1.503e-06/0.6218, allocations: 0 / 0.7849 GB, free: 27.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06532/0.6871, allocations: 25.53 MB / 0.8098 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.93, allocations: 1.312 kB / 0.8098 GB, free: 11.34 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 sys.exit(0), Time elapsed: 18.57671343581751] Failed to read output from testmodel.py, exit status != 0: 14.060388959944248 14.078345765 13.861910918 Calling exit ...