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.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 196 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8935/0.8935, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.48 kB / 0.5055 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1335, allocations: 80.92 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002485/0.136, allocations: 1.431 MB / 0.5859 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003998/0.14, allocations: 2.866 MB / 0.5887 GB, free: 96 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.1401, allocations: 0 / 0.5887 GB, free: 96 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.1401, allocations: 3.938 kB / 0.5887 GB, free: 92 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.107e-05/0.1402, allocations: 15.86 kB / 0.5887 GB, free: 76 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003552/0.1437, allocations: 1.575 MB / 0.5903 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.1438, allocations: 47.67 kB / 0.5903 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.1439, allocations: 7.938 kB / 0.5903 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.1439, allocations: 19.92 kB / 0.5903 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.436e-05/0.1439, allocations: 15.88 kB / 0.5904 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1439, allocations: 0 / 0.5904 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.1459, allocations: 1.451 MB / 0.5918 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.1459, allocations: 11.92 kB / 0.5918 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.1459, allocations: 19.88 kB / 0.5918 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.1473, allocations: 1.096 MB / 0.5929 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1473, allocations: 0 / 0.5929 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.455e-06/0.1474, allocations: 3.984 kB / 0.5929 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.1474, allocations: 0 / 0.5929 GB, free: 11.85 MB / 0.4981 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.0006061/0.148, allocations: 0.5223 MB / 0.5934 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.148, allocations: 8.031 kB / 0.5934 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.1481, allocations: 106 kB / 0.5935 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.1481, allocations: 88.12 kB / 0.5936 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1483, allocations: 243.6 kB / 0.5938 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.1483, allocations: 158.7 kB / 0.594 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.1484, allocations: 154.6 kB / 0.5941 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.22e-05/0.1484, allocations: 108.9 kB / 0.5942 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.1485, allocations: 75.28 kB / 0.5943 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.1485, allocations: 158.6 kB / 0.5944 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/0.1486, allocations: 150.6 kB / 0.5946 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.959e-05/0.1486, allocations: 150.6 kB / 0.5947 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.1489, allocations: 469.9 kB / 0.5952 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.794e-05/0.1489, allocations: 177 kB / 0.5953 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.149, allocations: 80.19 kB / 0.5954 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.149, allocations: 83.22 kB / 0.5955 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1491, allocations: 113.8 kB / 0.5956 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1491, allocations: 0 / 0.5956 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.725e-05/0.1491, allocations: 29.61 kB / 0.5956 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1492, allocations: 130.7 kB / 0.5958 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.1493, allocations: 143.6 kB / 0.5959 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.1493, allocations: 29.64 kB / 0.5959 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.1494, allocations: 84.14 kB / 0.596 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.1494, allocations: 4 kB / 0.596 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.1494, allocations: 17.72 kB / 0.596 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.1495, allocations: 314.8 kB / 0.5963 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.1495, allocations: 8 kB / 0.5963 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.1496, allocations: 8 kB / 0.5963 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/0.1496, allocations: 16.8 kB / 0.5964 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1496, allocations: 4 kB / 0.5964 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001123/0.1497, allocations: 49.59 kB / 0.5964 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1497, allocations: 4 kB / 0.5964 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.1498, allocations: 4 kB / 0.5964 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1498, allocations: 3.984 kB / 0.5964 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-06/0.1498, allocations: 3.938 kB / 0.5964 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1498, allocations: 4 kB / 0.5964 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.1498, allocations: 0 / 0.5964 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.1498, allocations: 4.062 kB / 0.5964 GB, free: 7.965 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.014e-05/0.1499, allocations: 193 kB / 0.5966 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.15, allocations: 108.9 kB / 0.5967 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.15, allocations: 108.9 kB / 0.5968 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.103e-05/0.1501, allocations: 180.2 kB / 0.597 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.906e-05/0.1501, allocations: 180.3 kB / 0.5972 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-05/0.1502, allocations: 188.2 kB / 0.5974 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.1504, allocations: 413.2 kB / 0.5977 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.91e-05/0.1504, allocations: 105 kB / 0.5978 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.1505, allocations: 104.9 kB / 0.5979 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.895e-05/0.1505, allocations: 180.2 kB / 0.5981 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/0.1506, allocations: 188.3 kB / 0.5983 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.895e-05/0.1506, allocations: 184.3 kB / 0.5985 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.566e-05/0.1507, allocations: 180.2 kB / 0.5986 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1508, allocations: 315.6 kB / 0.5989 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.1509, allocations: 194 kB / 0.5991 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.1509, allocations: 176.3 kB / 0.5993 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.151, allocations: 104.9 kB / 0.5994 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.1511, allocations: 176.3 kB / 0.5996 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.1511, allocations: 109 kB / 0.5997 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.624e-05/0.1512, allocations: 104.9 kB / 0.5998 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1512, allocations: 0 / 0.5998 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006851/0.1519, allocations: 287.8 kB / 0.6 GB, free: 4.039 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.1531, allocations: 1.176 MB / 0.6012 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.624e-05/0.1532, allocations: 41.7 kB / 0.6012 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1532, allocations: 0 / 0.6012 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.1532, allocations: 0 / 0.6012 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1535, allocations: 470.2 kB / 0.6017 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1548, allocations: 1.581 MB / 0.6032 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2143/0.369, allocations: 0.6823 MB / 0.6039 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.3691, allocations: 0.8438 kB / 0.6039 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.3691, allocations: 18.22 kB / 0.6039 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.3691, allocations: 2.062 kB / 0.6039 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.219/1.588, allocations: 7.033 MB / 0.6108 GB, free: 51.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.61, allocations: 10.28 kB / 0.6108 GB, free: 51.36 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)