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.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.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.001603/0.001604, 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.7441/0.7441, 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.522/1.522, allocations: 221.3 MB / 400.4 MB, free: 5.875 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.0009139/0.0009141, allocations: 82.31 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.16e-05/4.162e-05, allocations: 4.469 kB / 0.5602 GB, free: 87.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1842, allocations: 82.31 MB / 0.6406 GB, free: 7.672 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6567/0.841, allocations: 131.5 MB / 0.769 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.8414, allocations: 120.6 kB / 0.7691 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04413/0.8855, allocations: 15.03 MB / 0.7837 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8855, allocations: 4 kB / 0.7837 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.8856, allocations: 4 kB / 0.7838 GB, free: 9.734 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.001148/0.8867, allocations: 0.5483 MB / 0.7843 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/0.8868, allocations: 15.97 kB / 0.7843 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.8869, allocations: 105.8 kB / 0.7844 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.887, allocations: 83.14 kB / 0.7845 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.8872, allocations: 243.1 kB / 0.7847 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/0.8872, allocations: 158.6 kB / 0.7849 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/0.8874, allocations: 154.5 kB / 0.785 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.268e-05/0.8874, allocations: 104.9 kB / 0.7851 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.8875, allocations: 75.28 kB / 0.7852 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.8876, allocations: 154.5 kB / 0.7853 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-05/0.8876, allocations: 150.6 kB / 0.7855 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.921e-05/0.8877, allocations: 158.5 kB / 0.7856 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.8881, allocations: 464.8 kB / 0.7861 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.8882, allocations: 173.1 kB / 0.7862 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.8882, allocations: 80.14 kB / 0.7863 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.8883, allocations: 79.28 kB / 0.7864 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.8884, allocations: 109.2 kB / 0.7865 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.8884, allocations: 0 / 0.7865 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 9.431e-05/0.8885, allocations: 33.61 kB / 0.7865 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.8886, allocations: 126.7 kB / 0.7866 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.8887, allocations: 118.3 kB / 0.7868 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.8887, allocations: 25.7 kB / 0.7868 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.8888, allocations: 94.38 kB / 0.7869 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/0.8888, allocations: 0 / 0.7869 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.8888, allocations: 3.938 kB / 0.7869 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.889, allocations: 322.7 kB / 0.7872 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.889, allocations: 4 kB / 0.7872 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.889, allocations: 0 / 0.7872 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.889, allocations: 15.36 kB / 0.7872 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.889, allocations: 0 / 0.7872 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.8892, allocations: 45.42 kB / 0.7872 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.8892, allocations: 8.062 kB / 0.7873 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.8892, allocations: 4 kB / 0.7873 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.8893, allocations: 0 / 0.7873 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.707e-06/0.8893, allocations: 3.984 kB / 0.7873 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.8893, allocations: 0 / 0.7873 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.8893, allocations: 0 / 0.7873 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.8893, allocations: 4 kB / 0.7873 GB, free: 5.949 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.000102/0.8894, allocations: 180.2 kB / 0.7874 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.8895, allocations: 116.8 kB / 0.7875 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.8896, allocations: 108.4 kB / 0.7877 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.367e-05/0.8896, allocations: 187.5 kB / 0.7878 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.516e-05/0.8897, allocations: 188.3 kB / 0.788 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.76e-05/0.8898, allocations: 180.2 kB / 0.7882 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.8901, allocations: 416.9 kB / 0.7886 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.985e-05/0.8901, allocations: 108.3 kB / 0.7887 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.8902, allocations: 112.9 kB / 0.7888 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.955e-05/0.8902, allocations: 180.2 kB / 0.789 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/0.8903, allocations: 180.3 kB / 0.7891 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.049e-05/0.8904, allocations: 180.2 kB / 0.7893 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.957e-05/0.8905, allocations: 184.1 kB / 0.7895 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.8906, allocations: 311.6 kB / 0.7898 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.8907, allocations: 189.9 kB / 0.79 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/0.8908, allocations: 179.6 kB / 0.7901 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.8909, allocations: 102 kB / 0.7902 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.891, allocations: 192.2 kB / 0.7904 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.891, allocations: 101 kB / 0.7905 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.092e-05/0.8911, allocations: 95.31 kB / 0.7906 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8911, allocations: 0 / 0.7906 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001119/0.8923, allocations: 324.1 kB / 0.7909 GB, free: 2.031 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.001877/0.8941, allocations: 1.184 MB / 0.7921 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.8943, allocations: 36.45 kB / 0.7921 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8943, allocations: 4 kB / 0.7921 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-06/0.8943, allocations: 0 / 0.7921 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.8947, allocations: 0.5335 MB / 0.7926 GB, free: 256 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008446/0.8955, allocations: 333.2 kB / 0.7929 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.8958, allocations: 0.6848 MB / 0.7936 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.8958, allocations: 0 / 0.7936 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.8959, allocations: 17.88 kB / 0.7936 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.8959, allocations: 0 / 0.7936 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.9186, allocations: 6.287 MB / 0.7998 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/0.9189, allocations: 232 kB / 0.8 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.765, allocations: 7.938 kB / 0.8 GB, free: 8.875 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)