Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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.007552/0.007552, allocations: 100.9 kB / 15.73 MB, free: 6 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.002004/0.002004, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002516/0.002516, allocations: 282.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9969/0.9969, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 96.28 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1573, allocations: 86.97 MB / 0.766 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002588/0.1599, allocations: 1.379 MB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002997/0.1629, allocations: 1.795 MB / 0.7691 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.163, allocations: 0 / 0.7691 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.657e-05/0.1631, allocations: 7.922 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.1633, allocations: 39.81 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.1662, allocations: 1.134 MB / 0.7702 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1663, allocations: 51.72 kB / 0.7703 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.1664, allocations: 7.984 kB / 0.7703 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.1665, allocations: 23.92 kB / 0.7703 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.045e-05/0.1665, allocations: 27.84 kB / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1666, allocations: 4 kB / 0.7703 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.1681, allocations: 0.8852 MB / 0.7712 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.1682, allocations: 67.8 kB / 0.7713 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.1683, allocations: 75.36 kB / 0.7713 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.1696, allocations: 0.8805 MB / 0.7722 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1696, allocations: 0 / 0.7722 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1696, allocations: 0 / 0.7722 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.1696, allocations: 0 / 0.7722 GB, free: 2.477 MB / 0.5606 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.0007457/0.1704, allocations: 0.5984 MB / 0.7728 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1704, allocations: 11.97 kB / 0.7728 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.1705, allocations: 46.73 kB / 0.7728 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.1705, allocations: 28.73 kB / 0.7729 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1708, allocations: 230.9 kB / 0.7731 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1708, allocations: 384 / 0.7731 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1708, allocations: 4.375 kB / 0.7731 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.171, allocations: 105.6 kB / 0.7732 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.171, allocations: 0 / 0.7732 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.171, allocations: 0 / 0.7732 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.171, allocations: 0 / 0.7732 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.621e-05/0.1711, allocations: 83.89 kB / 0.7733 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.1714, allocations: 273.9 kB / 0.7735 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1715, allocations: 122.5 kB / 0.7736 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1716, allocations: 108.9 kB / 0.7737 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1717, allocations: 3.938 kB / 0.7738 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1717, allocations: 34.56 kB / 0.7738 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.072e-06/0.1717, allocations: 0 / 0.7738 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0004082/0.1721, allocations: 339.7 kB / 0.7741 GB, free: 348 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1722, allocations: 51.41 kB / 0.7742 GB, free: 284 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1724, allocations: 257 kB / 0.7744 GB, free: 20 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.2928/0.4653, allocations: 25.7 kB / 0.7744 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.4654, allocations: 127.3 kB / 0.7746 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.682e-05/0.4655, allocations: 109.1 kB / 0.7747 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.4656, allocations: 31.28 kB / 0.7747 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.4656, allocations: 340.5 kB / 0.775 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.4658, allocations: 74.25 kB / 0.7751 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.765e-05/0.4659, allocations: 74.17 kB / 0.7752 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.4661, allocations: 199.3 kB / 0.7753 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.4661, allocations: 0.5625 kB / 0.7753 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003032/0.4664, allocations: 229.2 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4665, allocations: 7.812 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.4665, allocations: 4.969 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.4665, allocations: 0.9844 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-06/0.4665, allocations: 3.75 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4665, allocations: 2.328 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.4666, allocations: 13.48 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.4666, allocations: 1.312 kB / 0.7756 GB, free: 14.36 MB / 0.5606 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.0001234/0.4667, allocations: 163.1 kB / 0.7757 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.4668, allocations: 23.88 kB / 0.7758 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.4671, allocations: 249.7 kB / 0.776 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4671, allocations: 5.188 kB / 0.776 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.4671, allocations: 2.688 kB / 0.776 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.4671, allocations: 1.875 kB / 0.776 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.4674, allocations: 280.6 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.4674, allocations: 2.047 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/0.4674, allocations: 1.469 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4674, allocations: 0.75 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.4674, allocations: 1.375 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4674, allocations: 6.875 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4674, allocations: 1.719 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.4677, allocations: 262.1 kB / 0.7765 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.4677, allocations: 102.2 kB / 0.7766 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.4678, allocations: 0.6562 kB / 0.7766 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.4678, allocations: 7.188 kB / 0.7767 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.4678, allocations: 5.969 kB / 0.7767 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.4678, allocations: 4.078 kB / 0.7767 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000174/0.468, allocations: 193.9 kB / 0.7768 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.468, allocations: 0 / 0.7768 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006905/0.4687, allocations: 214.1 kB / 0.7771 GB, free: 13.7 MB / 0.5606 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.001214/0.4699, allocations: 1.024 MB / 0.7781 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.4703, allocations: 269.4 kB / 0.7783 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4703, allocations: 0.8125 kB / 0.7783 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.4704, allocations: 177.6 kB / 0.7785 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.4707, allocations: 31.09 kB / 0.7785 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.4731, allocations: 2.574 MB / 0.781 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.4733, allocations: 0.7669 MB / 0.7818 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.476e-05/0.4734, allocations: 4.578 kB / 0.7818 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.4735, allocations: 55.08 kB / 0.7818 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.4735, allocations: 0 / 0.7818 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.5059, allocations: 7.741 MB / 0.7894 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.792, allocations: 14.88 kB / 0.7894 GB, free: 10.06 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)