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.001144/0.001144, allocations: 174.7 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.7062/0.7062, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.432/1.432, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.0009065/0.0009066, allocations: 98.53 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.537e-05, allocations: 7.328 kB / 0.5602 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1501, allocations: 82.3 MB / 0.6405 GB, free: 7.684 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5876/0.7377, allocations: 130.7 MB / 0.7682 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.738, allocations: 120.1 kB / 0.7683 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1028/0.8409, allocations: 30.11 MB / 0.7977 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8409, allocations: 0 / 0.7977 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.085e-05/0.841, allocations: 16 kB / 0.7978 GB, free: 13.56 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.002403/0.8434, allocations: 1.057 MB / 0.7988 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.8434, allocations: 8.031 kB / 0.7988 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/0.8435, allocations: 38.55 kB / 0.7988 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004099/0.8439, allocations: 106.6 kB / 0.7989 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008718/0.8448, allocations: 462.7 kB / 0.7994 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.8449, allocations: 25.81 kB / 0.7994 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/0.8449, allocations: 31.69 kB / 0.7994 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.8453, allocations: 393.6 kB / 0.7998 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.8454, allocations: 4 kB / 0.7998 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.8454, allocations: 0 / 0.7998 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8454, allocations: 3.938 kB / 0.7998 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.8458, allocations: 427.5 kB / 0.8002 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008309/0.8466, allocations: 0.7711 MB / 0.801 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.8471, allocations: 0.5547 MB / 0.8015 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.8474, allocations: 341 kB / 0.8018 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009808/0.8484, allocations: 1.025 MB / 0.8028 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.8488, allocations: 409.5 kB / 0.8032 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.8488, allocations: 0 / 0.8032 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001/0.8498, allocations: 0.9715 MB / 0.8042 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.8498, allocations: 81.22 kB / 0.8043 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.8511, allocations: 1.126 MB / 0.8054 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.8512, allocations: 43.52 kB / 0.8054 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.8515, allocations: 294.9 kB / 0.8057 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.8515, allocations: 19.05 kB / 0.8057 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.8516, allocations: 15.56 kB / 0.8057 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.8518, allocations: 430.6 kB / 0.8061 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.853, allocations: 1.208 MB / 0.8073 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.8543, allocations: 1.342 MB / 0.8086 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.8559, allocations: 1.597 MB / 0.8102 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.856, allocations: 0 / 0.8102 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004185/0.8601, allocations: 3.428 MB / 0.8135 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.8602, allocations: 4 kB / 0.8135 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.8602, allocations: 8.031 kB / 0.8135 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.8602, allocations: 4 kB / 0.8135 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006735/0.8609, allocations: 141.9 kB / 0.8137 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.8609, allocations: 4 kB / 0.8137 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/0.8616, allocations: 243 kB / 0.8139 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.8617, allocations: 69.73 kB / 0.814 GB, free: 15.24 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.0001564/0.8619, allocations: 138.2 kB / 0.8141 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.771e-05/0.862, allocations: 78.69 kB / 0.8142 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009776/0.863, allocations: 0.9292 MB / 0.8151 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.863, allocations: 4 kB / 0.8151 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.863, allocations: 3.938 kB / 0.8151 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.863, allocations: 0 / 0.8151 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.8635, allocations: 0.5132 MB / 0.8156 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.8636, allocations: 4 kB / 0.8156 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/0.8636, allocations: 4 kB / 0.8156 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8637, allocations: 0 / 0.8156 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.8637, allocations: 12.02 kB / 0.8156 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8637, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8637, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008468/0.8645, allocations: 1.014 MB / 0.8166 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.8647, allocations: 155.8 kB / 0.8168 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.8648, allocations: 2.875 kB / 0.8168 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.865, allocations: 11.98 kB / 0.8168 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.865, allocations: 7.938 kB / 0.8168 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.8651, allocations: 15.97 kB / 0.8168 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008607/0.866, allocations: 0.6967 MB / 0.8175 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.866, allocations: 0 / 0.8175 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002068/0.8681, allocations: 0.501 MB / 0.818 GB, free: 11.35 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.004315/0.8724, allocations: 2.17 MB / 0.8201 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002737/0.8751, allocations: 2.345 MB / 0.8224 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8752, allocations: 0 / 0.8224 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.8756, allocations: 332.8 kB / 0.8227 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.8759, allocations: 56.52 kB / 0.8227 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.879, allocations: 1.862 MB / 0.8246 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.8796, allocations: 1.013 MB / 0.8255 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002156/0.8798, allocations: 54.97 kB / 0.8256 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.8801, allocations: 300.1 kB / 0.8259 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of SimCode: time 6.71e-07/0.8802, allocations: 0 / 0.8259 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04174/0.9219, allocations: 19.65 MB / 0.8451 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.9221, allocations: 231.7 kB / 0.8453 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/3.669, allocations: 0 / 0.8453 GB, free: 0.5664 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)