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.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-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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_dev_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_dev_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.005544/0.005544, allocations: 95.02 kB / 15.73 MB, free: 6.039 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.001314/0.001314, allocations: 195.3 kB / 16.68 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8037/0.8037, allocations: 135.1 MB / 425.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 74.98 kB / 0.5852 GB, free: 21.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1459, allocations: 80.91 MB / 0.6642 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002561/0.1485, allocations: 1.382 MB / 0.6656 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.1514, allocations: 1.778 MB / 0.6673 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.1515, allocations: 4 kB / 0.6673 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.035e-05/0.1516, allocations: 7.922 kB / 0.6673 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.1518, allocations: 47.81 kB / 0.6674 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.1546, allocations: 1.135 MB / 0.6685 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.1548, allocations: 51.72 kB / 0.6685 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.1548, allocations: 7.984 kB / 0.6685 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.176e-05/0.1549, allocations: 27.84 kB / 0.6686 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.155, allocations: 35.91 kB / 0.6686 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.155, allocations: 0 / 0.6686 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1562, allocations: 0.8891 MB / 0.6695 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.027e-05/0.1563, allocations: 63.83 kB / 0.6695 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.1563, allocations: 71.36 kB / 0.6696 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009658/0.1573, allocations: 0.8766 MB / 0.6704 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1573, allocations: 0 / 0.6704 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1573, allocations: 0 / 0.6704 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1574, allocations: 0 / 0.6704 GB, free: 15.92 MB / 0.5137 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.0006194/0.158, allocations: 0.6062 MB / 0.671 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.158, allocations: 8.031 kB / 0.671 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.1581, allocations: 42.73 kB / 0.6711 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.1581, allocations: 24.78 kB / 0.6711 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1583, allocations: 230.9 kB / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1584, allocations: 3.938 kB / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.1584, allocations: 0 / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1585, allocations: 106.9 kB / 0.6714 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1585, allocations: 3.938 kB / 0.6714 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1585, allocations: 8 kB / 0.6715 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1585, allocations: 0 / 0.6715 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.1586, allocations: 75.97 kB / 0.6715 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.1589, allocations: 277.8 kB / 0.6718 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.159, allocations: 122.8 kB / 0.6719 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.1591, allocations: 105.1 kB / 0.672 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1591, allocations: 0 / 0.672 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1591, allocations: 38.56 kB / 0.672 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 2.274e-06/0.1591, allocations: 0 / 0.672 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.0003761/0.1595, allocations: 341.4 kB / 0.6724 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.1596, allocations: 51.41 kB / 0.6724 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1598, allocations: 257 kB / 0.6727 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1598, allocations: 25.7 kB / 0.6727 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.1599, allocations: 132.7 kB / 0.6728 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.16, allocations: 115 kB / 0.6729 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.16, allocations: 29.73 kB / 0.673 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1601, allocations: 346.8 kB / 0.6733 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.466e-05/0.1602, allocations: 71.97 kB / 0.6734 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.1603, allocations: 75.97 kB / 0.6734 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.1604, allocations: 197.8 kB / 0.6736 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1604, allocations: 0 / 0.6736 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002093/0.1607, allocations: 225.5 kB / 0.6738 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1607, allocations: 4 kB / 0.6738 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.1607, allocations: 11.94 kB / 0.6738 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1607, allocations: 4.062 kB / 0.6738 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1607, allocations: 0 / 0.6738 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1607, allocations: 0 / 0.6738 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.1608, allocations: 19.83 kB / 0.6739 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1608, allocations: 0 / 0.6739 GB, free: 12.18 MB / 0.5137 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.00011/0.1609, allocations: 157.7 kB / 0.674 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.161, allocations: 19.86 kB / 0.674 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.1612, allocations: 256.4 kB / 0.6743 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1612, allocations: 0 / 0.6743 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1613, allocations: 8.031 kB / 0.6743 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1613, allocations: 0 / 0.6743 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.1615, allocations: 281.9 kB / 0.6746 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1615, allocations: 4 kB / 0.6746 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1615, allocations: 0 / 0.6746 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1615, allocations: 0 / 0.6746 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.1615, allocations: 0 / 0.6746 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1615, allocations: 3.938 kB / 0.6746 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1615, allocations: 0 / 0.6746 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1617, allocations: 272.7 kB / 0.6748 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.1618, allocations: 104.9 kB / 0.6749 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1618, allocations: 0 / 0.6749 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-05/0.1619, allocations: 0 / 0.6749 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-06/0.1619, allocations: 4 kB / 0.6749 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1619, allocations: 0 / 0.6749 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001477/0.1621, allocations: 196.4 kB / 0.6751 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1621, allocations: 0 / 0.6751 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005939/0.1627, allocations: 211.4 kB / 0.6753 GB, free: 10.59 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 (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.001113/0.1638, allocations: 1.025 MB / 0.6763 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.1641, allocations: 265.5 kB / 0.6766 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1641, allocations: 0 / 0.6766 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1642, allocations: 177.6 kB / 0.6767 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1645, allocations: 28.67 kB / 0.6768 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.167, allocations: 2.583 MB / 0.6793 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1673, allocations: 0.7697 MB / 0.68 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.1673, allocations: 3.984 kB / 0.68 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.1674, allocations: 55.42 kB / 0.6801 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.1674, allocations: 0 / 0.6801 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.193, allocations: 7.702 MB / 0.6876 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.318, allocations: 6.375 kB / 0.6876 GB, free: 14.04 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)