Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_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_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.005143/0.005143, allocations: 99.92 kB / 15.73 MB, free: 6.047 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.001164/0.001165, allocations: 185.6 kB / 16.67 MB, free: 5.969 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7188/0.7188, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 68.19 kB / 0.5809 GB, free: 1.145 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1486, allocations: 80.2 MB / 0.6593 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002446/0.1511, allocations: 1.429 MB / 0.6607 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004108/0.1553, allocations: 2.872 MB / 0.6635 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.1553, allocations: 3.938 kB / 0.6635 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.1554, allocations: 3.984 kB / 0.6635 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.1555, allocations: 23.8 kB / 0.6635 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003778/0.1593, allocations: 1.581 MB / 0.665 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.854e-05/0.1594, allocations: 43.73 kB / 0.6651 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.1594, allocations: 3.984 kB / 0.6651 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.898e-05/0.1595, allocations: 15.94 kB / 0.6651 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.642e-05/0.1595, allocations: 15.86 kB / 0.6651 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1595, allocations: 4 kB / 0.6651 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.1618, allocations: 1.529 MB / 0.6666 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.1618, allocations: 8 kB / 0.6666 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.1619, allocations: 15.86 kB / 0.6666 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.1635, allocations: 1.095 MB / 0.6677 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1635, allocations: 4 kB / 0.6677 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1636, allocations: 0 / 0.6677 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1636, allocations: 0 / 0.6677 GB, free: 5.355 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.0006938/0.1643, allocations: 0.5351 MB / 0.6682 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1643, allocations: 8.031 kB / 0.6682 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.1644, allocations: 110 kB / 0.6683 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.1644, allocations: 88.11 kB / 0.6684 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1646, allocations: 247.6 kB / 0.6687 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.1646, allocations: 158.4 kB / 0.6688 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.1647, allocations: 150.6 kB / 0.669 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.033e-05/0.1648, allocations: 109 kB / 0.6691 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.1648, allocations: 79.28 kB / 0.6691 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.1648, allocations: 150.6 kB / 0.6693 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.1649, allocations: 150.6 kB / 0.6694 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.1649, allocations: 154.5 kB / 0.6696 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.1652, allocations: 473.8 kB / 0.67 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/0.1653, allocations: 165.1 kB / 0.6702 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.1653, allocations: 80.14 kB / 0.6703 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1654, allocations: 75.28 kB / 0.6703 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.1654, allocations: 109.8 kB / 0.6704 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.1654, allocations: 4 kB / 0.6704 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.904e-05/0.1655, allocations: 37.59 kB / 0.6705 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.1656, allocations: 130.7 kB / 0.6706 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1657, allocations: 128.2 kB / 0.6707 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.1657, allocations: 25.7 kB / 0.6707 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.1658, allocations: 96.12 kB / 0.6708 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.1658, allocations: 0 / 0.6708 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.1658, allocations: 17.72 kB / 0.6709 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.1659, allocations: 326.7 kB / 0.6712 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.1659, allocations: 8 kB / 0.6712 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.616e-05/0.166, allocations: 4 kB / 0.6712 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.258e-05/0.166, allocations: 24.97 kB / 0.6712 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.166, allocations: 0 / 0.6712 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001232/0.1661, allocations: 53.58 kB / 0.6713 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1662, allocations: 8 kB / 0.6713 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.1662, allocations: 0 / 0.6713 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1662, allocations: 7.984 kB / 0.6713 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.1662, allocations: 4.062 kB / 0.6713 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1662, allocations: 0 / 0.6713 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.1662, allocations: 3.938 kB / 0.6713 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1663, allocations: 0 / 0.6713 GB, free: 1.457 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.628e-05/0.1663, allocations: 191.9 kB / 0.6715 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.1664, allocations: 108.9 kB / 0.6716 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.1665, allocations: 124.6 kB / 0.6717 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.195e-05/0.1665, allocations: 180.3 kB / 0.6719 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.437e-05/0.1666, allocations: 184.2 kB / 0.672 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.958e-05/0.1666, allocations: 176.3 kB / 0.6722 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1668, allocations: 417.1 kB / 0.6726 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.1669, allocations: 109 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.1669, allocations: 101 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.985e-05/0.167, allocations: 184.2 kB / 0.673 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.1671, allocations: 176.3 kB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.055e-05/0.1671, allocations: 184.2 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.292e-05/0.1672, allocations: 184.2 kB / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.1673, allocations: 311.7 kB / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.1674, allocations: 190 kB / 0.674 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.1674, allocations: 184.3 kB / 0.6741 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1675, allocations: 104.9 kB / 0.6742 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.1676, allocations: 180.3 kB / 0.6744 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.1676, allocations: 104.9 kB / 0.6745 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.1677, allocations: 105.1 kB / 0.6746 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1677, allocations: 0 / 0.6746 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007347/0.1684, allocations: 287 kB / 0.6749 GB, free: 13.53 MB / 0.5137 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.001413/0.1698, allocations: 1.175 MB / 0.676 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.272e-05/0.1699, allocations: 41.64 kB / 0.6761 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.17, allocations: 0 / 0.6761 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.17, allocations: 7.938 kB / 0.6761 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.1703, allocations: 467.7 kB / 0.6765 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1717, allocations: 1.602 MB / 0.6781 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1719, allocations: 0.6846 MB / 0.6788 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.533e-05/0.172, allocations: 0 / 0.6788 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.172, allocations: 15.44 kB / 0.6788 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.172, allocations: 0 / 0.6788 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.1971, allocations: 7.029 MB / 0.6856 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.711, allocations: 15.23 kB / 0.6857 GB, free: 2.57 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)