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.006702/0.006702, allocations: 105 kB / 15.73 MB, free: 6.055 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.001579/0.001579, allocations: 191.3 kB / 16.67 MB, free: 5.977 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 290.8 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9107/0.9107, allocations: 169.3 MB / 0.4983 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 96.14 kB / 0.681 GB, free: 7.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3733, allocations: 86.98 MB / 0.766 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002487/0.3758, allocations: 1.366 MB / 0.7673 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.3785, allocations: 1.8 MB / 0.7691 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.3786, allocations: 0 / 0.7691 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.487e-05/0.3787, allocations: 15.92 kB / 0.7691 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3788, allocations: 23.84 kB / 0.7691 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.3815, allocations: 1.143 MB / 0.7702 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.725e-05/0.3816, allocations: 55.59 kB / 0.7703 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.3817, allocations: 4 kB / 0.7703 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.3818, allocations: 23.97 kB / 0.7703 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.3818, allocations: 35.8 kB / 0.7703 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.3818, allocations: 0 / 0.7703 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.3831, allocations: 0.8891 MB / 0.7712 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.3832, allocations: 63.81 kB / 0.7713 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.3833, allocations: 71.38 kB / 0.7713 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.3843, allocations: 0.8774 MB / 0.7722 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3843, allocations: 0 / 0.7722 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3843, allocations: 0 / 0.7722 GB, free: 13.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3843, allocations: 0 / 0.7722 GB, free: 13.45 MB / 0.545 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.0006354/0.385, allocations: 0.5907 MB / 0.7728 GB, free: 12.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.385, allocations: 16.03 kB / 0.7728 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.3851, allocations: 42.73 kB / 0.7728 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.3851, allocations: 24.75 kB / 0.7728 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3853, allocations: 234.9 kB / 0.7731 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.3853, allocations: 384 / 0.7731 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.3853, allocations: 4.312 kB / 0.7731 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3855, allocations: 109.6 kB / 0.7732 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.3855, allocations: 0 / 0.7732 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.3855, allocations: 0 / 0.7732 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3855, allocations: 4 kB / 0.7732 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-05/0.3856, allocations: 75.91 kB / 0.7733 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.3858, allocations: 289.9 kB / 0.7735 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.386, allocations: 114.6 kB / 0.7736 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.3861, allocations: 112.8 kB / 0.7738 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3861, allocations: 3.938 kB / 0.7738 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3861, allocations: 34.56 kB / 0.7738 GB, free: 11.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.3861, allocations: 4 kB / 0.7738 GB, free: 11.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0003798/0.3865, allocations: 339.7 kB / 0.7741 GB, free: 11.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3866, allocations: 51.41 kB / 0.7742 GB, free: 11.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.3868, allocations: 261 kB / 0.7744 GB, free: 10.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.3868, allocations: 25.7 kB / 0.7744 GB, free: 10.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.3869, allocations: 124.7 kB / 0.7746 GB, free: 10.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.3869, allocations: 111 kB / 0.7747 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.387, allocations: 29.7 kB / 0.7747 GB, free: 10.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3871, allocations: 342.8 kB / 0.775 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.3872, allocations: 79.91 kB / 0.7751 GB, free: 10.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-05/0.3873, allocations: 71.97 kB / 0.7752 GB, free: 10.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3874, allocations: 200.8 kB / 0.7754 GB, free: 9.988 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3874, allocations: 0 / 0.7754 GB, free: 9.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002195/0.3877, allocations: 233.6 kB / 0.7756 GB, free: 9.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3877, allocations: 4 kB / 0.7756 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.3877, allocations: 4 kB / 0.7756 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3877, allocations: 0 / 0.7756 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3877, allocations: 0 / 0.7756 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.3877, allocations: 4.062 kB / 0.7756 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.3878, allocations: 11.89 kB / 0.7756 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3878, allocations: 0 / 0.7756 GB, free: 9.73 MB / 0.545 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.0001156/0.3879, allocations: 161.5 kB / 0.7758 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.388, allocations: 27.75 kB / 0.7758 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.3882, allocations: 256.4 kB / 0.776 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3882, allocations: 0 / 0.776 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3882, allocations: 3.938 kB / 0.776 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3883, allocations: 4 kB / 0.776 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.3885, allocations: 285.9 kB / 0.7763 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3885, allocations: 4 kB / 0.7763 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3885, allocations: 0 / 0.7763 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3885, allocations: 0 / 0.7763 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.3885, allocations: 0 / 0.7763 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3885, allocations: 0 / 0.7763 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3885, allocations: 0 / 0.7763 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.3887, allocations: 256.8 kB / 0.7766 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.3888, allocations: 112.9 kB / 0.7767 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.3888, allocations: 0 / 0.7767 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.3889, allocations: 0 / 0.7767 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.3889, allocations: 7.938 kB / 0.7767 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3889, allocations: 4 kB / 0.7767 GB, free: 8.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001535/0.3891, allocations: 192.4 kB / 0.7769 GB, free: 8.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3891, allocations: 0 / 0.7769 GB, free: 8.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005313/0.3896, allocations: 207.4 kB / 0.7771 GB, free: 8.137 MB / 0.545 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.00108/0.3907, allocations: 1.044 MB / 0.7781 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.391, allocations: 261.6 kB / 0.7783 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.391, allocations: 0 / 0.7783 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.3911, allocations: 181.6 kB / 0.7785 GB, free: 6.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.3914, allocations: 20.98 kB / 0.7785 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.3938, allocations: 2.575 MB / 0.781 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3941, allocations: 0.7671 MB / 0.7818 GB, free: 3.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.3941, allocations: 7.906 kB / 0.7818 GB, free: 3.141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.3942, allocations: 55.97 kB / 0.7818 GB, free: 3.086 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/0.3942, allocations: 0 / 0.7818 GB, free: 3.086 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.4197, allocations: 7.742 MB / 0.7894 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.431, allocations: 11.94 kB / 0.7894 GB, free: 11.57 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)