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.007692/0.007692, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001786/0.001786, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.416/2.416, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.78 kB / 0.9505 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3216, allocations: 140.4 MB / 1.088 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003516/0.3251, allocations: 1.743 MB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006302/0.3315, allocations: 4.213 MB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.3316, allocations: 3.938 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.3331, allocations: 372.9 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.3334, allocations: 63.66 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.3364, allocations: 0.9846 MB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.3368, allocations: 147.3 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.201e-05/0.3369, allocations: 13.55 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.337, allocations: 55.72 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.3372, allocations: 163.5 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.3373, allocations: 16 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.3397, allocations: 1.388 MB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.3399, allocations: 275.8 kB / 1.097 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.3402, allocations: 302.1 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.3429, allocations: 1.547 MB / 1.099 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3429, allocations: 4 kB / 1.099 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3429, allocations: 0 / 1.099 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.62e-05/0.3429, allocations: 0 / 1.099 GB, free: 6.664 MB / 0.8575 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.01159/0.3545, allocations: 1.281 MB / 1.1 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/0.3546, allocations: 11.97 kB / 1.1 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/0.3547, allocations: 34.75 kB / 1.1 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.3552, allocations: 91.59 kB / 1.1 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.3562, allocations: 410 kB / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.3563, allocations: 4.375 kB / 1.1 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.3563, allocations: 8.375 kB / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/0.3569, allocations: 387.3 kB / 1.101 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.357, allocations: 4 kB / 1.101 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.357, allocations: 4 kB / 1.101 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.357, allocations: 0 / 1.101 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005386/0.3575, allocations: 443.7 kB / 1.101 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3586, allocations: 0.6535 MB / 1.102 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.3591, allocations: 0.5594 MB / 1.102 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.3595, allocations: 337.7 kB / 1.103 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.3606, allocations: 1.032 MB / 1.104 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/0.3611, allocations: 404.8 kB / 1.104 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/0.3611, allocations: 4 kB / 1.104 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001455/0.3626, allocations: 1.293 MB / 1.105 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.3626, allocations: 85.05 kB / 1.105 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.364, allocations: 1.281 MB / 1.107 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.364, allocations: 33.69 kB / 1.107 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.3643, allocations: 281.5 kB / 1.107 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.3643, allocations: 27.73 kB / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.3647, allocations: 351.5 kB / 1.107 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3648, allocations: 322 kB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.366, allocations: 1.357 MB / 1.109 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.3673, allocations: 1.491 MB / 1.11 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006901/0.3742, allocations: 3.541 MB / 1.114 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3743, allocations: 0 / 1.114 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004636/0.3789, allocations: 3.973 MB / 1.118 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.379, allocations: 5.25 kB / 1.118 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.379, allocations: 11.98 kB / 1.118 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.379, allocations: 4.031 kB / 1.118 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3792, allocations: 23.92 kB / 1.118 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3792, allocations: 3.938 kB / 1.118 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.3797, allocations: 228.3 kB / 1.118 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.3798, allocations: 19.98 kB / 1.118 GB, free: 2.102 MB / 0.8731 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.0003143/0.3801, allocations: 245.7 kB / 1.118 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.759e-05/0.3802, allocations: 78.62 kB / 1.118 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.3805, allocations: 87.66 kB / 1.118 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3805, allocations: 0 / 1.118 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3805, allocations: 4 kB / 1.118 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3805, allocations: 0 / 1.118 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.381, allocations: 0.5176 MB / 1.119 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3811, allocations: 7.875 kB / 1.119 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.3811, allocations: 8 kB / 1.119 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3811, allocations: 0 / 1.119 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3812, allocations: 8.016 kB / 1.119 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3812, allocations: 4 kB / 1.119 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3812, allocations: 0 / 1.119 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.3821, allocations: 0.9978 MB / 1.12 GB, free: 64 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.3823, allocations: 167.7 kB / 1.12 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.3824, allocations: 8 kB / 1.12 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3825, allocations: 0 / 1.12 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3826, allocations: 7.984 kB / 1.12 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/0.3826, allocations: 11.98 kB / 1.12 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008267/0.3834, allocations: 0.7218 MB / 1.121 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3834, allocations: 0 / 1.121 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001165/0.3846, allocations: 391.9 kB / 1.121 GB, free: 14.74 MB / 0.8887 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.002619/0.3872, allocations: 1.937 MB / 1.123 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.3895, allocations: 2.503 MB / 1.125 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3895, allocations: 0 / 1.125 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.3898, allocations: 339.9 kB / 1.126 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.3902, allocations: 61.67 kB / 1.126 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.4053, allocations: 14.98 MB / 1.141 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.4059, allocations: 0.9839 MB / 1.141 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.4061, allocations: 49.41 kB / 1.142 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.4064, allocations: 280.5 kB / 1.142 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of SimCode: time 8.31e-07/0.4064, allocations: 0 / 1.142 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04757/0.454, allocations: 20.1 MB / 1.161 GB, free: 5.512 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.73, allocations: 6.625 kB / 1.161 GB, free: 5.508 MB / 0.92 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)