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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.008431/0.008431, allocations: 170.2 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.7552/0.7552, allocations: 135.2 MB / 151 MB, free: 13.81 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.663/1.663, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001007/0.001007, allocations: 105 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 12 kB / 0.5692 GB, free: 14.01 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.5221, allocations: 82.3 MB / 0.6496 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.7133, allocations: 131.5 MB / 0.778 GB, free: 384 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/0.7138, allocations: 127.9 kB / 0.7782 GB, free: 256 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04666/0.7604, allocations: 15.1 MB / 0.7929 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7605, allocations: 0 / 0.7929 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.7605, allocations: 0 / 0.7929 GB, free: 1.133 MB / 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.001281/0.7618, allocations: 0.5661 MB / 0.7935 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.7618, allocations: 12.03 kB / 0.7935 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.037e-05/0.7619, allocations: 105.8 kB / 0.7936 GB, free: 404 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.762, allocations: 87.14 kB / 0.7937 GB, free: 316 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.7622, allocations: 243.6 kB / 0.7939 GB, free: 32 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5549/1.317, allocations: 154.6 kB / 0.794 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/1.317, allocations: 150.6 kB / 0.7942 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/1.317, allocations: 104.1 kB / 0.7943 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/1.317, allocations: 77.62 kB / 0.7944 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/1.317, allocations: 151.2 kB / 0.7945 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/1.317, allocations: 150.6 kB / 0.7947 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/1.318, allocations: 151.1 kB / 0.7948 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/1.318, allocations: 466.7 kB / 0.7952 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.279e-05/1.318, allocations: 169.5 kB / 0.7954 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/1.318, allocations: 78.14 kB / 0.7955 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.318, allocations: 112.4 kB / 0.7956 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 2.435e-06/1.318, allocations: 0 / 0.7956 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001056/1.318, allocations: 38.28 kB / 0.7956 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/1.318, allocations: 130.7 kB / 0.7957 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/1.318, allocations: 120.8 kB / 0.7959 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/1.319, allocations: 27.89 kB / 0.7959 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/1.319, allocations: 90.27 kB / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/1.319, allocations: 0 / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/1.319, allocations: 0 / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/1.319, allocations: 321.1 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/1.319, allocations: 4.5 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/1.319, allocations: 4.625 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/1.319, allocations: 5.484 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.319, allocations: 0 / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001697/1.319, allocations: 53.19 kB / 0.7963 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.319, allocations: 5.672 kB / 0.7963 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/1.319, allocations: 2.562 kB / 0.7964 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/1.319, allocations: 5.484 kB / 0.7964 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-06/1.319, allocations: 0 / 0.7964 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.319, allocations: 3.953 kB / 0.7964 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/1.319, allocations: 3.875 kB / 0.7964 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/1.319, allocations: 1.938 kB / 0.7964 GB, free: 129.7 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 0.0001385/1.319, allocations: 184.8 kB / 0.7965 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/1.319, allocations: 113 kB / 0.7966 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/1.32, allocations: 118.5 kB / 0.7968 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/1.32, allocations: 179.7 kB / 0.7969 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.11e-05/1.32, allocations: 182.5 kB / 0.7971 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.095e-05/1.32, allocations: 181.5 kB / 0.7973 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/1.32, allocations: 415.9 kB / 0.7977 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/1.32, allocations: 108.2 kB / 0.7978 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/1.32, allocations: 108.8 kB / 0.7979 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.765e-05/1.32, allocations: 183 kB / 0.7981 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/1.32, allocations: 181.8 kB / 0.7982 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-05/1.32, allocations: 183.3 kB / 0.7984 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.815e-05/1.32, allocations: 185.2 kB / 0.7986 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/1.32, allocations: 313.4 kB / 0.7989 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/1.32, allocations: 185.1 kB / 0.7991 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/1.32, allocations: 187.8 kB / 0.7992 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/1.321, allocations: 102.2 kB / 0.7993 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/1.321, allocations: 182.8 kB / 0.7995 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/1.321, allocations: 103.2 kB / 0.7996 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.68e-05/1.321, allocations: 98.98 kB / 0.7997 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.321, allocations: 1.406 kB / 0.7997 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002561/1.323, allocations: 315 kB / 0.8 GB, free: 126.2 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.003224/1.327, allocations: 1.186 MB / 0.8012 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001859/1.327, allocations: 35.95 kB / 0.8012 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.327, allocations: 6.062 kB / 0.8012 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/1.327, allocations: 0.875 kB / 0.8012 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/1.327, allocations: 0.5221 MB / 0.8017 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/1.329, allocations: 0.6048 MB / 0.8023 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/1.329, allocations: 0.685 MB / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.106e-05/1.329, allocations: 1.469 kB / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/1.329, allocations: 18.47 kB / 0.803 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of SimCode: time 3.1e-07/1.329, allocations: 0.9688 kB / 0.803 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04262/1.371, allocations: 6.249 MB / 0.8091 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003217/1.372, allocations: 263.2 kB / 0.8093 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/3.557, allocations: 0 / 0.8093 GB, free: 122.9 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)