Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001179/0.001179, allocations: 174.6 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.72/0.72, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.567/1.567, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.0008969/0.000897, allocations: 99.06 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.579e-05/4.613e-05, allocations: 4.375 kB / 0.5602 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1777, allocations: 82.3 MB / 0.6406 GB, free: 7.656 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6624/0.8401, allocations: 132.2 MB / 0.7697 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.8404, allocations: 113.4 kB / 0.7698 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04525/0.8857, allocations: 15.36 MB / 0.7848 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8857, allocations: 0 / 0.7848 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.8857, allocations: 0 / 0.7848 GB, free: 8.723 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001107/0.8868, allocations: 0.5518 MB / 0.7853 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.8869, allocations: 8.031 kB / 0.7853 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.142e-05/0.887, allocations: 109.8 kB / 0.7854 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.287e-05/0.8871, allocations: 83.14 kB / 0.7855 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.8873, allocations: 254.5 kB / 0.7858 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.48e-05/0.8874, allocations: 154.6 kB / 0.7859 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.058e-05/0.8875, allocations: 150.6 kB / 0.786 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.37e-05/0.8876, allocations: 101 kB / 0.7861 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.8876, allocations: 75.28 kB / 0.7862 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.327e-05/0.8877, allocations: 150.6 kB / 0.7864 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-05/0.8878, allocations: 154.6 kB / 0.7865 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.8879, allocations: 154.5 kB / 0.7867 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.8882, allocations: 476.1 kB / 0.7871 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.584e-05/0.8883, allocations: 169.1 kB / 0.7873 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.8884, allocations: 84.14 kB / 0.7873 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.8884, allocations: 75.28 kB / 0.7874 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.8885, allocations: 105.8 kB / 0.7875 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.8885, allocations: 0 / 0.7875 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 9.363e-05/0.8886, allocations: 45.03 kB / 0.7876 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.8887, allocations: 126.7 kB / 0.7877 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.8888, allocations: 125.8 kB / 0.7878 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.8888, allocations: 25.7 kB / 0.7878 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.8889, allocations: 91.08 kB / 0.7879 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.8889, allocations: 0 / 0.7879 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.8889, allocations: 0 / 0.7879 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.8891, allocations: 321.8 kB / 0.7882 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.8891, allocations: 7.438 kB / 0.7882 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.8891, allocations: 4 kB / 0.7882 GB, free: 5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.8892, allocations: 4 kB / 0.7882 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8892, allocations: 4.031 kB / 0.7882 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001446/0.8893, allocations: 60.42 kB / 0.7883 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.8894, allocations: 4 kB / 0.7883 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.8894, allocations: 4 kB / 0.7883 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8894, allocations: 3.938 kB / 0.7883 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-06/0.8894, allocations: 0 / 0.7883 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.8894, allocations: 0 / 0.7883 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.8895, allocations: 7.906 kB / 0.7883 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.8895, allocations: 64 / 0.7883 GB, free: 4.914 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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.0001092/0.8896, allocations: 184.2 kB / 0.7885 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.8897, allocations: 112.9 kB / 0.7886 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.8897, allocations: 119.8 kB / 0.7887 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.699e-05/0.8898, allocations: 184.4 kB / 0.7889 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.761e-05/0.8899, allocations: 176.3 kB / 0.7891 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.232e-05/0.89, allocations: 180.2 kB / 0.7892 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.8903, allocations: 424 kB / 0.7896 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.143e-05/0.8903, allocations: 104.9 kB / 0.7897 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.8904, allocations: 101 kB / 0.7898 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.479e-05/0.8904, allocations: 188.1 kB / 0.79 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.158e-05/0.8905, allocations: 176.3 kB / 0.7902 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.13e-05/0.8906, allocations: 183.2 kB / 0.7904 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.645e-05/0.8907, allocations: 184.2 kB / 0.7905 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.8909, allocations: 311 kB / 0.7908 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.891, allocations: 182 kB / 0.791 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.8911, allocations: 180.2 kB / 0.7912 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.8912, allocations: 113.9 kB / 0.7913 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.8913, allocations: 179.8 kB / 0.7915 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.8913, allocations: 108.9 kB / 0.7916 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.274e-05/0.8914, allocations: 101 kB / 0.7917 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8914, allocations: 0 / 0.7917 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001095/0.8925, allocations: 322.6 kB / 0.792 GB, free: 1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001893/0.8944, allocations: 1.187 MB / 0.7931 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.8945, allocations: 40.88 kB / 0.7932 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8945, allocations: 0 / 0.7932 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.8946, allocations: 0 / 0.7932 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.895, allocations: 0.5305 MB / 0.7937 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.8958, allocations: 341.5 kB / 0.794 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.8961, allocations: 0.6887 MB / 0.7947 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.953e-05/0.8961, allocations: 4 kB / 0.7947 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.8961, allocations: 14 kB / 0.7947 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.8961, allocations: 4 kB / 0.7947 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.9181, allocations: 6.439 MB / 0.801 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.9184, allocations: 224.8 kB / 0.8012 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.88, allocations: 3.562 kB / 0.8012 GB, free: 7.695 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)