Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.001323/0.001323, allocations: 173.9 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.733/0.733, 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.607/1.607, 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.0009432/0.0009434, allocations: 83.92 kB / 483.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.366e-05/4.368e-05, allocations: 3.219 kB / 0.5602 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1735, allocations: 82.31 MB / 0.6406 GB, free: 7.684 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6339/0.8076, allocations: 132.2 MB / 0.7697 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.8079, allocations: 122.2 kB / 0.7698 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04539/0.8533, allocations: 15.35 MB / 0.7848 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8534, allocations: 4 kB / 0.7848 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.8534, allocations: 0 / 0.7848 GB, free: 8.711 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.00123/0.8546, allocations: 0.5531 MB / 0.7853 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.8547, allocations: 11.97 kB / 0.7853 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.178e-05/0.8548, allocations: 105.8 kB / 0.7854 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.8549, allocations: 91.14 kB / 0.7855 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.8551, allocations: 250.3 kB / 0.7858 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.942e-05/0.8551, allocations: 150.6 kB / 0.7859 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.8552, allocations: 153.4 kB / 0.7861 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.017e-05/0.8553, allocations: 109 kB / 0.7862 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.8554, allocations: 75.28 kB / 0.7862 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.8554, allocations: 154.6 kB / 0.7864 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-05/0.8555, allocations: 150.6 kB / 0.7865 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.8556, allocations: 158.4 kB / 0.7867 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.856, allocations: 471.1 kB / 0.7871 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.954e-05/0.8561, allocations: 169.1 kB / 0.7873 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.8561, allocations: 80.14 kB / 0.7874 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.8562, allocations: 79.28 kB / 0.7874 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.8562, allocations: 109.2 kB / 0.7875 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.8563, allocations: 0 / 0.7875 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.566e-05/0.8563, allocations: 37.55 kB / 0.7876 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.8564, allocations: 134.7 kB / 0.7877 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.8566, allocations: 121.6 kB / 0.7878 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.8566, allocations: 25.7 kB / 0.7878 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.8567, allocations: 87.39 kB / 0.7879 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.8567, allocations: 0 / 0.7879 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-06/0.8567, allocations: 0 / 0.7879 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8568, allocations: 326.2 kB / 0.7882 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/0.8569, allocations: 4 kB / 0.7882 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.8569, allocations: 11.19 kB / 0.7882 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.8569, allocations: 4 kB / 0.7883 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8569, allocations: 0 / 0.7883 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001277/0.8571, allocations: 52.39 kB / 0.7883 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.8571, allocations: 4 kB / 0.7883 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/0.8571, allocations: 7.984 kB / 0.7883 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.8571, allocations: 0 / 0.7883 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.8571, allocations: 0 / 0.7883 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8572, allocations: 0 / 0.7883 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.8572, allocations: 3.906 kB / 0.7883 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.8572, allocations: 8.062 kB / 0.7883 GB, free: 4.895 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 9.433e-05/0.8573, allocations: 180.2 kB / 0.7885 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.8574, allocations: 104.9 kB / 0.7886 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.381e-05/0.8575, allocations: 124 kB / 0.7887 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.359e-05/0.8576, allocations: 180.4 kB / 0.7889 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.119e-05/0.8577, allocations: 184.2 kB / 0.7891 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.358e-05/0.8577, allocations: 184.2 kB / 0.7892 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.858, allocations: 412.2 kB / 0.7896 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.677e-05/0.8581, allocations: 112.9 kB / 0.7897 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.8581, allocations: 101 kB / 0.7898 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.502e-05/0.8582, allocations: 184.1 kB / 0.79 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.945e-05/0.8583, allocations: 180.3 kB / 0.7902 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.539e-05/0.8584, allocations: 183.7 kB / 0.7904 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.562e-05/0.8585, allocations: 184.3 kB / 0.7905 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.8587, allocations: 311 kB / 0.7908 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.8588, allocations: 194 kB / 0.791 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-05/0.8589, allocations: 176.3 kB / 0.7912 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.859, allocations: 109.9 kB / 0.7913 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.8591, allocations: 180.3 kB / 0.7915 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.8591, allocations: 108.9 kB / 0.7916 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.863e-05/0.8592, allocations: 100.5 kB / 0.7917 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8592, allocations: 0 / 0.7917 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001168/0.8604, allocations: 324.4 kB / 0.792 GB, free: 0.9805 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.002005/0.8624, allocations: 1.183 MB / 0.7931 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.8625, allocations: 40.75 kB / 0.7932 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8625, allocations: 0 / 0.7932 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.8625, allocations: 0 / 0.7932 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.8629, allocations: 0.5312 MB / 0.7937 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008525/0.8638, allocations: 345.6 kB / 0.794 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.8641, allocations: 0.6809 MB / 0.7947 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.721e-05/0.8641, allocations: 4 kB / 0.7947 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.8642, allocations: 22.48 kB / 0.7947 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/0.8642, allocations: 0 / 0.7947 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.8866, allocations: 6.42 MB / 0.801 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000316/0.887, allocations: 226.8 kB / 0.8012 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.764, allocations: 0 / 0.8012 GB, free: 7.684 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)