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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.008199/0.008198, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.744/0.744, allocations: 135.2 MB / 151 MB, free: 13.82 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.241/1.241, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.0008325/0.0008324, allocations: 90.89 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004315, allocations: 8 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2868, allocations: 82.31 MB / 0.6496 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4219, allocations: 130.8 MB / 0.7773 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.4222, allocations: 119.9 kB / 0.7774 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3137/0.736, allocations: 30.17 MB / 0.8069 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.302e-06/0.736, allocations: 0 / 0.8069 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.736, allocations: 14.94 kB / 0.8069 GB, free: 131.3 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.001618/0.7376, allocations: 1.215 MB / 0.8081 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.7377, allocations: 7.594 kB / 0.8081 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.671e-05/0.7377, allocations: 30.56 kB / 0.8081 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.738, allocations: 107.1 kB / 0.8082 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.7386, allocations: 468.8 kB / 0.8087 GB, free: 130 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.7386, allocations: 23.56 kB / 0.8087 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.7387, allocations: 32.48 kB / 0.8087 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.739, allocations: 391.2 kB / 0.8091 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.739, allocations: 0 / 0.8091 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.739, allocations: 3.141 kB / 0.8091 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.739, allocations: 7.875 kB / 0.8091 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.7393, allocations: 434 kB / 0.8095 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.7398, allocations: 0.7687 MB / 0.8103 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.7402, allocations: 0.5629 MB / 0.8108 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.7407, allocations: 1.037 MB / 0.8118 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.741, allocations: 403.9 kB / 0.8122 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.741, allocations: 0 / 0.8122 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0009048/0.7419, allocations: 1.309 MB / 0.8135 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.742, allocations: 84.22 kB / 0.8136 GB, free: 128 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.7427, allocations: 1.127 MB / 0.8147 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.7428, allocations: 41.02 kB / 0.8147 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.7429, allocations: 297.8 kB / 0.815 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.7429, allocations: 19.53 kB / 0.815 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.743, allocations: 15.97 kB / 0.815 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.7431, allocations: 434.1 kB / 0.8155 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008986/0.744, allocations: 1.217 MB / 0.8166 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/0.7449, allocations: 1.354 MB / 0.818 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.746, allocations: 1.607 MB / 0.8195 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.746, allocations: 0 / 0.8195 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00282/0.7488, allocations: 3.465 MB / 0.8229 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.7488, allocations: 5.094 kB / 0.8229 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.7488, allocations: 0 / 0.8229 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.7489, allocations: 4 kB / 0.8229 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.7494, allocations: 147.7 kB / 0.8231 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.7494, allocations: 7.938 kB / 0.8231 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.7498, allocations: 236.4 kB / 0.8233 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.7499, allocations: 62.27 kB / 0.8234 GB, free: 120.5 MB / 0.5573 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 () * Number of clocked 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.0002143/0.7501, allocations: 270.8 kB / 0.8236 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.7501, allocations: 85.72 kB / 0.8237 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00068/0.7508, allocations: 0.9438 MB / 0.8246 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7508, allocations: 0 / 0.8246 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7508, allocations: 4 kB / 0.8246 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7509, allocations: 7.969 kB / 0.8246 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.7511, allocations: 0.5105 MB / 0.8251 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7511, allocations: 0 / 0.8251 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.7512, allocations: 11.98 kB / 0.8251 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7512, allocations: 0 / 0.8251 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.7512, allocations: 4 kB / 0.8251 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7512, allocations: 0 / 0.8251 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7513, allocations: 0 / 0.8251 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.7518, allocations: 1.027 MB / 0.8261 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.7519, allocations: 159.8 kB / 0.8263 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.752, allocations: 4 kB / 0.8263 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.7521, allocations: 7.984 kB / 0.8263 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.7522, allocations: 2.906 kB / 0.8263 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.7522, allocations: 23.97 kB / 0.8263 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005235/0.7527, allocations: 0.7023 MB / 0.827 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7527, allocations: 4 kB / 0.827 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001201/0.7539, allocations: 0.5032 MB / 0.8275 GB, free: 116.3 MB / 0.5573 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 (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.001889/0.7558, allocations: 2.167 MB / 0.8296 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.7573, allocations: 2.36 MB / 0.8319 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7573, allocations: 0 / 0.8319 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.7576, allocations: 347.8 kB / 0.8323 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.7578, allocations: 52.66 kB / 0.8323 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.7599, allocations: 2.84 MB / 0.8351 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.7602, allocations: 1.001 MB / 0.8361 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001827/0.7604, allocations: 70.59 kB / 0.8361 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.7606, allocations: 295.3 kB / 0.8364 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of SimCode: time 3.01e-07/0.7606, allocations: 0 / 0.8364 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.52/4.281, allocations: 19.32 MB / 0.8553 GB, free: 88.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/4.281, allocations: 257.1 kB / 0.8555 GB, free: 87.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/6.878, allocations: 0 / 0.8555 GB, free: 87.71 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)