Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.00512/0.00512, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.001231/0.001231, allocations: 188 kB / 16.67 MB, free: 5.918 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 / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8221/0.8221, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 68.39 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1494, allocations: 80.19 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004274/0.1537, allocations: 3.024 MB / 0.6622 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002863/0.1566, allocations: 2.152 MB / 0.6643 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.1568, allocations: 7.938 kB / 0.6643 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.1582, allocations: 0.492 MB / 0.6648 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.1585, allocations: 146.8 kB / 0.6649 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.1587, allocations: 67.92 kB / 0.665 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.1592, allocations: 445.8 kB / 0.6654 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.1595, allocations: 147.2 kB / 0.6655 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.1597, allocations: 159.4 kB / 0.6657 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.1599, allocations: 183.1 kB / 0.6659 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.16, allocations: 36 kB / 0.6659 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.1601, allocations: 32 kB / 0.6659 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.1602, allocations: 103.7 kB / 0.666 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.1604, allocations: 226.8 kB / 0.6663 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005904/0.161, allocations: 0.5447 MB / 0.6668 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.161, allocations: 0 / 0.6668 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.161, allocations: 0 / 0.6668 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.1611, allocations: 0 / 0.6668 GB, free: 6.215 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.001089/0.1622, allocations: 0.7121 MB / 0.6675 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1622, allocations: 8.031 kB / 0.6675 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.56e-05/0.1623, allocations: 54.73 kB / 0.6675 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.384e-05/0.1624, allocations: 48.61 kB / 0.6676 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.1629, allocations: 386.4 kB / 0.668 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.163, allocations: 24.56 kB / 0.668 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.163, allocations: 23.95 kB / 0.668 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.1635, allocations: 203.3 kB / 0.6682 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1635, allocations: 0 / 0.6682 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1635, allocations: 8 kB / 0.6682 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1635, allocations: 8 kB / 0.6682 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.1639, allocations: 165.6 kB / 0.6684 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.1652, allocations: 0.8664 MB / 0.6692 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.1655, allocations: 151.9 kB / 0.6694 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.1657, allocations: 112.8 kB / 0.6695 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1658, allocations: 11.88 kB / 0.6695 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1658, allocations: 34.56 kB / 0.6695 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.366e-06/0.1658, allocations: 0 / 0.6695 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006133/0.1664, allocations: 253.5 kB / 0.6698 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.1665, allocations: 55.41 kB / 0.6698 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/0.167, allocations: 413.7 kB / 0.6702 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.167, allocations: 33.7 kB / 0.6702 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.1672, allocations: 212.3 kB / 0.6704 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.1673, allocations: 59.44 kB / 0.6705 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.1674, allocations: 37.7 kB / 0.6705 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.1675, allocations: 346.8 kB / 0.6709 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.1677, allocations: 55.97 kB / 0.6709 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1678, allocations: 59.91 kB / 0.671 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.1682, allocations: 139.4 kB / 0.6711 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1682, allocations: 0 / 0.6711 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004074/0.1686, allocations: 205.3 kB / 0.6713 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1686, allocations: 8 kB / 0.6713 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1686, allocations: 0 / 0.6713 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1686, allocations: 3.938 kB / 0.6713 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.1689, allocations: 63.91 kB / 0.6714 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1689, allocations: 0 / 0.6714 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1691, allocations: 15.88 kB / 0.6714 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1691, allocations: 8 kB / 0.6714 GB, free: 1.246 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.0001823/0.1693, allocations: 162.5 kB / 0.6715 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.1693, allocations: 43.7 kB / 0.6716 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.1694, allocations: 35.59 kB / 0.6716 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1694, allocations: 4 kB / 0.6716 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1694, allocations: 3.938 kB / 0.6716 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.1695, allocations: 7.984 kB / 0.6716 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.1699, allocations: 373.3 kB / 0.672 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1699, allocations: 3.938 kB / 0.672 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.1702, allocations: 51.97 kB / 0.672 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1702, allocations: 0 / 0.672 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1702, allocations: 4 kB / 0.6721 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1702, allocations: 4 kB / 0.6721 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1702, allocations: 0 / 0.6721 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.1709, allocations: 392.1 kB / 0.6724 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.171, allocations: 124.8 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.1711, allocations: 11.98 kB / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1712, allocations: 15.92 kB / 0.6726 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.1713, allocations: 7.984 kB / 0.6726 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1713, allocations: 4 kB / 0.6726 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003604/0.1717, allocations: 311.2 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1717, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003217/0.172, allocations: 71.89 kB / 0.673 GB, free: 15.55 MB / 0.5137 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.001024/0.173, allocations: 0.9215 MB / 0.6739 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.1734, allocations: 139.8 kB / 0.674 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1735, allocations: 0 / 0.674 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.1736, allocations: 83.89 kB / 0.6741 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.1742, allocations: 92.58 kB / 0.6742 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.1789, allocations: 3.491 MB / 0.6776 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.1794, allocations: 0.7951 MB / 0.6783 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001443/0.1795, allocations: 34.97 kB / 0.6784 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.1797, allocations: 115.4 kB / 0.6785 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.1797, allocations: 4 kB / 0.6785 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2306/0.4103, allocations: 7.981 MB / 0.6863 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/9.182, allocations: 7.562 kB / 0.6863 GB, free: 2.059 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)