Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.001638/0.001637, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7687/0.7687, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008279/0.0008279, allocations: 109.6 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.624e-05, allocations: 6.969 kB / 0.5602 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1374, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5875/0.7249, allocations: 126.2 MB / 0.7638 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.7253, allocations: 110.3 kB / 0.7639 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08924/0.8145, allocations: 22.01 MB / 0.7854 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8146, allocations: 0 / 0.7854 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.686e-05/0.8146, allocations: 16 kB / 0.7854 GB, free: 9.004 MB / 0.5105 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.002415/0.8171, allocations: 1.014 MB / 0.7864 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.8171, allocations: 8.031 kB / 0.7864 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.8172, allocations: 34.56 kB / 0.7864 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.8176, allocations: 101.8 kB / 0.7865 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.8183, allocations: 426.5 kB / 0.787 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.8183, allocations: 21.44 kB / 0.787 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/0.8184, allocations: 38 kB / 0.787 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.8188, allocations: 386 kB / 0.7874 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8189, allocations: 0 / 0.7874 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.8189, allocations: 0 / 0.7874 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.8189, allocations: 4 kB / 0.7874 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.8192, allocations: 427 kB / 0.7878 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007792/0.82, allocations: 0.7542 MB / 0.7885 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.8205, allocations: 0.5575 MB / 0.7891 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.8208, allocations: 328.2 kB / 0.7894 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009564/0.8218, allocations: 1.032 MB / 0.7904 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/0.8222, allocations: 410.5 kB / 0.7908 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.8222, allocations: 0 / 0.7908 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0009558/0.8231, allocations: 0.9596 MB / 0.7917 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.8232, allocations: 88.22 kB / 0.7918 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.8243, allocations: 1.053 MB / 0.7928 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.8244, allocations: 44.25 kB / 0.7929 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.8246, allocations: 279.7 kB / 0.7931 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.8247, allocations: 27.53 kB / 0.7932 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.8247, allocations: 14.44 kB / 0.7932 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.8249, allocations: 416.5 kB / 0.7936 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.8261, allocations: 1.205 MB / 0.7948 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.8274, allocations: 1.344 MB / 0.7961 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.829, allocations: 1.6 MB / 0.7976 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.829, allocations: 4 kB / 0.7976 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004017/0.833, allocations: 3.415 MB / 0.801 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.833, allocations: 4 kB / 0.801 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.8331, allocations: 4 kB / 0.801 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.8331, allocations: 4 kB / 0.801 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/0.8338, allocations: 141.1 kB / 0.8011 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.8338, allocations: 4 kB / 0.8011 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/0.8344, allocations: 243.8 kB / 0.8013 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.8345, allocations: 67.03 kB / 0.8014 GB, free: 10.85 MB / 0.5261 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.0001423/0.8347, allocations: 132 kB / 0.8015 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.8348, allocations: 66.78 kB / 0.8016 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009106/0.8357, allocations: 0.9323 MB / 0.8025 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8357, allocations: 0 / 0.8025 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.8357, allocations: 0 / 0.8025 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.8357, allocations: 0 / 0.8025 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.8362, allocations: 0.4917 MB / 0.803 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.8362, allocations: 4.031 kB / 0.803 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/0.8363, allocations: 4 kB / 0.803 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8363, allocations: 0 / 0.803 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.8363, allocations: 7.984 kB / 0.803 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.8363, allocations: 0 / 0.803 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8363, allocations: 0 / 0.803 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008256/0.8371, allocations: 1.009 MB / 0.804 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.8373, allocations: 147.9 kB / 0.8041 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.8374, allocations: 4 kB / 0.8041 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.8375, allocations: 15.36 kB / 0.8042 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.8376, allocations: 3.938 kB / 0.8042 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.8376, allocations: 15.97 kB / 0.8042 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006918/0.8383, allocations: 0.6503 MB / 0.8048 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8383, allocations: 0 / 0.8048 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001715/0.84, allocations: 499.8 kB / 0.8053 GB, free: 7.043 MB / 0.5261 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.003933/0.844, allocations: 2.082 MB / 0.8073 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002462/0.8465, allocations: 2.348 MB / 0.8096 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8465, allocations: 0 / 0.8096 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.8468, allocations: 335.3 kB / 0.8099 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.8471, allocations: 39.22 kB / 0.81 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.8501, allocations: 1.795 MB / 0.8117 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.8507, allocations: 0.9813 MB / 0.8127 GB, free: 240 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.8509, allocations: 59.36 kB / 0.8127 GB, free: 180 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.8511, allocations: 274.7 kB / 0.813 GB, free: 124 kB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/0.8511, allocations: 0 / 0.813 GB, free: 124 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03571/0.8869, allocations: 16.8 MB / 0.8294 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.8871, allocations: 233.1 kB / 0.8296 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/3.452, allocations: 0 / 0.8296 GB, free: 15.3 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)