Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 443.5 MB / 0.7287 GB, free: 13.19 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 63.91 kB / 1.056 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8425/0.8446, allocations: 160.7 MB / 1.213 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003894/0.8485, allocations: 1.77 MB / 1.215 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009502/0.858, allocations: 5.428 MB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.8582, allocations: 1.219 kB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.8596, allocations: 369.2 kB / 1.22 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.8598, allocations: 60.47 kB / 1.22 GB, free: 13.9 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 10.1.1-maint.10.0.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.004789/0.8646, allocations: 1.506 MB / 1.222 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.8649, allocations: 161.4 kB / 1.222 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.611e-05/0.865, allocations: 14.11 kB / 1.222 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.8651, allocations: 60.61 kB / 1.222 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/0.8657, allocations: 171 kB / 1.222 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/0.8658, allocations: 14.38 kB / 1.222 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006295/0.8721, allocations: 2.306 MB / 1.225 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.8725, allocations: 280.9 kB / 1.225 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004834/0.873, allocations: 311 kB / 1.225 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005272/0.8782, allocations: 2.19 MB / 1.227 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8782, allocations: 0 / 1.227 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8782, allocations: 0 / 1.227 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.629e-05/0.8783, allocations: 7.938 kB / 1.227 GB, free: 9.543 MB / 0.9356 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.009141/0.8874, allocations: 1.42 MB / 1.229 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.8874, allocations: 12.62 kB / 1.229 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.8875, allocations: 30.75 kB / 1.229 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.8879, allocations: 100.2 kB / 1.229 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007002/0.8886, allocations: 418.2 kB / 1.229 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.8886, allocations: 12.36 kB / 1.229 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.8887, allocations: 8.375 kB / 1.229 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.8892, allocations: 395.3 kB / 1.23 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.8892, allocations: 0 / 1.23 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.8892, allocations: 0 / 1.23 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.8892, allocations: 0 / 1.23 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.8898, allocations: 439.7 kB / 1.23 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.8906, allocations: 0.666 MB / 1.231 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/0.8912, allocations: 0.5555 MB / 1.231 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.8916, allocations: 341.7 kB / 1.232 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.8927, allocations: 1.028 MB / 1.233 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/0.8932, allocations: 404.8 kB / 1.233 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.8932, allocations: 0 / 1.233 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.001615/0.8948, allocations: 1.309 MB / 1.234 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.8949, allocations: 81.11 kB / 1.234 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.8963, allocations: 1.294 MB / 1.236 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.8964, allocations: 25.7 kB / 1.236 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.8966, allocations: 298 kB / 1.236 GB, free: 284 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.8967, allocations: 19.89 kB / 1.236 GB, free: 264 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/0.8971, allocations: 355.7 kB / 1.236 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002596/0.8974, allocations: 318 kB / 1.236 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.8989, allocations: 1.369 MB / 1.238 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.9005, allocations: 1.517 MB / 1.239 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007541/0.908, allocations: 3.56 MB / 1.243 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.908, allocations: 4 kB / 1.243 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005218/0.9132, allocations: 4.015 MB / 1.247 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.9133, allocations: 8 kB / 1.247 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.9133, allocations: 4.031 kB / 1.247 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.9133, allocations: 4 kB / 1.247 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.9136, allocations: 15.98 kB / 1.247 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.9136, allocations: 320 / 1.247 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.9141, allocations: 237.4 kB / 1.247 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.9142, allocations: 27.97 kB / 1.247 GB, free: 4.688 MB / 0.9512 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.000385/0.9146, allocations: 251.7 kB / 1.247 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.9147, allocations: 79.23 kB / 1.247 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.915, allocations: 79.81 kB / 1.247 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.915, allocations: 7.938 kB / 1.247 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.915, allocations: 0 / 1.247 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.915, allocations: 0 / 1.247 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.9156, allocations: 0.5179 MB / 1.248 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.9156, allocations: 3.938 kB / 1.248 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/0.9157, allocations: 15.92 kB / 1.248 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.9157, allocations: 8.031 kB / 1.248 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.9157, allocations: 0 / 1.248 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.9157, allocations: 4 kB / 1.248 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9157, allocations: 0 / 1.248 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.9168, allocations: 1.01 MB / 1.249 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.917, allocations: 176.2 kB / 1.249 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.917, allocations: 7.984 kB / 1.249 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.9172, allocations: 7.984 kB / 1.249 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.9172, allocations: 4 kB / 1.249 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.9173, allocations: 19.91 kB / 1.249 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009068/0.9182, allocations: 0.7183 MB / 1.25 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9182, allocations: 3.938 kB / 1.25 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001887/0.9201, allocations: 0.5962 MB / 1.25 GB, free: 1.082 MB / 0.9512 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.004149/0.9242, allocations: 2.154 MB / 1.253 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002434/0.9267, allocations: 1.997 MB / 1.254 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9267, allocations: 0 / 1.254 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.927, allocations: 335.8 kB / 1.255 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.9275, allocations: 57.2 kB / 1.255 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.9464, allocations: 15.3 MB / 1.27 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/0.9472, allocations: 0.984 MB / 1.271 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.9473, allocations: 41.42 kB / 1.271 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/0.9477, allocations: 287.3 kB / 1.271 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of SimCode: time 1.492e-06/0.9477, allocations: 0 / 1.271 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06533/1.013, allocations: 24.23 MB / 1.295 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.89, allocations: 5.969 kB / 1.295 GB, free: 3.715 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.796932199038565] Failed to read output from testmodel.py, exit status != 0: 11.97588655911386 11.996203448 11.113936465 Calling exit ...