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.01063/0.01063, allocations: 170.3 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8432/0.8432, allocations: 135.2 MB / 151 MB, free: 13.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.503/1.503, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 100.1 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 12 kB / 0.5692 GB, free: 13.98 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4146, allocations: 82.3 MB / 0.6496 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.5806, allocations: 132.3 MB / 0.7788 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.581, allocations: 123.9 kB / 0.7789 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04613/0.6272, allocations: 15.42 MB / 0.7939 GB, free: 76 kB / 0.5573 GB Notification: Performance of FrontEnd: time 2.875e-06/0.6272, allocations: 0 / 0.7939 GB, free: 76 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.6272, allocations: 0 / 0.7939 GB, free: 76 kB / 0.5573 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.3831/1.01, allocations: 0.5696 MB / 0.7945 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.01, allocations: 9.375 kB / 0.7945 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/1.01, allocations: 110.5 kB / 0.7946 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/1.011, allocations: 86.05 kB / 0.7947 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/1.011, allocations: 249.7 kB / 0.7949 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/1.011, allocations: 152.2 kB / 0.7951 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/1.011, allocations: 155.1 kB / 0.7952 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.54e-05/1.011, allocations: 105 kB / 0.7953 GB, free: 131 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/1.011, allocations: 76.09 kB / 0.7954 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/1.011, allocations: 153.3 kB / 0.7955 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/1.011, allocations: 152.6 kB / 0.7957 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.719e-05/1.011, allocations: 155.8 kB / 0.7958 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/1.011, allocations: 466.9 kB / 0.7963 GB, free: 130 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.15e-05/1.011, allocations: 170.6 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/1.011, allocations: 75.8 kB / 0.7965 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.011, allocations: 112.2 kB / 0.7966 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/1.011, allocations: 4.656 kB / 0.7966 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 6.883e-05/1.011, allocations: 34.67 kB / 0.7967 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/1.011, allocations: 128.9 kB / 0.7968 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/1.011, allocations: 122 kB / 0.7969 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/1.011, allocations: 25.7 kB / 0.7969 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/1.011, allocations: 95.06 kB / 0.797 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/1.012, allocations: 0 / 0.797 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/1.012, allocations: 0 / 0.797 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.148e-05/1.012, allocations: 321.4 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/1.012, allocations: 8.438 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/1.012, allocations: 4.844 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/1.012, allocations: 6.875 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.012, allocations: 2.5 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001261/1.012, allocations: 50.11 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.012, allocations: 7.656 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/1.012, allocations: 7.281 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/1.012, allocations: 0 / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/1.012, allocations: 1.453 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.012, allocations: 0 / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/1.012, allocations: 3.766 kB / 0.7974 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/1.012, allocations: 2.297 kB / 0.7974 GB, free: 128.9 MB / 0.5573 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 (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 8.289e-05/1.012, allocations: 188.1 kB / 0.7976 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/1.012, allocations: 114.5 kB / 0.7977 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/1.012, allocations: 116 kB / 0.7978 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/1.012, allocations: 181.2 kB / 0.798 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.651e-05/1.012, allocations: 178.2 kB / 0.7981 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/1.012, allocations: 181.2 kB / 0.7983 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/1.012, allocations: 420.4 kB / 0.7987 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.012, allocations: 107.4 kB / 0.7988 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/1.012, allocations: 107.3 kB / 0.7989 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.599e-05/1.012, allocations: 183.8 kB / 0.7991 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/1.012, allocations: 181.3 kB / 0.7993 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-05/1.013, allocations: 178.9 kB / 0.7994 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.533e-05/1.013, allocations: 188.2 kB / 0.7996 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.14e-05/1.013, allocations: 316.5 kB / 0.7999 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/1.013, allocations: 185.9 kB / 0.8001 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/1.013, allocations: 183.4 kB / 0.8003 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.389e-05/1.013, allocations: 107.5 kB / 0.8004 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/1.013, allocations: 178.1 kB / 0.8005 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/1.013, allocations: 107.5 kB / 0.8007 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.485e-05/1.013, allocations: 99.61 kB / 0.8007 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.81e-07/1.013, allocations: 0 / 0.8007 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00129/1.014, allocations: 318.3 kB / 0.801 GB, free: 125.4 MB / 0.5573 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 () * Number of clocked 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.001353/1.016, allocations: 1.186 MB / 0.8022 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001058/1.016, allocations: 43.78 kB / 0.8022 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.016, allocations: 0 / 0.8022 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/1.016, allocations: 4.312 kB / 0.8023 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/1.016, allocations: 0.5264 MB / 0.8028 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/1.017, allocations: 0.6058 MB / 0.8034 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/1.017, allocations: 0.685 MB / 0.804 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.314e-05/1.017, allocations: 0.7812 kB / 0.804 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/1.017, allocations: 15.52 kB / 0.804 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/1.017, allocations: 3.031 kB / 0.804 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/1.041, allocations: 6.407 MB / 0.8103 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/1.041, allocations: 258.5 kB / 0.8105 GB, free: 122 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.822, allocations: 0 / 0.8105 GB, free: 122 MB / 0.5573 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)