Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.001549/0.00155, allocations: 112.5 kB / 15.73 MB, free: 76 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.001649/0.001648, allocations: 190.5 kB / 16.67 MB, free: 6.539 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.717/0.717, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 71.95 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1441, allocations: 80.21 MB / 0.6593 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002456/0.1466, allocations: 1.367 MB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002813/0.1494, allocations: 1.79 MB / 0.6623 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.1495, allocations: 4 kB / 0.6624 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.988e-05/0.1497, allocations: 7.922 kB / 0.6624 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.1498, allocations: 35.84 kB / 0.6624 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.1525, allocations: 1.131 MB / 0.6635 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.1527, allocations: 55.7 kB / 0.6636 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.1527, allocations: 4 kB / 0.6636 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.837e-05/0.1528, allocations: 27.86 kB / 0.6636 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.1529, allocations: 27.91 kB / 0.6636 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1529, allocations: 0 / 0.6636 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.1542, allocations: 0.8891 MB / 0.6645 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.935e-05/0.1543, allocations: 71.81 kB / 0.6645 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.1544, allocations: 67.38 kB / 0.6646 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.1556, allocations: 0.8805 MB / 0.6655 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1556, allocations: 0 / 0.6655 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1556, allocations: 0 / 0.6655 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.1556, allocations: 0 / 0.6655 GB, free: 7.633 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007211/0.1564, allocations: 0.601 MB / 0.6661 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1564, allocations: 8.031 kB / 0.6661 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.1565, allocations: 42.73 kB / 0.6661 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.1565, allocations: 24.75 kB / 0.6661 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.1567, allocations: 235 kB / 0.6664 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1567, allocations: 3.938 kB / 0.6664 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.1568, allocations: 3.938 kB / 0.6664 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1569, allocations: 109.6 kB / 0.6665 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1569, allocations: 4 kB / 0.6665 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1569, allocations: 0 / 0.6665 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1569, allocations: 7.922 kB / 0.6665 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.694e-05/0.157, allocations: 71.98 kB / 0.6665 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.1573, allocations: 281.8 kB / 0.6668 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1574, allocations: 122.6 kB / 0.6669 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.915e-05/0.1575, allocations: 104.9 kB / 0.667 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1575, allocations: 4 kB / 0.667 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.1575, allocations: 30.56 kB / 0.6671 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.273e-06/0.1575, allocations: 0 / 0.6671 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0003607/0.1579, allocations: 336 kB / 0.6674 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1579, allocations: 55.41 kB / 0.6674 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1582, allocations: 261 kB / 0.6677 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1582, allocations: 25.7 kB / 0.6677 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.1583, allocations: 128.7 kB / 0.6678 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.1583, allocations: 115 kB / 0.6679 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.1584, allocations: 25.7 kB / 0.668 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1585, allocations: 346.8 kB / 0.6683 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.1586, allocations: 67.98 kB / 0.6684 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.1586, allocations: 79.95 kB / 0.6684 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.1588, allocations: 204.7 kB / 0.6686 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1588, allocations: 3.984 kB / 0.6686 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002106/0.159, allocations: 221.8 kB / 0.6688 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.159, allocations: 8 kB / 0.6689 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.1591, allocations: 7.922 kB / 0.6689 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1591, allocations: 0 / 0.6689 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.1591, allocations: 0 / 0.6689 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1591, allocations: 0 / 0.6689 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.1592, allocations: 15.84 kB / 0.6689 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1592, allocations: 0 / 0.6689 GB, free: 3.898 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 0.0001261/0.1593, allocations: 162.4 kB / 0.669 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1593, allocations: 27.81 kB / 0.6691 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.1596, allocations: 248.4 kB / 0.6693 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1596, allocations: 7.984 kB / 0.6693 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1596, allocations: 0 / 0.6693 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1596, allocations: 0 / 0.6693 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.1598, allocations: 277.9 kB / 0.6696 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1598, allocations: 4 kB / 0.6696 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/0.1598, allocations: 0 / 0.6696 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1598, allocations: 4.031 kB / 0.6696 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1599, allocations: 7.938 kB / 0.6696 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1599, allocations: 0 / 0.6696 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1599, allocations: 0 / 0.6696 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1601, allocations: 260.8 kB / 0.6698 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.1602, allocations: 108.8 kB / 0.6699 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.1602, allocations: 0 / 0.6699 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.598e-05/0.1602, allocations: 7.938 kB / 0.6699 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.1602, allocations: 4.031 kB / 0.6699 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.1602, allocations: 0 / 0.6699 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001472/0.1604, allocations: 192.5 kB / 0.6701 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1604, allocations: 0 / 0.6701 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005792/0.161, allocations: 211.4 kB / 0.6703 GB, free: 2.297 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 (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 Backend phase and start with SimCode phase: time 0.001168/0.1622, allocations: 1.037 MB / 0.6713 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.1624, allocations: 273.5 kB / 0.6716 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1624, allocations: 0 / 0.6716 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.1626, allocations: 173.6 kB / 0.6718 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.1628, allocations: 21.25 kB / 0.6718 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.1651, allocations: 2.568 MB / 0.6743 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.1654, allocations: 0.7671 MB / 0.675 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.1655, allocations: 7.984 kB / 0.6751 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.1655, allocations: 59.41 kB / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1655, allocations: 0 / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.1912, allocations: 7.696 MB / 0.6826 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.105, allocations: 16.81 kB / 0.6826 GB, free: 5.773 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_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_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)