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.007911/0.007911, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7977/0.7977, allocations: 135.2 MB / 151 MB, free: 13.82 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.646/1.646, allocations: 223.2 MB / 406.9 MB, free: 3.23 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.0009963/0.0009961, allocations: 99.62 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003581, allocations: 8 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4423, allocations: 82.31 MB / 0.6496 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.6154, allocations: 131.5 MB / 0.778 GB, free: 392 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.6158, allocations: 119.9 kB / 0.7782 GB, free: 272 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04645/0.6623, allocations: 15.1 MB / 0.7929 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6623, allocations: 0 / 0.7929 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.6623, allocations: 0 / 0.7929 GB, free: 1.148 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.00104/0.6634, allocations: 0.5717 MB / 0.7935 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.6634, allocations: 8.031 kB / 0.7935 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.6635, allocations: 109.8 kB / 0.7936 GB, free: 416 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.6636, allocations: 91.14 kB / 0.7937 GB, free: 324 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.6637, allocations: 243.1 kB / 0.7939 GB, free: 40 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4613/1.125, allocations: 150.6 kB / 0.794 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/1.125, allocations: 150.6 kB / 0.7942 GB, free: 132 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.745e-05/1.125, allocations: 103.9 kB / 0.7943 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/1.125, allocations: 77.16 kB / 0.7944 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/1.125, allocations: 151.1 kB / 0.7945 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/1.125, allocations: 154.5 kB / 0.7947 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/1.125, allocations: 150.6 kB / 0.7948 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/1.126, allocations: 463.4 kB / 0.7952 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.263e-05/1.126, allocations: 173 kB / 0.7954 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/1.126, allocations: 76.69 kB / 0.7955 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/1.126, allocations: 108.9 kB / 0.7956 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 2.835e-06/1.126, allocations: 6.219 kB / 0.7956 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001067/1.126, allocations: 37.73 kB / 0.7956 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/1.126, allocations: 127.2 kB / 0.7957 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/1.126, allocations: 121.7 kB / 0.7959 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/1.126, allocations: 25.7 kB / 0.7959 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/1.126, allocations: 91.92 kB / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/1.126, allocations: 0 / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/1.126, allocations: 1.625 kB / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/1.126, allocations: 321.3 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-05/1.126, allocations: 3.656 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/1.126, allocations: 5.234 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/1.126, allocations: 8.828 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.127, allocations: 0.7188 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001682/1.127, allocations: 49.34 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.127, allocations: 5.125 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/1.127, allocations: 3 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.127, allocations: 8.531 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-06/1.127, allocations: 0.6094 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.127, allocations: 8.609 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/1.127, allocations: 2.562 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/1.127, allocations: 2 kB / 0.7964 GB, free: 129.8 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.564e-05/1.127, allocations: 186.7 kB / 0.7965 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/1.127, allocations: 108.6 kB / 0.7967 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/1.127, allocations: 119.9 kB / 0.7968 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/1.127, allocations: 179.4 kB / 0.7969 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.673e-05/1.127, allocations: 184 kB / 0.7971 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.624e-05/1.127, allocations: 184.6 kB / 0.7973 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/1.127, allocations: 414.4 kB / 0.7977 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.127, allocations: 104.2 kB / 0.7978 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/1.128, allocations: 104.7 kB / 0.7979 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-05/1.128, allocations: 184.1 kB / 0.7981 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/1.128, allocations: 183.7 kB / 0.7982 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-05/1.128, allocations: 179.4 kB / 0.7984 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.755e-05/1.128, allocations: 183.1 kB / 0.7986 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/1.128, allocations: 316.2 kB / 0.7989 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/1.128, allocations: 186 kB / 0.7991 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/1.128, allocations: 182.4 kB / 0.7992 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/1.128, allocations: 104 kB / 0.7993 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/1.128, allocations: 182.2 kB / 0.7995 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/1.128, allocations: 103.6 kB / 0.7996 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.813e-05/1.128, allocations: 103.5 kB / 0.7997 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.128, allocations: 0 / 0.7997 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001767/1.13, allocations: 317.3 kB / 0.8 GB, free: 126.3 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.001801/1.132, allocations: 1.186 MB / 0.8012 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001185/1.132, allocations: 37.58 kB / 0.8012 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.132, allocations: 0.8125 kB / 0.8012 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/1.132, allocations: 0 / 0.8012 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/1.132, allocations: 0.5236 MB / 0.8017 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/1.133, allocations: 0.6029 MB / 0.8023 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/1.134, allocations: 0.6892 MB / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.891e-05/1.134, allocations: 1.531 kB / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/1.134, allocations: 14.17 kB / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of SimCode: time 2.8e-07/1.134, allocations: 0 / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/1.166, allocations: 6.244 MB / 0.8091 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/1.167, allocations: 247.9 kB / 0.8093 GB, free: 123 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/3.309, allocations: 4 kB / 0.8093 GB, free: 123 MB / 0.5573 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)