Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 249.3 MB / 261.8 MB, free: 5.801 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 172.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 94.52 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.835e-05, allocations: 4 kB / 0.7881 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2422, allocations: 106.3 MB / 0.8919 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7758/1.018, allocations: 146.5 MB / 1.035 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005759/1.019, allocations: 110.8 kB / 1.035 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1089/1.128, allocations: 25.04 MB / 1.06 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/1.128, allocations: 0 / 1.06 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.314e-05/1.128, allocations: 20 kB / 1.06 GB, free: 14.34 MB / 0.6823 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.003006/1.131, allocations: 1.343 MB / 1.061 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/1.131, allocations: 12.03 kB / 1.061 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.738e-05/1.131, allocations: 34.55 kB / 1.061 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/1.131, allocations: 154 kB / 1.061 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/1.133, allocations: 0.6443 MB / 1.062 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/1.133, allocations: 29.88 kB / 1.062 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/1.133, allocations: 42.25 kB / 1.062 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/1.133, allocations: 378.5 kB / 1.062 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/1.133, allocations: 3.984 kB / 1.062 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/1.133, allocations: 7.984 kB / 1.062 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.133, allocations: 0 / 1.062 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/1.134, allocations: 434.2 kB / 1.063 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/1.135, allocations: 0.9851 MB / 1.064 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/1.135, allocations: 0.5622 MB / 1.064 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/1.136, allocations: 329.1 kB / 1.064 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/1.137, allocations: 1.036 MB / 1.065 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/1.137, allocations: 399.4 kB / 1.066 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.674e-06/1.137, allocations: 0 / 1.066 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001218/1.139, allocations: 1.021 MB / 1.067 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/1.139, allocations: 80.67 kB / 1.067 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/1.14, allocations: 1.61 MB / 1.068 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/1.141, allocations: 51.56 kB / 1.068 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/1.141, allocations: 497 kB / 1.069 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/1.141, allocations: 27.52 kB / 1.069 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/1.141, allocations: 17.44 kB / 1.069 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001996/1.141, allocations: 405.4 kB / 1.069 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/1.143, allocations: 1.461 MB / 1.071 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/1.145, allocations: 1.605 MB / 1.072 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/1.147, allocations: 1.859 MB / 1.074 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.147, allocations: 4 kB / 1.074 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004994/1.152, allocations: 4.016 MB / 1.078 GB, free: 13.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/1.152, allocations: 4 kB / 1.078 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.04e-05/1.152, allocations: 20 kB / 1.078 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.152, allocations: 4 kB / 1.078 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/1.153, allocations: 146.4 kB / 1.078 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/1.153, allocations: 0 / 1.078 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009572/1.154, allocations: 251 kB / 1.079 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/1.154, allocations: 101.7 kB / 1.079 GB, free: 13.32 MB / 0.698 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/1.154, allocations: 134.8 kB / 1.079 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/1.154, allocations: 118 kB / 1.079 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/1.155, allocations: 0.9999 MB / 1.08 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/1.155, allocations: 0 / 1.08 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.155, allocations: 0 / 1.08 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.155, allocations: 4 kB / 1.08 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/1.156, allocations: 0.6852 MB / 1.081 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/1.156, allocations: 0 / 1.081 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/1.156, allocations: 12.02 kB / 1.081 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.156, allocations: 0 / 1.081 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/1.156, allocations: 4 kB / 1.081 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.156, allocations: 0 / 1.081 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.156, allocations: 0 / 1.081 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/1.157, allocations: 1.075 MB / 1.082 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/1.157, allocations: 211 kB / 1.082 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/1.158, allocations: 4 kB / 1.082 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/1.158, allocations: 4 kB / 1.082 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/1.158, allocations: 11.23 kB / 1.082 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/1.158, allocations: 7.984 kB / 1.082 GB, free: 10.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001355/1.159, allocations: 1.099 MB / 1.083 GB, free: 9.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.159, allocations: 0 / 1.083 GB, free: 9.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001799/1.161, allocations: 0.5272 MB / 1.083 GB, free: 8.676 MB / 0.698 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003368/1.165, allocations: 2.141 MB / 1.085 GB, free: 6.523 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00253/1.167, allocations: 2.499 MB / 1.088 GB, free: 4.801 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.167, allocations: 0 / 1.088 GB, free: 4.801 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/1.167, allocations: 334.6 kB / 1.088 GB, free: 4.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/1.168, allocations: 67.31 kB / 1.088 GB, free: 4.449 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/1.172, allocations: 2.557 MB / 1.091 GB, free: 1.895 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/1.173, allocations: 1.183 MB / 1.092 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004097/1.173, allocations: 130.3 kB / 1.092 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/1.174, allocations: 474.5 kB / 1.093 GB, free: 472 kB / 0.698 GB Notification: Performance of SimCode: time 7.42e-07/1.174, allocations: 0 / 1.093 GB, free: 472 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/1.221, allocations: 23.85 MB / 1.116 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/1.221, allocations: 244 kB / 1.116 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.087/4.308, allocations: 3.938 kB / 1.116 GB, free: 8.453 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)