Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001464/0.001464, allocations: 174.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.847/0.847, 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.547/1.547, allocations: 221.3 MB / 400.4 MB, free: 5.801 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.0008474/0.0008475, allocations: 99.83 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.617e-05/5.623e-05, allocations: 3.875 kB / 0.5602 GB, free: 87.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1742, allocations: 82.31 MB / 0.6406 GB, free: 7.684 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6544/0.8286, allocations: 132.2 MB / 0.7697 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.8289, allocations: 116.5 kB / 0.7698 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04838/0.8774, allocations: 15.35 MB / 0.7848 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8774, allocations: 0 / 0.7848 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.8774, allocations: 0 / 0.7848 GB, free: 8.703 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.001081/0.8785, allocations: 0.5603 MB / 0.7853 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.8786, allocations: 12.03 kB / 0.7853 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/0.8787, allocations: 105.8 kB / 0.7854 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.8788, allocations: 87.14 kB / 0.7855 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.879, allocations: 246.3 kB / 0.7858 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.879, allocations: 150.6 kB / 0.7859 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.8791, allocations: 150.6 kB / 0.786 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.193e-05/0.8792, allocations: 109 kB / 0.7861 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.8792, allocations: 78.72 kB / 0.7862 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.8793, allocations: 150.6 kB / 0.7864 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/0.8794, allocations: 154.5 kB / 0.7865 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.163e-05/0.8794, allocations: 158.4 kB / 0.7867 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.8798, allocations: 472.5 kB / 0.7871 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.8799, allocations: 168.6 kB / 0.7873 GB, free: 6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.88, allocations: 80.14 kB / 0.7874 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.88, allocations: 79.28 kB / 0.7874 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.945e-05/0.8801, allocations: 105.8 kB / 0.7875 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.8801, allocations: 4 kB / 0.7875 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.000101/0.8802, allocations: 37.55 kB / 0.7876 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.8803, allocations: 126.7 kB / 0.7877 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.8805, allocations: 122.9 kB / 0.7878 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.8805, allocations: 25.7 kB / 0.7878 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.8806, allocations: 90.94 kB / 0.7879 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.8806, allocations: 0 / 0.7879 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.8806, allocations: 4 kB / 0.7879 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.8808, allocations: 322.4 kB / 0.7882 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.8809, allocations: 11.62 kB / 0.7882 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.8809, allocations: 4 kB / 0.7882 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.8809, allocations: 7.984 kB / 0.7883 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8809, allocations: 0 / 0.7883 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000162/0.8811, allocations: 52.7 kB / 0.7883 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.8811, allocations: 4 kB / 0.7883 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.8812, allocations: 4 kB / 0.7883 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.8812, allocations: 0 / 0.7883 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.993e-06/0.8812, allocations: 4.062 kB / 0.7883 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.8812, allocations: 0 / 0.7883 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.8813, allocations: 3.906 kB / 0.7883 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.8813, allocations: 4 kB / 0.7883 GB, free: 4.891 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.0001343/0.8814, allocations: 184.2 kB / 0.7885 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/0.8815, allocations: 108.9 kB / 0.7886 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.76e-05/0.8816, allocations: 112.4 kB / 0.7887 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.378e-05/0.8817, allocations: 188.3 kB / 0.7889 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.462e-05/0.8818, allocations: 188.2 kB / 0.7891 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.688e-05/0.8819, allocations: 176.3 kB / 0.7892 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.8822, allocations: 419.4 kB / 0.7896 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.281e-05/0.8823, allocations: 104.9 kB / 0.7897 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.8823, allocations: 101 kB / 0.7898 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.664e-05/0.8824, allocations: 192.1 kB / 0.79 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.751e-05/0.8825, allocations: 176.3 kB / 0.7902 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.318e-05/0.8826, allocations: 183.1 kB / 0.7904 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.28e-05/0.8827, allocations: 180.2 kB / 0.7905 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.8829, allocations: 314.8 kB / 0.7908 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.8831, allocations: 186 kB / 0.791 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.8832, allocations: 176.3 kB / 0.7912 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.8833, allocations: 105.9 kB / 0.7913 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.8834, allocations: 187.1 kB / 0.7915 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/0.8835, allocations: 112.9 kB / 0.7916 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.507e-05/0.8836, allocations: 98.28 kB / 0.7917 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.8836, allocations: 4 kB / 0.7917 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001475/0.8851, allocations: 324 kB / 0.792 GB, free: 0.9727 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.00263/0.8877, allocations: 1.182 MB / 0.7931 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.8879, allocations: 41.45 kB / 0.7932 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8879, allocations: 0 / 0.7932 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.049e-06/0.8879, allocations: 2.625 kB / 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.0004881/0.8884, allocations: 0.5297 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.0011/0.8895, allocations: 341.6 kB / 0.794 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.8899, allocations: 0.6926 MB / 0.7947 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.8899, allocations: 0 / 0.7947 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.89, allocations: 14.81 kB / 0.7947 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/0.89, allocations: 0 / 0.7947 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.9134, allocations: 6.448 MB / 0.801 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.9136, allocations: 223.6 kB / 0.8012 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.705, allocations: 0 / 0.8012 GB, free: 7.672 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)