Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 194.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 75.81 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7988/0.8005, allocations: 140.4 MB / 0.9493 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002896/0.8034, allocations: 1.793 MB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005261/0.8087, allocations: 4.214 MB / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.8089, allocations: 9.062 kB / 0.9552 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.8103, allocations: 344.4 kB / 0.9555 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.8105, allocations: 53.56 kB / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.8135, allocations: 0.8775 MB / 0.9564 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.8137, allocations: 148 kB / 0.9565 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.756e-05/0.8138, allocations: 17.19 kB / 0.9565 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.8139, allocations: 49.72 kB / 0.9566 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.8142, allocations: 176.4 kB / 0.9568 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.8142, allocations: 13.69 kB / 0.9568 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.8162, allocations: 1.424 MB / 0.9582 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.8165, allocations: 276.8 kB / 0.9584 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.8168, allocations: 297.9 kB / 0.9587 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.819, allocations: 1.556 MB / 0.9602 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.819, allocations: 0 / 0.9602 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.819, allocations: 0 / 0.9602 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.8191, allocations: 1.344 kB / 0.9602 GB, free: 1.367 MB / 0.7169 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.009468/0.8285, allocations: 1.274 MB / 0.9615 GB, free: 368 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.303e-05/0.8286, allocations: 13.41 kB / 0.9615 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.8287, allocations: 35.75 kB / 0.9615 GB, free: 320 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.8291, allocations: 95.64 kB / 0.9616 GB, free: 252 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006402/0.8298, allocations: 401.8 kB / 0.962 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.8298, allocations: 7.391 kB / 0.962 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.8299, allocations: 4.375 kB / 0.962 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.8305, allocations: 391.2 kB / 0.9624 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.8306, allocations: 0 / 0.9624 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.8306, allocations: 4.875 kB / 0.9624 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.8306, allocations: 4.938 kB / 0.9624 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.8313, allocations: 438.6 kB / 0.9628 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009283/0.8322, allocations: 0.6659 MB / 0.9635 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008993/0.8331, allocations: 0.5652 MB / 0.964 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/0.8337, allocations: 336.9 kB / 0.9643 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.8351, allocations: 1.033 MB / 0.9653 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006383/0.8358, allocations: 406.5 kB / 0.9657 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.8358, allocations: 0 / 0.9657 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.002133/0.8379, allocations: 1.295 MB / 0.967 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.838, allocations: 83.69 kB / 0.9671 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.84, allocations: 1.281 MB / 0.9683 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.84, allocations: 32.55 kB / 0.9684 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.8403, allocations: 279.2 kB / 0.9686 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.8404, allocations: 27.61 kB / 0.9686 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/0.8409, allocations: 348 kB / 0.969 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.841, allocations: 325.7 kB / 0.9693 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.8429, allocations: 1.363 MB / 0.9706 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.8448, allocations: 1.493 MB / 0.9721 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007304/0.8521, allocations: 3.538 MB / 0.9755 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8521, allocations: 0 / 0.9755 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004233/0.8563, allocations: 3.973 MB / 0.9794 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.8564, allocations: 4 kB / 0.9794 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.8564, allocations: 7.984 kB / 0.9794 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.8564, allocations: 0 / 0.9794 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.8566, allocations: 19.94 kB / 0.9794 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.8566, allocations: 32 / 0.9794 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/0.8573, allocations: 240.2 kB / 0.9797 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/0.8573, allocations: 19.98 kB / 0.9797 GB, free: 2.258 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003475/0.8577, allocations: 241.7 kB / 0.9799 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.8578, allocations: 78.62 kB / 0.98 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.8581, allocations: 87.66 kB / 0.9801 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.8581, allocations: 0 / 0.9801 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.8581, allocations: 4 kB / 0.9801 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8581, allocations: 0 / 0.9801 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.8586, allocations: 0.51 MB / 0.9806 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8586, allocations: 3.938 kB / 0.9806 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.8587, allocations: 11.98 kB / 0.9806 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8587, allocations: 0 / 0.9806 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.8587, allocations: 0 / 0.9806 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8587, allocations: 4 kB / 0.9806 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8587, allocations: 0 / 0.9806 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.8596, allocations: 1.013 MB / 0.9816 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.8597, allocations: 163.7 kB / 0.9817 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.8598, allocations: 4 kB / 0.9818 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.86, allocations: 3.984 kB / 0.9818 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.86, allocations: 8 kB / 0.9818 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.8601, allocations: 15.97 kB / 0.9818 GB, free: 12 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008188/0.8609, allocations: 0.7179 MB / 0.9825 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8609, allocations: 0 / 0.9825 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001314/0.8622, allocations: 407.8 kB / 0.9829 GB, free: 14.89 MB / 0.7481 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.002521/0.8648, allocations: 1.936 MB / 0.9848 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.867, allocations: 2.495 MB / 0.9872 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8671, allocations: 0 / 0.9872 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.8674, allocations: 347.8 kB / 0.9875 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.8679, allocations: 47.91 kB / 0.9876 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.8847, allocations: 15.03 MB / 1.002 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.8853, allocations: 0.9839 MB / 1.003 GB, free: 9.824 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.8855, allocations: 45.41 kB / 1.003 GB, free: 9.781 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.8859, allocations: 287.3 kB / 1.004 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of SimCode: time 1.303e-06/0.8859, allocations: 0 / 1.004 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.9244, allocations: 19.57 MB / 1.023 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/0.9247, allocations: 303.3 kB / 1.023 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/3.646, allocations: 0 / 1.023 GB, free: 5.805 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)