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_100boreholes.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_100boreholes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.00707/0.00707, allocations: 104.9 kB / 15.74 MB, free: 6.039 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.001681/0.001681, allocations: 193.1 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.324/2.324, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.67 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2802, allocations: 140.4 MB / 1.088 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003023/0.2833, allocations: 1.409 MB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005124/0.2884, allocations: 3.033 MB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.2885, allocations: 4 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.2887, allocations: 3.938 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.2889, allocations: 39.77 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.2913, allocations: 0.9872 MB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.2915, allocations: 87.67 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.2915, allocations: 4 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.2916, allocations: 39.89 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.2919, allocations: 157.6 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.2919, allocations: 16 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.2939, allocations: 1.385 MB / 1.095 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006321/0.2945, allocations: 0.6874 MB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.2949, allocations: 445 kB / 1.096 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.297, allocations: 1.784 MB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.297, allocations: 0 / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2971, allocations: 0 / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.2971, allocations: 0 / 1.097 GB, free: 7.906 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.01067/0.3078, allocations: 1.694 MB / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.144e-05/0.3078, allocations: 12.02 kB / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.598e-05/0.3079, allocations: 46.75 kB / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004766/0.3084, allocations: 135 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.3091, allocations: 0.5328 MB / 1.1 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3092, allocations: 4.359 kB / 1.1 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.3092, allocations: 8.312 kB / 1.1 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.3097, allocations: 395.2 kB / 1.1 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3098, allocations: 0 / 1.1 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.3098, allocations: 8 kB / 1.1 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3098, allocations: 0 / 1.1 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.3103, allocations: 431.7 kB / 1.101 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/0.3112, allocations: 0.8073 MB / 1.101 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/0.3118, allocations: 0.5633 MB / 1.102 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.3122, allocations: 337.7 kB / 1.102 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/0.3135, allocations: 1.028 MB / 1.103 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004038/0.3139, allocations: 412.8 kB / 1.104 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.314, allocations: 0 / 1.104 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001383/0.3153, allocations: 1.343 MB / 1.105 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.3154, allocations: 85.09 kB / 1.105 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.3172, allocations: 1.839 MB / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.3172, allocations: 29.7 kB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.3176, allocations: 481.3 kB / 1.107 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.3176, allocations: 19.7 kB / 1.107 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/0.318, allocations: 351.5 kB / 1.108 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3181, allocations: 305.2 kB / 1.108 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.3194, allocations: 1.51 MB / 1.109 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.3209, allocations: 1.642 MB / 1.111 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007107/0.328, allocations: 3.694 MB / 1.115 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.328, allocations: 4 kB / 1.115 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004402/0.3324, allocations: 4.326 MB / 1.119 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3325, allocations: 4 kB / 1.119 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.3325, allocations: 4 kB / 1.119 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3325, allocations: 0 / 1.119 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.3327, allocations: 15.98 kB / 1.119 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3327, allocations: 3.938 kB / 1.119 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/0.3333, allocations: 236.3 kB / 1.119 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.3334, allocations: 19.98 kB / 1.119 GB, free: 0.9375 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.0004326/0.3338, allocations: 365.5 kB / 1.119 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.369e-05/0.3339, allocations: 126 kB / 1.12 GB, free: 456 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.3342, allocations: 141.1 kB / 1.12 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3342, allocations: 0 / 1.12 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3343, allocations: 8.016 kB / 1.12 GB, free: 292 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3343, allocations: 0 / 1.12 GB, free: 292 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/0.3349, allocations: 0.6794 MB / 1.12 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3349, allocations: 3.938 kB / 1.12 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.335, allocations: 11.98 kB / 1.12 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.335, allocations: 4 kB / 1.12 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.335, allocations: 7.938 kB / 1.12 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.871e-05/0.335, allocations: 7.938 kB / 1.12 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.335, allocations: 0 / 1.12 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3361, allocations: 1.055 MB / 1.121 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.3363, allocations: 195.1 kB / 1.122 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.3364, allocations: 0 / 1.122 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3366, allocations: 7.984 kB / 1.122 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3366, allocations: 8 kB / 1.122 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.3367, allocations: 15.98 kB / 1.122 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00127/0.3379, allocations: 1.104 MB / 1.123 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.11e-07/0.338, allocations: 0 / 1.123 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001287/0.3392, allocations: 431.8 kB / 1.123 GB, free: 12.63 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.002523/0.3418, allocations: 1.982 MB / 1.125 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.3442, allocations: 2.652 MB / 1.128 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3442, allocations: 0 / 1.128 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.3446, allocations: 343.7 kB / 1.128 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.345, allocations: 46.48 kB / 1.128 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2721/0.6171, allocations: 36.37 MB / 1.164 GB, free: 2.973 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008164/0.618, allocations: 1.153 MB / 1.165 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.6182, allocations: 28.56 kB / 1.165 GB, free: 1.766 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/0.6187, allocations: 431.3 kB / 1.165 GB, free: 1.348 MB / 0.92 GB Notification: Performance of SimCode: time 8.11e-07/0.6187, allocations: 0 / 1.165 GB, free: 1.348 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08966/0.7083, allocations: 60 MB / 1.224 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.79, allocations: 16.98 kB / 1.224 GB, free: 5.48 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)