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.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.001595/0.001595, allocations: 102.5 kB / 16.45 MB, free: 6.445 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.00167/0.00167, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.547/1.547, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.937/2.937, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00225/0.00225, allocations: 63.89 kB / 1.104 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9626/0.9649, allocations: 168.7 MB / 1.269 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003288/0.9682, allocations: 1.775 MB / 1.271 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007526/0.9757, allocations: 5.42 MB / 1.276 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.9758, allocations: 2 kB / 1.276 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.9771, allocations: 369.3 kB / 1.276 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.9773, allocations: 65.19 kB / 1.276 GB, free: 2.629 MB / 0.9981 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 11.1.0-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.004464/0.9817, allocations: 1.503 MB / 1.278 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.982, allocations: 161.2 kB / 1.278 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.548e-05/0.9821, allocations: 11.61 kB / 1.278 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.86e-05/0.9822, allocations: 56.67 kB / 1.278 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.9824, allocations: 168.8 kB / 1.278 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.9825, allocations: 15.41 kB / 1.278 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004468/0.9869, allocations: 2.317 MB / 1.28 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.9872, allocations: 276.9 kB / 1.281 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.9874, allocations: 310.7 kB / 1.281 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004083/0.9915, allocations: 2.185 MB / 1.283 GB, free: 312 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.9915, allocations: 3.938 kB / 1.283 GB, free: 308 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9915, allocations: 1.406 kB / 1.283 GB, free: 308 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.9915, allocations: 0 / 1.283 GB, free: 308 kB / 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.009127/1.001, allocations: 1.413 MB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.001, allocations: 8.031 kB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/1.001, allocations: 35.91 kB / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/1.001, allocations: 99.8 kB / 1.285 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/1.002, allocations: 420.8 kB / 1.285 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.002, allocations: 3.297 kB / 1.285 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/1.002, allocations: 9.344 kB / 1.285 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/1.002, allocations: 401.6 kB / 1.285 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/1.002, allocations: 0 / 1.285 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.002, allocations: 2.453 kB / 1.285 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/1.002, allocations: 0 / 1.285 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/1.003, allocations: 437.7 kB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/1.004, allocations: 0.6705 MB / 1.286 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/1.004, allocations: 0.5646 MB / 1.287 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/1.005, allocations: 334 kB / 1.287 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/1.006, allocations: 1.025 MB / 1.288 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004361/1.006, allocations: 408.5 kB / 1.289 GB, free: 13.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/1.006, allocations: 0 / 1.289 GB, free: 13.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.002037/1.008, allocations: 1.31 MB / 1.29 GB, free: 12.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/1.008, allocations: 84.91 kB / 1.29 GB, free: 12.85 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/1.01, allocations: 1.294 MB / 1.291 GB, free: 12.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/1.01, allocations: 31.69 kB / 1.291 GB, free: 12.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/1.01, allocations: 291 kB / 1.292 GB, free: 12.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/1.01, allocations: 22.38 kB / 1.292 GB, free: 12.06 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004501/1.011, allocations: 349.1 kB / 1.292 GB, free: 11.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.011, allocations: 326.9 kB / 1.292 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/1.013, allocations: 1.37 MB / 1.294 GB, free: 11.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/1.015, allocations: 1.503 MB / 1.295 GB, free: 10.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008082/1.023, allocations: 3.565 MB / 1.299 GB, free: 8.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.023, allocations: 0 / 1.299 GB, free: 8.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005508/1.028, allocations: 4.015 MB / 1.303 GB, free: 6.836 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.028, allocations: 11.14 kB / 1.303 GB, free: 6.832 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.028, allocations: 2.125 kB / 1.303 GB, free: 6.832 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.028, allocations: 1.125 kB / 1.303 GB, free: 6.832 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/1.028, allocations: 18.89 kB / 1.303 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.028, allocations: 2.422 kB / 1.303 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/1.029, allocations: 240.3 kB / 1.303 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/1.029, allocations: 27.61 kB / 1.303 GB, free: 6.629 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.0004129/1.03, allocations: 248.5 kB / 1.303 GB, free: 6.504 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-05/1.03, allocations: 81.11 kB / 1.303 GB, free: 6.441 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/1.03, allocations: 92.31 kB / 1.303 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.03, allocations: 2.062 kB / 1.303 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.03, allocations: 1.188 kB / 1.303 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.03, allocations: 0.75 kB / 1.303 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000748/1.031, allocations: 0.5086 MB / 1.304 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.031, allocations: 5.859 kB / 1.304 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.018e-05/1.031, allocations: 7.109 kB / 1.304 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.031, allocations: 0.875 kB / 1.304 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/1.031, allocations: 11.73 kB / 1.304 GB, free: 6.078 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.031, allocations: 1.703 kB / 1.304 GB, free: 6.078 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.031, allocations: 1 kB / 1.304 GB, free: 6.078 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/1.032, allocations: 1.01 MB / 1.305 GB, free: 5.922 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.032, allocations: 178.4 kB / 1.305 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/1.032, allocations: 5.797 kB / 1.305 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/1.032, allocations: 4.891 kB / 1.305 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/1.032, allocations: 6.156 kB / 1.305 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/1.032, allocations: 16.86 kB / 1.305 GB, free: 5.746 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001092/1.033, allocations: 0.7234 MB / 1.306 GB, free: 5.504 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.033, allocations: 0 / 1.306 GB, free: 5.504 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00222/1.036, allocations: 0.5945 MB / 1.306 GB, free: 5.391 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.003752/1.039, allocations: 2.15 MB / 1.308 GB, free: 4.535 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002632/1.042, allocations: 2.001 MB / 1.31 GB, free: 3.984 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.042, allocations: 0 / 1.31 GB, free: 3.984 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/1.042, allocations: 340.9 kB / 1.311 GB, free: 3.973 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/1.043, allocations: 61.17 kB / 1.311 GB, free: 3.934 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/1.062, allocations: 15.3 MB / 1.326 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007389/1.063, allocations: 0.9884 MB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001846/1.063, allocations: 38.31 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/1.064, allocations: 291.4 kB / 1.327 GB, free: 11.91 MB / 1.029 GB Notification: Performance of SimCode: time 2.083e-06/1.064, allocations: 0 / 1.327 GB, free: 11.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06919/1.133, allocations: 24.23 MB / 1.351 GB, free: 1.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/12.03, allocations: 8.594 kB / 1.351 GB, free: 1.348 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.52852798672393] Failed to read output from testmodel.py, exit status != 0: 12.119983389042318 12.145061732 11.148746735 Calling exit ...