Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.144/1.144, allocations: 133.6 MB / 141.6 MB, free: 2.828 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 221.5 MB / 395.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008733, allocations: 96.39 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.936e-05, allocations: 4 kB / 0.5536 GB, free: 8.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4468, allocations: 82.31 MB / 0.634 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.6072, allocations: 125.6 MB / 0.7566 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.6075, allocations: 107.9 kB / 0.7567 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.08051/0.6881, allocations: 21.91 MB / 0.7781 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6881, allocations: 0 / 0.7781 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.631e-05/0.6881, allocations: 12 kB / 0.7781 GB, free: 7.012 MB / 0.5573 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.002114/0.6903, allocations: 1.009 MB / 0.7791 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6903, allocations: 12.03 kB / 0.7791 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.6907, allocations: 98.7 kB / 0.7792 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.6913, allocations: 439.4 kB / 0.7796 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.6913, allocations: 0 / 0.7796 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.6914, allocations: 20 kB / 0.7796 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004016/0.6918, allocations: 419.8 kB / 0.78 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.6922, allocations: 383.2 kB / 0.7804 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6922, allocations: 0 / 0.7804 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.6922, allocations: 7.984 kB / 0.7804 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.6922, allocations: 3.953 kB / 0.7804 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.693, allocations: 0.6981 MB / 0.7811 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.6935, allocations: 0.5438 MB / 0.7816 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.6938, allocations: 337.7 kB / 0.7819 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.6949, allocations: 1.032 MB / 0.7829 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003857/0.6953, allocations: 396.9 kB / 0.7833 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.6953, allocations: 0 / 0.7833 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001003/0.6963, allocations: 0.9609 MB / 0.7843 GB, free: 280 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.6964, allocations: 89.03 kB / 0.7843 GB, free: 172 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.6975, allocations: 0.9974 MB / 0.7853 GB, free: 15.16 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.6976, allocations: 25.7 kB / 0.7853 GB, free: 15.12 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.6978, allocations: 262.1 kB / 0.7856 GB, free: 14.86 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.6979, allocations: 23.66 kB / 0.7856 GB, free: 14.84 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.6979, allocations: 3.938 kB / 0.7856 GB, free: 14.84 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002296/0.6981, allocations: 419.8 kB / 0.786 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.6995, allocations: 1.19 MB / 0.7872 GB, free: 13.23 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.7009, allocations: 1.332 MB / 0.7885 GB, free: 11.89 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.7026, allocations: 1.583 MB / 0.79 GB, free: 10.29 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7026, allocations: 4 kB / 0.79 GB, free: 10.28 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004202/0.7068, allocations: 3.372 MB / 0.7933 GB, free: 6.875 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.7068, allocations: 8 kB / 0.7933 GB, free: 6.867 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.7068, allocations: 0 / 0.7933 GB, free: 6.867 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.7069, allocations: 7.984 kB / 0.7933 GB, free: 6.859 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/0.7076, allocations: 147.8 kB / 0.7935 GB, free: 6.715 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.7076, allocations: 4 kB / 0.7935 GB, free: 6.711 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/0.7082, allocations: 228.3 kB / 0.7937 GB, free: 6.484 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.7083, allocations: 51.98 kB / 0.7937 GB, free: 6.434 MB / 0.573 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.0001606/0.7085, allocations: 124.7 kB / 0.7939 GB, free: 6.305 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000868/0.7093, allocations: 0.953 MB / 0.7948 GB, free: 5.344 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.7094, allocations: 62.78 kB / 0.7949 GB, free: 5.281 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000931/0.7103, allocations: 0.9321 MB / 0.7958 GB, free: 4.34 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.7104, allocations: 4 kB / 0.7958 GB, free: 4.336 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7104, allocations: 0 / 0.7958 GB, free: 4.336 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7104, allocations: 0 / 0.7958 GB, free: 4.336 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.7109, allocations: 476.1 kB / 0.7962 GB, free: 3.836 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7109, allocations: 0 / 0.7962 GB, free: 3.836 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.387e-05/0.711, allocations: 11.98 kB / 0.7962 GB, free: 3.824 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.711, allocations: 0 / 0.7962 GB, free: 3.824 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.711, allocations: 0 / 0.7962 GB, free: 3.824 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.711, allocations: 8.031 kB / 0.7962 GB, free: 3.816 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.711, allocations: 0 / 0.7962 GB, free: 3.816 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/0.7119, allocations: 1 MB / 0.7972 GB, free: 2.789 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.712, allocations: 147.9 kB / 0.7974 GB, free: 2.625 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.394e-05/0.7121, allocations: 4 kB / 0.7974 GB, free: 2.621 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.7122, allocations: 15.92 kB / 0.7974 GB, free: 2.605 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.7123, allocations: 4 kB / 0.7974 GB, free: 2.602 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.7123, allocations: 15.97 kB / 0.7974 GB, free: 2.586 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006488/0.713, allocations: 0.5947 MB / 0.798 GB, free: 1.984 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.713, allocations: 0 / 0.798 GB, free: 1.984 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001712/0.7147, allocations: 479.4 kB / 0.7984 GB, free: 1.516 MB / 0.573 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.3966/1.111, allocations: 2.075 MB / 0.8005 GB, free: 148.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002961/1.114, allocations: 2.327 MB / 0.8027 GB, free: 148.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/1.114, allocations: 0 / 0.8027 GB, free: 148.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004702/1.115, allocations: 334.7 kB / 0.8031 GB, free: 148.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/1.115, allocations: 32.45 kB / 0.8031 GB, free: 148.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/1.119, allocations: 1.78 MB / 0.8048 GB, free: 148.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/1.119, allocations: 0.985 MB / 0.8058 GB, free: 147.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002437/1.12, allocations: 53.89 kB / 0.8058 GB, free: 147.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/1.12, allocations: 274.1 kB / 0.8061 GB, free: 147.8 MB / 0.573 GB Notification: Performance of SimCode: time 7.92e-07/1.12, allocations: 0.5625 kB / 0.8061 GB, free: 147.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0446/1.165, allocations: 16.09 MB / 0.8218 GB, free: 146.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/1.165, allocations: 218.5 kB / 0.822 GB, free: 146.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.711, allocations: 1.625 kB / 0.822 GB, free: 146.2 MB / 0.573 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)