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.001174/0.001174, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0009075/0.0009075, allocations: 169.9 kB / 23.2 MB, free: 1.359 MB / 18.57 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 0.8936/0.8936, allocations: 177.2 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.5479/0.5479, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5543 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.339e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002312/0.002335, allocations: 1.723 MB / 0.556 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006188/0.008523, allocations: 4.895 MB / 0.5607 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.008633, allocations: 0 / 0.5607 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.009706, allocations: 342.3 kB / 0.5611 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.659e-05/0.009793, allocations: 71.55 kB / 0.5611 GB, free: 11.63 MB / 0.5261 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.002883/0.01268, allocations: 1.602 MB / 0.5627 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.01289, allocations: 167.3 kB / 0.5629 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.01293, allocations: 5.812 kB / 0.5629 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.65e-05/0.01302, allocations: 83.78 kB / 0.5629 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.01318, allocations: 151.6 kB / 0.5631 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.0132, allocations: 16 kB / 0.5631 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.01573, allocations: 2.398 MB / 0.5654 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.0159, allocations: 287.8 kB / 0.5657 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.01602, allocations: 160 kB / 0.5659 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.01863, allocations: 2.521 MB / 0.5683 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.01864, allocations: 0 / 0.5683 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.978e-06/0.01864, allocations: 0 / 0.5683 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.01866, allocations: 0 / 0.5683 GB, free: 4.246 MB / 0.5261 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.004301/0.02296, allocations: 1.338 MB / 0.5696 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.023, allocations: 12.03 kB / 0.5697 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.02303, allocations: 34.75 kB / 0.5697 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.02327, allocations: 104.2 kB / 0.5698 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.02365, allocations: 355.7 kB / 0.5701 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.02366, allocations: 4.375 kB / 0.5701 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.02368, allocations: 8.359 kB / 0.5701 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.02403, allocations: 395.1 kB / 0.5705 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.02403, allocations: 0 / 0.5705 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.02405, allocations: 4 kB / 0.5705 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.02405, allocations: 0 / 0.5705 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.02435, allocations: 439.7 kB / 0.5709 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.02479, allocations: 0.6182 MB / 0.5715 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.02518, allocations: 0.5594 MB / 0.5721 GB, free: 256 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.0254, allocations: 333.7 kB / 0.5724 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/0.02578, allocations: 143.8 kB / 0.5725 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.02605, allocations: 400.9 kB / 0.5729 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.02606, allocations: 0 / 0.5729 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0009625/0.02702, allocations: 1.309 MB / 0.5742 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.02706, allocations: 81.11 kB / 0.5743 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.02786, allocations: 1.298 MB / 0.5756 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.02788, allocations: 25.7 kB / 0.5756 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.02803, allocations: 289.9 kB / 0.5759 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.02806, allocations: 27.78 kB / 0.5759 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.02827, allocations: 339.6 kB / 0.5762 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.02835, allocations: 318 kB / 0.5765 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007834/0.02913, allocations: 1.373 MB / 0.5778 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/0.02999, allocations: 1.507 MB / 0.5793 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004494/0.03448, allocations: 3.557 MB / 0.5828 GB, free: 5.105 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.03449, allocations: 0 / 0.5828 GB, free: 5.105 MB / 0.5417 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002873/0.03736, allocations: 4.019 MB / 0.5867 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.03738, allocations: 8 kB / 0.5867 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.03739, allocations: 7.969 kB / 0.5867 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.03742, allocations: 4 kB / 0.5867 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.03757, allocations: 19.92 kB / 0.5868 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.03757, allocations: 320 / 0.5868 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.03782, allocations: 237.4 kB / 0.587 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.03786, allocations: 27.97 kB / 0.587 GB, free: 0.75 MB / 0.5417 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.0002245/0.03808, allocations: 249.6 kB / 0.5872 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.03813, allocations: 83.19 kB / 0.5873 GB, free: 424 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.03883, allocations: 0.9485 MB / 0.5883 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.03884, allocations: 4 kB / 0.5883 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.03884, allocations: 0 / 0.5883 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.03885, allocations: 0 / 0.5883 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.0392, allocations: 493.5 kB / 0.5887 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.0392, allocations: 3.938 kB / 0.5887 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.03925, allocations: 11.98 kB / 0.5887 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.03926, allocations: 4 kB / 0.5887 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.03927, allocations: 4.031 kB / 0.5887 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.03927, allocations: 0 / 0.5887 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.03927, allocations: 4 kB / 0.5888 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.03999, allocations: 1.014 MB / 0.5897 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.0401, allocations: 87.23 kB / 0.5898 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.04015, allocations: 4 kB / 0.5898 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.04022, allocations: 3.984 kB / 0.5898 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.04028, allocations: 8 kB / 0.5898 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/0.04035, allocations: 19.97 kB / 0.5899 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005606/0.04091, allocations: 0.7222 MB / 0.5906 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.04091, allocations: 0 / 0.5906 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00118/0.04209, allocations: 0.5884 MB / 0.5911 GB, free: 12.43 MB / 0.5573 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.003235/0.04532, allocations: 2.257 MB / 0.5933 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.04672, allocations: 2.001 MB / 0.5953 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.04673, allocations: 0 / 0.5953 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.04696, allocations: 328 kB / 0.5956 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.04733, allocations: 68.78 kB / 0.5957 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.05939, allocations: 15.45 MB / 0.6108 GB, free: 8.129 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.05964, allocations: 397.8 kB / 0.6111 GB, free: 7.719 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.05976, allocations: 41.45 kB / 0.6112 GB, free: 7.68 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.06001, allocations: 292.4 kB / 0.6115 GB, free: 7.395 MB / 0.573 GB Notification: Performance of SimCode: time 1.553e-06/0.06001, allocations: 0 / 0.6115 GB, free: 7.395 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04848/0.1085, allocations: 25.67 MB / 0.6365 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.013, allocations: 6.172 kB / 0.6365 GB, free: 14.01 MB / 0.6042 GB " [Timeout remaining time 652] (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: 11.074984453618526] Failed to read output from testmodel.py, exit status != 0: 8.115996581502259 8.12459006 8.104313902 Calling exit ...