Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.008244/0.008244, 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.7675/0.7675, allocations: 135.2 MB / 151 MB, free: 13.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.56/1.56, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001062/0.001063, allocations: 99.98 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4552, allocations: 82.31 MB / 0.6496 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.6207, allocations: 119.8 MB / 0.7666 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.6211, allocations: 115.9 kB / 0.7667 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04933/0.6704, allocations: 18.21 MB / 0.7845 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6704, allocations: 0 / 0.7845 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.6705, allocations: 8 kB / 0.7845 GB, free: 9.711 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009486/0.6714, allocations: 0.658 MB / 0.7851 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.6715, allocations: 8.031 kB / 0.7852 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.823e-05/0.6716, allocations: 54.55 kB / 0.7852 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.6716, allocations: 51.73 kB / 0.7853 GB, free: 8.883 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.6721, allocations: 353.2 kB / 0.7856 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.6721, allocations: 20.44 kB / 0.7856 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.6722, allocations: 23.91 kB / 0.7856 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.6726, allocations: 207.2 kB / 0.7858 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.6726, allocations: 0 / 0.7858 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.6727, allocations: 12 kB / 0.7858 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.6727, allocations: 7.984 kB / 0.7858 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.6731, allocations: 177.6 kB / 0.786 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.6742, allocations: 0.8663 MB / 0.7869 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.6745, allocations: 166.5 kB / 0.787 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.6745, allocations: 3.938 kB / 0.787 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.6746, allocations: 38.56 kB / 0.7871 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.133e-06/0.6746, allocations: 0 / 0.7871 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0005993/0.6752, allocations: 270.6 kB / 0.7873 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.6752, allocations: 51.41 kB / 0.7874 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.6757, allocations: 372.8 kB / 0.7877 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.6757, allocations: 25.7 kB / 0.7877 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.6758, allocations: 216.2 kB / 0.788 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.6759, allocations: 63 kB / 0.788 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.6759, allocations: 7.938 kB / 0.788 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6761, allocations: 346.8 kB / 0.7884 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.6762, allocations: 59.97 kB / 0.7884 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.6764, allocations: 74.66 kB / 0.7885 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.6765, allocations: 63.98 kB / 0.7885 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6766, allocations: 0 / 0.7885 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004077/0.677, allocations: 217.2 kB / 0.7888 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.677, allocations: 4 kB / 0.7888 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.677, allocations: 0 / 0.7888 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.677, allocations: 0 / 0.7888 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.6773, allocations: 55.97 kB / 0.7888 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.6773, allocations: 4 kB / 0.7888 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.6775, allocations: 27.73 kB / 0.7888 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.6775, allocations: 8 kB / 0.7888 GB, free: 5.02 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001774/0.6777, allocations: 170.1 kB / 0.789 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.6778, allocations: 35.62 kB / 0.789 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.6779, allocations: 35.59 kB / 0.7891 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6779, allocations: 4 kB / 0.7891 GB, free: 4.766 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6779, allocations: 0 / 0.7891 GB, free: 4.766 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6779, allocations: 3.984 kB / 0.7891 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.6783, allocations: 377.2 kB / 0.7894 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6783, allocations: 4 kB / 0.7894 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.6786, allocations: 51.97 kB / 0.7895 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.6786, allocations: 4 kB / 0.7895 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.6786, allocations: 7.984 kB / 0.7895 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6786, allocations: 0 / 0.7895 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6786, allocations: 3.938 kB / 0.7895 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.6792, allocations: 396 kB / 0.7899 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.6794, allocations: 112.6 kB / 0.79 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.6794, allocations: 8 kB / 0.79 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.6796, allocations: 20.05 kB / 0.79 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.6796, allocations: 7.984 kB / 0.79 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.6797, allocations: 4 kB / 0.79 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003457/0.68, allocations: 307.1 kB / 0.7903 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.68, allocations: 0 / 0.7903 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003905/0.6804, allocations: 87.84 kB / 0.7904 GB, free: 3.32 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001279/0.6817, allocations: 1.096 MB / 0.7915 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.6821, allocations: 153.6 kB / 0.7916 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6821, allocations: 4 kB / 0.7916 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.6823, allocations: 87.91 kB / 0.7917 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.6828, allocations: 85.44 kB / 0.7918 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3628/1.046, allocations: 2.168 MB / 0.7939 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/1.046, allocations: 0.8044 MB / 0.7947 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002278/1.046, allocations: 32.53 kB / 0.7947 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/1.047, allocations: 119.7 kB / 0.7948 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.452e-06/1.047, allocations: 0 / 0.7948 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/1.077, allocations: 9.19 MB / 0.8038 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/1.077, allocations: 236.8 kB / 0.804 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/3.303, allocations: 0 / 0.804 GB, free: 131.5 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)