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.006845/0.006845, allocations: 101.4 kB / 15.73 MB, free: 6.035 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.001605/0.001605, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.359/2.359, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.08 kB / 0.9504 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2886, allocations: 140.4 MB / 1.088 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003142/0.2918, allocations: 1.735 MB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00627/0.2981, allocations: 4.217 MB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.2983, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.2996, allocations: 367.2 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.2998, allocations: 63.66 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.3025, allocations: 0.9804 MB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.3028, allocations: 159.3 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.3028, allocations: 13.53 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.3029, allocations: 55.78 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.3032, allocations: 167.5 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.3032, allocations: 12 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.3054, allocations: 1.392 MB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.3056, allocations: 271.8 kB / 1.097 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000262/0.3059, allocations: 302.2 kB / 1.097 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.3082, allocations: 1.551 MB / 1.099 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3083, allocations: 0 / 1.099 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3083, allocations: 0 / 1.099 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.3083, allocations: 0 / 1.099 GB, free: 6.789 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.01028/0.3186, allocations: 1.277 MB / 1.1 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3186, allocations: 12.03 kB / 1.1 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.3187, allocations: 34.73 kB / 1.1 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.3191, allocations: 91.59 kB / 1.1 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.3197, allocations: 409.9 kB / 1.1 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3197, allocations: 8.375 kB / 1.1 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.3197, allocations: 8.375 kB / 1.1 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.3203, allocations: 391.3 kB / 1.101 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3203, allocations: 0 / 1.101 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3203, allocations: 0 / 1.101 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3203, allocations: 4 kB / 1.101 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.3207, allocations: 431.7 kB / 1.101 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.3214, allocations: 0.6692 MB / 1.102 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.3219, allocations: 0.5633 MB / 1.102 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.3222, allocations: 337.7 kB / 1.103 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.3232, allocations: 1.032 MB / 1.104 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003803/0.3236, allocations: 400.8 kB / 1.104 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 3.457e-06/0.3236, allocations: 4 kB / 1.104 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.00128/0.3249, allocations: 1.296 MB / 1.105 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.325, allocations: 81.09 kB / 1.105 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.3262, allocations: 1.281 MB / 1.107 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.3262, allocations: 33.7 kB / 1.107 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.3265, allocations: 285.4 kB / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.3267, allocations: 23.88 kB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.327, allocations: 351.5 kB / 1.107 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3271, allocations: 318 kB / 1.108 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.3283, allocations: 1.365 MB / 1.109 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.3295, allocations: 1.489 MB / 1.11 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007002/0.3366, allocations: 3.541 MB / 1.114 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3366, allocations: 0 / 1.114 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004281/0.3409, allocations: 3.969 MB / 1.118 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3409, allocations: 8 kB / 1.118 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.341, allocations: 0 / 1.118 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.341, allocations: 4.031 kB / 1.118 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3411, allocations: 15.98 kB / 1.118 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.3411, allocations: 7.938 kB / 1.118 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.3416, allocations: 228.3 kB / 1.118 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/0.3417, allocations: 23.98 kB / 1.118 GB, free: 2.23 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.0003714/0.3421, allocations: 245.6 kB / 1.118 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.3422, allocations: 78.61 kB / 1.118 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.3425, allocations: 75.73 kB / 1.118 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.3425, allocations: 4 kB / 1.118 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3425, allocations: 3.984 kB / 1.118 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3425, allocations: 0 / 1.118 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.343, allocations: 0.5254 MB / 1.119 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.343, allocations: 7.875 kB / 1.119 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.048e-05/0.343, allocations: 7.938 kB / 1.119 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.343, allocations: 0 / 1.119 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3431, allocations: 16.02 kB / 1.119 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3431, allocations: 0 / 1.119 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3431, allocations: 0 / 1.119 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000855/0.3439, allocations: 0.9978 MB / 1.12 GB, free: 192 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.3441, allocations: 163.7 kB / 1.12 GB, free: 8 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/0.3442, allocations: 4 kB / 1.12 GB, free: 4 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.3443, allocations: 12.08 kB / 1.12 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.3444, allocations: 11.92 kB / 1.12 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.3444, allocations: 11.98 kB / 1.12 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008313/0.3453, allocations: 0.7179 MB / 1.121 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3453, allocations: 4 kB / 1.121 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001006/0.3463, allocations: 395.8 kB / 1.121 GB, free: 14.86 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.002432/0.3487, allocations: 1.928 MB / 1.123 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00228/0.351, allocations: 2.495 MB / 1.125 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.3511, allocations: 0 / 1.125 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.3514, allocations: 343.8 kB / 1.126 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.3519, allocations: 69.83 kB / 1.126 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.3675, allocations: 14.98 MB / 1.141 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.3681, allocations: 0.9839 MB / 1.141 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.3683, allocations: 45.36 kB / 1.142 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.3686, allocations: 287.3 kB / 1.142 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of SimCode: time 1.061e-06/0.3687, allocations: 0 / 1.142 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04779/0.4164, allocations: 19.86 MB / 1.161 GB, free: 5.871 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.784/10.2, allocations: 8.516 kB / 1.161 GB, free: 5.867 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)