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.006274/0.006281, allocations: 98.64 kB / 15.73 MB, free: 6.008 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.001517/0.001517, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.12/2.12, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.89 kB / 0.9505 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7519/0.7531, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002243/0.7554, allocations: 1.423 MB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004069/0.7595, allocations: 3.02 MB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.7595, allocations: 4.688 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.939e-05/0.7597, allocations: 11.36 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.7599, allocations: 33.2 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.7628, allocations: 0.9867 MB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.7629, allocations: 87.27 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.763, allocations: 4.016 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.7631, allocations: 47.55 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.7633, allocations: 157.3 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.7633, allocations: 12.97 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.7656, allocations: 1.385 MB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008079/0.7664, allocations: 0.6826 MB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.7668, allocations: 445.4 kB / 1.096 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.7693, allocations: 1.802 MB / 1.097 GB, free: 288 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7693, allocations: 0.5625 kB / 1.097 GB, free: 288 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7693, allocations: 3.938 kB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.7693, allocations: 0.5 kB / 1.097 GB, free: 284 kB / 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.01119/0.7805, allocations: 1.751 MB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.7806, allocations: 10.31 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.7806, allocations: 33.2 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004636/0.7811, allocations: 157.6 kB / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.7818, allocations: 0.5293 MB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.7818, allocations: 4.188 kB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.7819, allocations: 13.44 kB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.7824, allocations: 388.8 kB / 1.1 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7825, allocations: 0.5 kB / 1.1 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.7825, allocations: 1.656 kB / 1.1 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.7825, allocations: 1.031 kB / 1.1 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.7832, allocations: 437.8 kB / 1.101 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009769/0.7841, allocations: 0.8165 MB / 1.101 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.7849, allocations: 0.5626 MB / 1.102 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.7852, allocations: 333.4 kB / 1.102 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.7863, allocations: 1.029 MB / 1.103 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/0.7868, allocations: 400.4 kB / 1.104 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.7868, allocations: 0 / 1.104 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001716/0.7885, allocations: 1.354 MB / 1.105 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.7886, allocations: 85.45 kB / 1.105 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.7911, allocations: 1.846 MB / 1.107 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.322e-05/0.7912, allocations: 31.73 kB / 1.107 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.7916, allocations: 477.2 kB / 1.107 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.7916, allocations: 30.12 kB / 1.107 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/0.792, allocations: 351.5 kB / 1.108 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.7921, allocations: 307.1 kB / 1.108 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.7935, allocations: 1.508 MB / 1.109 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.7951, allocations: 1.641 MB / 1.111 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007384/0.8025, allocations: 3.691 MB / 1.115 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.8025, allocations: 0.6562 kB / 1.115 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005094/0.8076, allocations: 4.333 MB / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.8076, allocations: 6.328 kB / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.8077, allocations: 1.719 kB / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.8077, allocations: 1.188 kB / 1.119 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.8078, allocations: 23.56 kB / 1.119 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.8079, allocations: 5.125 kB / 1.119 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008697/0.8087, allocations: 236.6 kB / 1.119 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.8088, allocations: 26.06 kB / 1.119 GB, free: 5.895 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.0006144/0.8094, allocations: 370.1 kB / 1.12 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.8095, allocations: 134.4 kB / 1.12 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.8099, allocations: 150.6 kB / 1.12 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.8099, allocations: 0.9688 kB / 1.12 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.8099, allocations: 5 kB / 1.12 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.8099, allocations: 0.5625 kB / 1.12 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007954/0.8107, allocations: 0.6805 MB / 1.12 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.8108, allocations: 5.031 kB / 1.121 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.8108, allocations: 7.938 kB / 1.121 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8108, allocations: 0 / 1.121 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.8109, allocations: 8.406 kB / 1.121 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.8109, allocations: 1.094 kB / 1.121 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8109, allocations: 1.094 kB / 1.121 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.8121, allocations: 1.065 MB / 1.122 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.8123, allocations: 201.8 kB / 1.122 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.8124, allocations: 10.86 kB / 1.122 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.8126, allocations: 9.875 kB / 1.122 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.8127, allocations: 4.547 kB / 1.122 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.8127, allocations: 12.56 kB / 1.122 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001485/0.8142, allocations: 1.107 MB / 1.123 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.733e-06/0.8142, allocations: 0 / 1.123 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001693/0.8159, allocations: 441.8 kB / 1.123 GB, free: 4.434 MB / 0.8731 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.00272/0.8187, allocations: 1.994 MB / 1.125 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002592/0.8213, allocations: 2.64 MB / 1.128 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8213, allocations: 0 / 1.128 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.8216, allocations: 340.4 kB / 1.128 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.8222, allocations: 55.22 kB / 1.128 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3301/1.152, allocations: 36.44 MB / 1.164 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000755/1.153, allocations: 1.154 MB / 1.165 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002414/1.153, allocations: 34.86 kB / 1.165 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/1.154, allocations: 433.4 kB / 1.165 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/1.154, allocations: 0 / 1.165 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08165/1.235, allocations: 60 MB / 1.224 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.57, allocations: 13.44 kB / 1.224 GB, free: 1.664 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.csv --start-time 0 --stop-time 3.7e+11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.48e+08 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)