Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.001486/0.001486, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 191.8 kB / 16.25 MB, free: 6.648 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.904/0.904, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 60.16 kB / 0.505 GB, free: 5.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1493, allocations: 80.93 MB / 0.584 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003979/0.1533, allocations: 3.053 MB / 0.587 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.1556, allocations: 2.114 MB / 0.5891 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1557, allocations: 4 kB / 0.5891 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1568, allocations: 478.1 kB / 0.5895 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1571, allocations: 127.1 kB / 0.5897 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.984e-05/0.1572, allocations: 51.95 kB / 0.5897 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.1576, allocations: 448.8 kB / 0.5901 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.1578, allocations: 163.2 kB / 0.5903 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.158, allocations: 155.3 kB / 0.5904 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1582, allocations: 187.1 kB / 0.5906 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.1583, allocations: 36 kB / 0.5907 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.092e-05/0.1583, allocations: 32 kB / 0.5907 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1584, allocations: 99.66 kB / 0.5908 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.1586, allocations: 222.9 kB / 0.591 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.159, allocations: 0.5411 MB / 0.5915 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.159, allocations: 7.922 kB / 0.5915 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.159, allocations: 0 / 0.5915 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.1591, allocations: 4 kB / 0.5915 GB, free: 13.03 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000916/0.16, allocations: 0.6928 MB / 0.5922 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.16, allocations: 11.97 kB / 0.5922 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.1601, allocations: 58.73 kB / 0.5923 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.1602, allocations: 48.38 kB / 0.5923 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.1606, allocations: 382 kB / 0.5927 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1606, allocations: 12.81 kB / 0.5927 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.1606, allocations: 23.94 kB / 0.5927 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.161, allocations: 199.3 kB / 0.5929 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.161, allocations: 0 / 0.5929 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.1611, allocations: 8 kB / 0.5929 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1611, allocations: 4 kB / 0.5929 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.1614, allocations: 169.6 kB / 0.5931 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1625, allocations: 0.8661 MB / 0.5939 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1628, allocations: 150.6 kB / 0.5941 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.163, allocations: 112.8 kB / 0.5942 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.163, allocations: 4 kB / 0.5942 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.163, allocations: 38.5 kB / 0.5942 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.163, allocations: 0 / 0.5942 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005449/0.1636, allocations: 257.3 kB / 0.5945 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1636, allocations: 51.41 kB / 0.5945 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.164, allocations: 421.7 kB / 0.5949 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.1641, allocations: 25.7 kB / 0.5949 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1642, allocations: 212.3 kB / 0.5951 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.1643, allocations: 59.05 kB / 0.5952 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.1643, allocations: 29.72 kB / 0.5952 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1645, allocations: 346.8 kB / 0.5956 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1646, allocations: 63.95 kB / 0.5956 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1647, allocations: 54.03 kB / 0.5957 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.165, allocations: 144.6 kB / 0.5958 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.165, allocations: 3.984 kB / 0.5958 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003401/0.1654, allocations: 199.6 kB / 0.596 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1654, allocations: 14.17 kB / 0.596 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1654, allocations: 0 / 0.596 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1654, allocations: 3.938 kB / 0.596 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.1657, allocations: 51.91 kB / 0.5961 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1657, allocations: 8 kB / 0.5961 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.1658, allocations: 27.81 kB / 0.5961 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1659, allocations: 4 kB / 0.5961 GB, free: 8.094 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001456/0.166, allocations: 161.8 kB / 0.5963 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.1661, allocations: 43.41 kB / 0.5963 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.1661, allocations: 39.59 kB / 0.5963 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1662, allocations: 4 kB / 0.5963 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1662, allocations: 4 kB / 0.5963 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1662, allocations: 0 / 0.5963 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.1665, allocations: 373.3 kB / 0.5967 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1665, allocations: 0 / 0.5967 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.1668, allocations: 63.84 kB / 0.5968 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1668, allocations: 4 kB / 0.5968 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1668, allocations: 0 / 0.5968 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1668, allocations: 0 / 0.5968 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1668, allocations: 0 / 0.5968 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.1674, allocations: 382.8 kB / 0.5971 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.1675, allocations: 124.6 kB / 0.5973 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.1675, allocations: 0 / 0.5973 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.1677, allocations: 19.89 kB / 0.5973 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.1678, allocations: 11.92 kB / 0.5973 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1678, allocations: 12.06 kB / 0.5973 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002872/0.1681, allocations: 303.1 kB / 0.5976 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1681, allocations: 0 / 0.5976 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002769/0.1684, allocations: 75.84 kB / 0.5977 GB, free: 6.406 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0008263/0.1692, allocations: 0.9169 MB / 0.5986 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.1695, allocations: 147.9 kB / 0.5987 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1695, allocations: 0 / 0.5987 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1697, allocations: 79.89 kB / 0.5988 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.1703, allocations: 101.5 kB / 0.5989 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.1746, allocations: 3.647 MB / 0.6024 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.175, allocations: 0.795 MB / 0.6032 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.1751, allocations: 34.91 kB / 0.6032 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.1752, allocations: 119.4 kB / 0.6034 GB, free: 460 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1752, allocations: 0 / 0.6034 GB, free: 460 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.425/0.6002, allocations: 7.684 MB / 0.6109 GB, free: 52.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.6004, allocations: 270 kB / 0.6111 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.744, allocations: 5.828 kB / 0.6111 GB, free: 51.84 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)