Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001569/0.001569, allocations: 120 kB / 17.17 MB, free: 5.977 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.001742/0.001742, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.417/1.417, 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/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.612/2.612, allocations: 476.7 MB / 0.7678 GB, free: 9.414 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001964/0.001964, allocations: 79.88 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.8184, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003037/0.8214, allocations: 1.789 MB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008165/0.8296, allocations: 5.458 MB / 1.286 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.8297, allocations: 5.25 kB / 1.286 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.831, allocations: 366.5 kB / 1.286 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.8312, allocations: 62.59 kB / 1.287 GB, free: 6.598 MB / 0.9981 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004489/0.8357, allocations: 1.497 MB / 1.288 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000319/0.836, allocations: 166.1 kB / 1.288 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.836, allocations: 6.578 kB / 1.288 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.06e-05/0.8361, allocations: 62.53 kB / 1.288 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.8363, allocations: 177.5 kB / 1.288 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.8364, allocations: 15.41 kB / 1.288 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004263/0.8406, allocations: 2.322 MB / 1.291 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002915/0.8409, allocations: 286.4 kB / 1.291 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.8413, allocations: 308.9 kB / 1.291 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004498/0.8458, allocations: 2.195 MB / 1.293 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8458, allocations: 5.094 kB / 1.293 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8458, allocations: 0.6562 kB / 1.293 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.8458, allocations: 0 / 1.293 GB, free: 4.242 MB / 0.9981 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.01132/0.8571, allocations: 1.412 MB / 1.295 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8571, allocations: 9.781 kB / 1.295 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.996e-05/0.8572, allocations: 2.328 kB / 1.295 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.8572, allocations: 32.48 kB / 1.295 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/0.8576, allocations: 110.6 kB / 1.295 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/0.8583, allocations: 403.7 kB / 1.295 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.8583, allocations: 4.547 kB / 1.295 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.8583, allocations: 9.859 kB / 1.295 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.8588, allocations: 392.1 kB / 1.296 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.8588, allocations: 5.312 kB / 1.296 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.8588, allocations: 0.7969 kB / 1.296 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.8588, allocations: 1.344 kB / 1.296 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.8593, allocations: 432 kB / 1.296 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.8602, allocations: 0.6719 MB / 1.297 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.8607, allocations: 0.5678 MB / 1.297 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.8611, allocations: 338.3 kB / 1.298 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.8622, allocations: 1.025 MB / 1.299 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004481/0.8626, allocations: 407.5 kB / 1.299 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.8626, allocations: 0 / 1.299 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001601/0.8642, allocations: 1.301 MB / 1.3 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.8643, allocations: 85.92 kB / 1.3 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.866, allocations: 1.298 MB / 1.302 GB, free: 300 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.8661, allocations: 31.89 kB / 1.302 GB, free: 264 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.8664, allocations: 286.5 kB / 1.302 GB, free: 40 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.8664, allocations: 24.67 kB / 1.302 GB, free: 20 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000449/0.8669, allocations: 351.2 kB / 1.302 GB, free: 15.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.867, allocations: 321.2 kB / 1.303 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.8685, allocations: 1.374 MB / 1.304 GB, free: 15.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.8701, allocations: 1.502 MB / 1.305 GB, free: 14.62 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007465/0.8776, allocations: 3.558 MB / 1.309 GB, free: 12.78 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.8776, allocations: 0 / 1.309 GB, free: 12.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004907/0.8825, allocations: 4.022 MB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.8826, allocations: 6.844 kB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.8826, allocations: 7.406 kB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.8826, allocations: 1.375 kB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.8827, allocations: 19.16 kB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.8827, allocations: 5.047 kB / 1.313 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/0.8835, allocations: 237.7 kB / 1.313 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.8835, allocations: 27.45 kB / 1.313 GB, free: 10.59 MB / 1.014 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.000432/0.884, allocations: 250 kB / 1.313 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.429e-05/0.8841, allocations: 89.05 kB / 1.313 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.8844, allocations: 81.7 kB / 1.313 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.8844, allocations: 0.9062 kB / 1.313 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.8844, allocations: 4.688 kB / 1.313 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8844, allocations: 5.516 kB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.885, allocations: 0.5174 MB / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.885, allocations: 0 / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.8851, allocations: 8.031 kB / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8851, allocations: 1.031 kB / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.8851, allocations: 4.109 kB / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.8851, allocations: 4.969 kB / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8851, allocations: 0.75 kB / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.8861, allocations: 1.021 MB / 1.315 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.8863, allocations: 161.8 kB / 1.315 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.8863, allocations: 3.531 kB / 1.315 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.8865, allocations: 3.938 kB / 1.315 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.8865, allocations: 10.28 kB / 1.315 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.8866, allocations: 17.14 kB / 1.315 GB, free: 9.707 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000985/0.8876, allocations: 0.723 MB / 1.316 GB, free: 9.465 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.8876, allocations: 0 / 1.316 GB, free: 9.465 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002401/0.89, allocations: 0.5878 MB / 1.316 GB, free: 9.359 MB / 1.014 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.004094/0.8941, allocations: 2.168 MB / 1.319 GB, free: 8.492 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00249/0.8965, allocations: 2.001 MB / 1.321 GB, free: 7.941 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8965, allocations: 0 / 1.321 GB, free: 7.941 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.8969, allocations: 339 kB / 1.321 GB, free: 7.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.8975, allocations: 59.17 kB / 1.321 GB, free: 7.891 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.9147, allocations: 15.3 MB / 1.336 GB, free: 15.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/0.9153, allocations: 0.9855 MB / 1.337 GB, free: 15.03 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.9155, allocations: 50.48 kB / 1.337 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/0.9158, allocations: 292.8 kB / 1.337 GB, free: 14.73 MB / 1.029 GB Notification: Performance of SimCode: time 8.62e-07/0.9158, allocations: 0.9688 kB / 1.337 GB, free: 14.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05166/0.9675, allocations: 24.33 MB / 1.361 GB, free: 7.914 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/11.34, allocations: 11.78 kB / 1.361 GB, free: 7.906 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --stepSize=7.2e+08 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.109395987004973] Failed to read output from testmodel.py, exit status != 0: 11.475405185017735 11.489528684 10.640846213 Calling exit ...