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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 108 kB / 15.61 MB, free: 152 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.001664/0.001664, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9627/0.9627, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.78 kB / 0.5055 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1504, allocations: 80.92 MB / 0.5845 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002366/0.1528, allocations: 1.421 MB / 0.5859 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003829/0.1567, allocations: 2.819 MB / 0.5887 GB, free: 128 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.1567, allocations: 0 / 0.5887 GB, free: 128 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.1567, allocations: 7.922 kB / 0.5887 GB, free: 120 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.1568, allocations: 11.86 kB / 0.5887 GB, free: 108 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.1601, allocations: 1.552 MB / 0.5902 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.1602, allocations: 47.67 kB / 0.5903 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.1603, allocations: 7.938 kB / 0.5903 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.1603, allocations: 15.92 kB / 0.5903 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.737e-05/0.1603, allocations: 11.94 kB / 0.5903 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.1603, allocations: 0 / 0.5903 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.1622, allocations: 1.423 MB / 0.5917 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.1622, allocations: 7.922 kB / 0.5917 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.1622, allocations: 15.94 kB / 0.5917 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.1634, allocations: 1.064 MB / 0.5927 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1634, allocations: 0 / 0.5927 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1635, allocations: 4 kB / 0.5927 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.1635, allocations: 0 / 0.5927 GB, free: 11.98 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.000543/0.164, allocations: 0.5146 MB / 0.5933 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1641, allocations: 8.031 kB / 0.5933 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.158e-05/0.1641, allocations: 110 kB / 0.5934 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.1642, allocations: 84.12 kB / 0.5934 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1643, allocations: 255.4 kB / 0.5937 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/0.1644, allocations: 162.7 kB / 0.5938 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.1645, allocations: 150.6 kB / 0.594 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.241e-05/0.1645, allocations: 105 kB / 0.5941 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.1646, allocations: 75.28 kB / 0.5942 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/0.1646, allocations: 158.5 kB / 0.5943 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/0.1647, allocations: 150.6 kB / 0.5945 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.772e-05/0.1647, allocations: 154.6 kB / 0.5946 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.165, allocations: 465.9 kB / 0.595 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.83e-05/0.1651, allocations: 169.1 kB / 0.5952 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.1651, allocations: 80.14 kB / 0.5953 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1652, allocations: 83.28 kB / 0.5954 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.1652, allocations: 105.8 kB / 0.5955 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.1652, allocations: 0 / 0.5955 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.086e-05/0.1653, allocations: 41.59 kB / 0.5955 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.1654, allocations: 126.7 kB / 0.5956 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1655, allocations: 128.2 kB / 0.5957 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.1655, allocations: 25.7 kB / 0.5958 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.1656, allocations: 100.1 kB / 0.5959 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.1656, allocations: 3.938 kB / 0.5959 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1656, allocations: 13.72 kB / 0.5959 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1657, allocations: 318.8 kB / 0.5962 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.1657, allocations: 3.984 kB / 0.5962 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/0.1658, allocations: 8 kB / 0.5962 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.558e-05/0.1658, allocations: 20.83 kB / 0.5962 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1658, allocations: 0 / 0.5962 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001205/0.1659, allocations: 57.56 kB / 0.5963 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.166, allocations: 4 kB / 0.5963 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.166, allocations: 4 kB / 0.5963 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.166, allocations: 0 / 0.5963 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.166, allocations: 3.938 kB / 0.5963 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.166, allocations: 0 / 0.5963 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.166, allocations: 3.938 kB / 0.5963 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.166, allocations: 4 kB / 0.5963 GB, free: 8.102 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.474e-05/0.1661, allocations: 189.1 kB / 0.5965 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.1662, allocations: 108.9 kB / 0.5966 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.1662, allocations: 116.8 kB / 0.5967 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.002e-05/0.1663, allocations: 180.3 kB / 0.5969 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.414e-05/0.1664, allocations: 180.2 kB / 0.597 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.443e-05/0.1664, allocations: 176.3 kB / 0.5972 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1666, allocations: 425.1 kB / 0.5976 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.967e-05/0.1667, allocations: 104.9 kB / 0.5977 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.1667, allocations: 101 kB / 0.5978 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-05/0.1668, allocations: 184.2 kB / 0.598 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.1668, allocations: 176.3 kB / 0.5981 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.358e-05/0.1669, allocations: 180.3 kB / 0.5983 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.035e-05/0.1669, allocations: 192.2 kB / 0.5985 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.1671, allocations: 311.7 kB / 0.5988 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.1671, allocations: 182 kB / 0.599 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.1672, allocations: 188.2 kB / 0.5991 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.1673, allocations: 109 kB / 0.5993 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.1674, allocations: 176.3 kB / 0.5994 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.1674, allocations: 104.9 kB / 0.5995 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.1675, allocations: 97.3 kB / 0.5996 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1675, allocations: 0 / 0.5996 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006645/0.1681, allocations: 275.8 kB / 0.5999 GB, free: 4.199 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.001122/0.1693, allocations: 1.165 MB / 0.601 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.676e-05/0.1694, allocations: 41.58 kB / 0.6011 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1694, allocations: 0 / 0.6011 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.1694, allocations: 0 / 0.6011 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1698, allocations: 464.4 kB / 0.6015 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.171, allocations: 1.577 MB / 0.603 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.1712, allocations: 0.6885 MB / 0.6037 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.325e-05/0.1713, allocations: 0 / 0.6037 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.1713, allocations: 15.44 kB / 0.6037 GB, free: 124 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1713, allocations: 0 / 0.6037 GB, free: 124 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2858/0.4571, allocations: 6.83 MB / 0.6104 GB, free: 52.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.535/9.992, allocations: 8.953 kB / 0.6104 GB, free: 52.36 MB / 0.4981 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/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)