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.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_dev_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_dev_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.006977/0.006977, allocations: 171.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8139/0.8139, allocations: 135.2 MB / 151 MB, free: 13.84 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.798/1.798, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.00151/0.00151, allocations: 92.8 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003664, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4425, allocations: 82.3 MB / 0.6496 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.6178, allocations: 132.3 MB / 0.7788 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/0.6182, allocations: 119.9 kB / 0.7789 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04683/0.6651, allocations: 15.42 MB / 0.7939 GB, free: 128 kB / 0.5573 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6651, allocations: 0 / 0.7939 GB, free: 128 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.6651, allocations: 0 / 0.7939 GB, free: 128 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.4446/1.11, allocations: 0.5668 MB / 0.7945 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/1.11, allocations: 10.12 kB / 0.7945 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/1.11, allocations: 107.5 kB / 0.7946 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/1.11, allocations: 87.48 kB / 0.7947 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/1.11, allocations: 245.8 kB / 0.7949 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/1.11, allocations: 155.4 kB / 0.7951 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/1.11, allocations: 151.4 kB / 0.7952 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.065e-05/1.11, allocations: 102.8 kB / 0.7953 GB, free: 131 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/1.11, allocations: 76.3 kB / 0.7954 GB, free: 131 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/1.11, allocations: 153.7 kB / 0.7955 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/1.11, allocations: 156 kB / 0.7957 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.999e-05/1.11, allocations: 153.5 kB / 0.7958 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/1.111, allocations: 470 kB / 0.7963 GB, free: 130 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.456e-05/1.111, allocations: 175.1 kB / 0.7964 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/1.111, allocations: 76 kB / 0.7965 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/1.111, allocations: 107.9 kB / 0.7966 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/1.111, allocations: 0 / 0.7966 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.873e-05/1.111, allocations: 31.95 kB / 0.7966 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/1.111, allocations: 128.8 kB / 0.7968 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/1.111, allocations: 129.8 kB / 0.7969 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/1.111, allocations: 27.58 kB / 0.7969 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/1.111, allocations: 90 kB / 0.797 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/1.111, allocations: 0.8125 kB / 0.797 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/1.111, allocations: 0 / 0.797 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/1.111, allocations: 322.3 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/1.111, allocations: 5.094 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/1.111, allocations: 5.516 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/1.111, allocations: 10.69 kB / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.111, allocations: 0 / 0.7973 GB, free: 129 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000137/1.111, allocations: 54.2 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.111, allocations: 5.328 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/1.111, allocations: 6.156 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.111, allocations: 0 / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.923e-06/1.111, allocations: 3 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.111, allocations: 0.6094 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/1.111, allocations: 1.562 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/1.111, allocations: 5.125 kB / 0.7974 GB, free: 129 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 7.421e-05/1.112, allocations: 188.8 kB / 0.7976 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/1.112, allocations: 111.4 kB / 0.7977 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/1.112, allocations: 115.8 kB / 0.7978 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/1.112, allocations: 178.5 kB / 0.798 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.505e-05/1.112, allocations: 183.9 kB / 0.7981 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/1.112, allocations: 182.4 kB / 0.7983 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/1.112, allocations: 417.3 kB / 0.7987 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/1.112, allocations: 105.6 kB / 0.7988 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/1.112, allocations: 106.4 kB / 0.7989 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.799e-05/1.112, allocations: 185.5 kB / 0.7991 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/1.112, allocations: 179.5 kB / 0.7993 GB, free: 127 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-05/1.112, allocations: 180.1 kB / 0.7994 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-05/1.112, allocations: 185.2 kB / 0.7996 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.578e-05/1.112, allocations: 313.8 kB / 0.7999 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/1.112, allocations: 190.6 kB / 0.8001 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/1.112, allocations: 177.8 kB / 0.8003 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/1.112, allocations: 113.2 kB / 0.8004 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/1.112, allocations: 180.5 kB / 0.8005 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/1.112, allocations: 106.2 kB / 0.8006 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.285e-05/1.113, allocations: 99.84 kB / 0.8007 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.113, allocations: 0 / 0.8007 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001581/1.114, allocations: 326.3 kB / 0.8011 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.001683/1.116, allocations: 1.188 MB / 0.8022 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001348/1.116, allocations: 44.83 kB / 0.8023 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.116, allocations: 0 / 0.8023 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.654e-06/1.116, allocations: 0.5 kB / 0.8023 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/1.116, allocations: 0.5294 MB / 0.8028 GB, free: 124 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009059/1.117, allocations: 0.6046 MB / 0.8034 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/1.117, allocations: 0.6862 MB / 0.804 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.932e-05/1.117, allocations: 0.9688 kB / 0.804 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/1.118, allocations: 15.84 kB / 0.804 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of SimCode: time 5.871e-06/1.118, allocations: 0 / 0.804 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/1.146, allocations: 6.405 MB / 0.8103 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.146, allocations: 255.9 kB / 0.8105 GB, free: 122 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/3.096, allocations: 3.438 kB / 0.8106 GB, free: 122 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)