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.001698/0.001698, 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.7518/0.7518, 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.438/1.438, allocations: 221.3 MB / 400.4 MB, free: 5.809 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.0009189/0.0009192, allocations: 91.88 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.541e-05/4.542e-05, allocations: 4.25 kB / 0.5602 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1553, allocations: 82.31 MB / 0.6406 GB, free: 7.668 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5913/0.7467, allocations: 130.7 MB / 0.7682 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.747, allocations: 117.8 kB / 0.7683 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1027/0.8496, allocations: 30.12 MB / 0.7977 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8497, allocations: 0 / 0.7977 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.861e-05/0.8497, allocations: 12 kB / 0.7978 GB, free: 13.48 MB / 0.5261 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.002028/0.8518, allocations: 1.049 MB / 0.7988 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.8518, allocations: 12.03 kB / 0.7988 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.8519, allocations: 38.11 kB / 0.7988 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.8522, allocations: 106.6 kB / 0.7989 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/0.8529, allocations: 467.4 kB / 0.7994 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.8529, allocations: 22.81 kB / 0.7994 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.853, allocations: 33.5 kB / 0.7994 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.8534, allocations: 389.3 kB / 0.7998 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.8534, allocations: 0 / 0.7998 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.8534, allocations: 8 kB / 0.7998 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.8534, allocations: 0 / 0.7998 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.8538, allocations: 431.2 kB / 0.8002 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.8545, allocations: 0.7733 MB / 0.801 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.855, allocations: 0.5547 MB / 0.8015 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.8552, allocations: 324.5 kB / 0.8018 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009363/0.8562, allocations: 1.036 MB / 0.8028 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.8565, allocations: 403.2 kB / 0.8032 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.8565, allocations: 4 kB / 0.8032 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0009131/0.8574, allocations: 0.9701 MB / 0.8042 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.8575, allocations: 81.23 kB / 0.8043 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.8586, allocations: 1.125 MB / 0.8054 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.8587, allocations: 41.95 kB / 0.8054 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.8589, allocations: 297.3 kB / 0.8057 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.859, allocations: 18.3 kB / 0.8057 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.859, allocations: 18.19 kB / 0.8057 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.8593, allocations: 426.9 kB / 0.8061 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.8604, allocations: 1.208 MB / 0.8073 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.8617, allocations: 1.346 MB / 0.8086 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.8633, allocations: 1.598 MB / 0.8102 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.8633, allocations: 0 / 0.8102 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003866/0.8672, allocations: 3.426 MB / 0.8135 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.8672, allocations: 4 kB / 0.8135 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.8672, allocations: 32 / 0.8135 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.8673, allocations: 8 kB / 0.8135 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.8679, allocations: 146.1 kB / 0.8137 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.868, allocations: 4 kB / 0.8137 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005987/0.8686, allocations: 238.8 kB / 0.8139 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.787e-05/0.8687, allocations: 71.17 kB / 0.814 GB, free: 15.17 MB / 0.5417 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.0001548/0.8688, allocations: 135.5 kB / 0.8141 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.501e-05/0.8689, allocations: 74.62 kB / 0.8142 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009146/0.8698, allocations: 0.9333 MB / 0.8151 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.8699, allocations: 3.984 kB / 0.8151 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.8699, allocations: 3.938 kB / 0.8151 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.8699, allocations: 4 kB / 0.8151 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.8703, allocations: 0.5167 MB / 0.8156 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8703, allocations: 0 / 0.8156 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.8704, allocations: 8 kB / 0.8156 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.8704, allocations: 0 / 0.8156 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.8704, allocations: 3.984 kB / 0.8156 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.8705, allocations: 12.05 kB / 0.8156 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8705, allocations: 3.984 kB / 0.8156 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.8713, allocations: 1.01 MB / 0.8166 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.8714, allocations: 155.8 kB / 0.8168 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.8715, allocations: 7.688 kB / 0.8168 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.8716, allocations: 7.984 kB / 0.8168 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.8717, allocations: 7.938 kB / 0.8168 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.8717, allocations: 15.97 kB / 0.8168 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007357/0.8725, allocations: 0.6976 MB / 0.8175 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8725, allocations: 0 / 0.8175 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00172/0.8742, allocations: 0.5008 MB / 0.818 GB, free: 11.27 MB / 0.5417 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.002958/0.8772, allocations: 2.153 MB / 0.8201 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.8792, allocations: 2.351 MB / 0.8224 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8792, allocations: 0 / 0.8224 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.8795, allocations: 333.8 kB / 0.8227 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.8798, allocations: 62.62 kB / 0.8227 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.8823, allocations: 1.861 MB / 0.8246 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.8829, allocations: 1.009 MB / 0.8255 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.8831, allocations: 62.94 kB / 0.8256 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.8834, allocations: 304.9 kB / 0.8259 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of SimCode: time 5e-07/0.8834, allocations: 3.938 kB / 0.8259 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03992/0.9233, allocations: 19.64 MB / 0.8451 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.9236, allocations: 222.1 kB / 0.8453 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.689, allocations: 3.938 kB / 0.8453 GB, free: 0.5234 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)