Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_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_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002429/0.002429, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.728/2.728, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.806/1.806, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.0005009, allocations: 8.5 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2818, allocations: 82.32 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004594/0.2865, allocations: 2.401 MB / 0.5897 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004321/0.2909, allocations: 1.91 MB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.2914, allocations: 4 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.2938, allocations: 446.4 kB / 0.592 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007564/0.2945, allocations: 151.7 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.2948, allocations: 35.91 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009433/0.2958, allocations: 323.3 kB / 0.5924 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003598/0.2962, allocations: 115 kB / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.2965, allocations: 139.4 kB / 0.5927 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.2968, allocations: 151.3 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.2969, allocations: 16 kB / 0.5928 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.297, allocations: 24 kB / 0.5929 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.2972, allocations: 67.75 kB / 0.5929 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2973, allocations: 109.5 kB / 0.593 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.2979, allocations: 442.7 kB / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.298, allocations: 0 / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.3e-06/0.298, allocations: 0 / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.2981, allocations: 3.938 kB / 0.5935 GB, free: 12.7 MB / 0.4981 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.001487/0.2996, allocations: 0.6539 MB / 0.5941 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.763e-05/0.2997, allocations: 8.031 kB / 0.5941 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.389e-05/0.2998, allocations: 54.55 kB / 0.5942 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.2999, allocations: 39.53 kB / 0.5942 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/0.3006, allocations: 368.9 kB / 0.5946 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.3006, allocations: 20.44 kB / 0.5946 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.3007, allocations: 20 kB / 0.5946 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.3014, allocations: 203.3 kB / 0.5948 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.3014, allocations: 0 / 0.5948 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.3014, allocations: 12 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3015, allocations: 4 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005892/0.3021, allocations: 173.7 kB / 0.595 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.3038, allocations: 0.8779 MB / 0.5958 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.3042, allocations: 154.6 kB / 0.596 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.3043, allocations: 7.953 kB / 0.596 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.3043, allocations: 38.5 kB / 0.596 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.385e-06/0.3043, allocations: 0 / 0.596 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0009167/0.3053, allocations: 263.6 kB / 0.5963 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.3054, allocations: 55.41 kB / 0.5963 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.3061, allocations: 417.7 kB / 0.5967 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.3062, allocations: 25.7 kB / 0.5967 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.3064, allocations: 208.2 kB / 0.5969 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.3065, allocations: 63.09 kB / 0.597 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.3066, allocations: 8 kB / 0.597 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002278/0.3068, allocations: 346.8 kB / 0.5973 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.307, allocations: 59.97 kB / 0.5974 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.3073, allocations: 55.97 kB / 0.5975 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.3076, allocations: 78 kB / 0.5975 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3076, allocations: 3.938 kB / 0.5975 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006736/0.3083, allocations: 213.1 kB / 0.5977 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.3083, allocations: 8 kB / 0.5977 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3084, allocations: 7.938 kB / 0.5977 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3084, allocations: 0 / 0.5977 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.3087, allocations: 51.97 kB / 0.5978 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.3088, allocations: 11.91 kB / 0.5978 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.3091, allocations: 23.84 kB / 0.5978 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.3091, allocations: 8 kB / 0.5978 GB, free: 7.977 MB / 0.4981 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.0002734/0.3094, allocations: 169.8 kB / 0.598 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/0.3095, allocations: 35.53 kB / 0.598 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3096, allocations: 43.58 kB / 0.5981 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3097, allocations: 4 kB / 0.5981 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.3097, allocations: 3.938 kB / 0.5981 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3097, allocations: 3.984 kB / 0.5981 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.3104, allocations: 377.3 kB / 0.5984 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3104, allocations: 3.953 kB / 0.5985 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.3108, allocations: 63.89 kB / 0.5985 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3108, allocations: 0 / 0.5985 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.3109, allocations: 8 kB / 0.5985 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3109, allocations: 0 / 0.5985 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3109, allocations: 0 / 0.5985 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.312, allocations: 390.9 kB / 0.5989 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.3122, allocations: 120.6 kB / 0.599 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.3122, allocations: 7.984 kB / 0.599 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.3126, allocations: 12.06 kB / 0.599 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.3127, allocations: 15.98 kB / 0.599 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.3127, allocations: 7.984 kB / 0.5991 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00055/0.3132, allocations: 299.1 kB / 0.5993 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3133, allocations: 0 / 0.5993 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005996/0.3139, allocations: 75.84 kB / 0.5994 GB, free: 6.273 MB / 0.4981 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.001467/0.3154, allocations: 0.9303 MB / 0.6003 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006407/0.316, allocations: 156 kB / 0.6005 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.316, allocations: 0 / 0.6005 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.3163, allocations: 81.16 kB / 0.6005 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.3172, allocations: 90.02 kB / 0.6006 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.3233, allocations: 2.185 MB / 0.6028 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.324, allocations: 0.807 MB / 0.6036 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002588/0.3242, allocations: 34.95 kB / 0.6036 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.3245, allocations: 119.4 kB / 0.6037 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.3245, allocations: 0 / 0.6037 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6013/0.9258, allocations: 7.136 MB / 0.6107 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003407/0.9262, allocations: 235.5 kB / 0.6109 GB, free: 47.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/4.093, allocations: 0 / 0.6109 GB, free: 47.16 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: