Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.005937/0.005937, allocations: 170.4 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7634/0.7634, allocations: 135.2 MB / 151 MB, free: 13.81 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.47/1.47, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001039/0.001039, allocations: 94.95 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.4452, allocations: 82.3 MB / 0.6496 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.6203, allocations: 130.8 MB / 0.7773 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/0.6207, allocations: 128.7 kB / 0.7774 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4981/1.119, allocations: 30.16 MB / 0.8069 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.144e-06/1.119, allocations: 3.938 kB / 0.8069 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.005e-05/1.119, allocations: 15.78 kB / 0.8069 GB, free: 131.2 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.002548/1.121, allocations: 1.203 MB / 0.8081 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.122, allocations: 11.78 kB / 0.8081 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/1.122, allocations: 34.56 kB / 0.8081 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/1.122, allocations: 111 kB / 0.8082 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/1.123, allocations: 467.6 kB / 0.8087 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/1.123, allocations: 27 kB / 0.8087 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/1.123, allocations: 37.81 kB / 0.8087 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/1.123, allocations: 384.5 kB / 0.8091 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/1.123, allocations: 4 kB / 0.8091 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/1.123, allocations: 0 / 0.8091 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/1.123, allocations: 0 / 0.8091 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/1.124, allocations: 439 kB / 0.8095 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/1.124, allocations: 0.7668 MB / 0.8103 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/1.125, allocations: 0.5656 MB / 0.8108 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000771/1.125, allocations: 1.034 MB / 0.8118 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/1.126, allocations: 407.8 kB / 0.8122 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/1.126, allocations: 0 / 0.8122 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001144/1.127, allocations: 1.307 MB / 0.8135 GB, free: 128 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/1.127, allocations: 83.8 kB / 0.8136 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009757/1.128, allocations: 1.126 MB / 0.8147 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/1.128, allocations: 47.42 kB / 0.8147 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/1.128, allocations: 295.1 kB / 0.815 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/1.128, allocations: 18.14 kB / 0.815 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/1.128, allocations: 15.97 kB / 0.815 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.128, allocations: 426.3 kB / 0.8154 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/1.129, allocations: 1.211 MB / 0.8166 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/1.131, allocations: 1.37 MB / 0.818 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.132, allocations: 1.602 MB / 0.8195 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.132, allocations: 0 / 0.8195 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003245/1.135, allocations: 3.464 MB / 0.8229 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.135, allocations: 4 kB / 0.8229 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/1.135, allocations: 4.031 kB / 0.8229 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/1.135, allocations: 7.094 kB / 0.8229 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/1.136, allocations: 144.4 kB / 0.8231 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/1.136, allocations: 6.109 kB / 0.8231 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/1.136, allocations: 239.6 kB / 0.8233 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.437e-05/1.137, allocations: 59.94 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.0002863/1.137, allocations: 267.4 kB / 0.8236 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/1.137, allocations: 86.16 kB / 0.8237 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007742/1.138, allocations: 0.9414 MB / 0.8246 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.138, allocations: 3.938 kB / 0.8246 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.138, allocations: 4 kB / 0.8246 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.138, allocations: 0 / 0.8246 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/1.138, allocations: 0.5175 MB / 0.8251 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/1.138, allocations: 0 / 0.8251 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/1.138, allocations: 16.02 kB / 0.8251 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.138, allocations: 0 / 0.8251 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/1.138, allocations: 7.281 kB / 0.8251 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/1.138, allocations: 0 / 0.8251 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.138, allocations: 3.984 kB / 0.8251 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/1.139, allocations: 1.017 MB / 0.8261 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/1.139, allocations: 159.2 kB / 0.8263 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/1.139, allocations: 7.984 kB / 0.8263 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/1.139, allocations: 8 kB / 0.8263 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/1.139, allocations: 3.984 kB / 0.8263 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/1.139, allocations: 11.98 kB / 0.8263 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005871/1.14, allocations: 0.7023 MB / 0.827 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/1.14, allocations: 8 kB / 0.827 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001838/1.142, allocations: 0.5071 MB / 0.8275 GB, free: 116.4 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.002563/1.144, allocations: 2.177 MB / 0.8296 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001768/1.146, allocations: 2.353 MB / 0.8319 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.146, allocations: 0 / 0.8319 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/1.146, allocations: 347.6 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.0002946/1.147, allocations: 56.78 kB / 0.8323 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/1.15, allocations: 2.838 MB / 0.8351 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/1.15, allocations: 1.001 MB / 0.8361 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002066/1.15, allocations: 62.95 kB / 0.8361 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/1.15, allocations: 295.3 kB / 0.8364 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/1.15, allocations: 0 / 0.8364 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/1.187, allocations: 19.33 MB / 0.8553 GB, free: 88.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/1.187, allocations: 254 kB / 0.8555 GB, free: 87.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.975, allocations: 0 / 0.8555 GB, free: 87.8 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)