Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_9_Buildings_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.005207/0.005207, allocations: 99.75 kB / 15.73 MB, free: 6.441 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.001231/0.001231, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.11 kB / 0.9505 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2652, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002344/0.2676, allocations: 1.374 MB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00279/0.2704, allocations: 1.795 MB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.2705, allocations: 0 / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.915e-05/0.2706, allocations: 7.922 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.2708, allocations: 27.84 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.2736, allocations: 1.139 MB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.2738, allocations: 55.77 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.245e-05/0.2738, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.2739, allocations: 31.84 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.274, allocations: 19.92 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.274, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.2753, allocations: 0.8969 MB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.671e-05/0.2754, allocations: 67.75 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.487e-05/0.2755, allocations: 63.44 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.2767, allocations: 0.8805 MB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2767, allocations: 0 / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2767, allocations: 0 / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.2767, allocations: 7.938 kB / 1.094 GB, free: 11.59 MB / 0.8575 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.0007508/0.2775, allocations: 0.5984 MB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2775, allocations: 8.031 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.2776, allocations: 46.72 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.2776, allocations: 28.8 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.2778, allocations: 226.9 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.2779, allocations: 384 / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.2779, allocations: 384 / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.278, allocations: 110.1 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.278, allocations: 0 / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.278, allocations: 0 / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.278, allocations: 0 / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/0.2781, allocations: 83.89 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.2784, allocations: 277.9 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2785, allocations: 118.5 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.2786, allocations: 108.9 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.2786, allocations: 3.938 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.2787, allocations: 30.56 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 3.146e-06/0.2787, allocations: 0 / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.0003939/0.2791, allocations: 349.8 kB / 1.096 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.2791, allocations: 59.44 kB / 1.096 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.2793, allocations: 249 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2794, allocations: 29.7 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.2794, allocations: 128.7 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.813e-05/0.2795, allocations: 111 kB / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.2796, allocations: 25.7 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2797, allocations: 342.8 kB / 1.097 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.2798, allocations: 75.97 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.676e-05/0.2798, allocations: 79.97 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.28, allocations: 197.8 kB / 1.097 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.28, allocations: 4 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002183/0.2803, allocations: 221.4 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2803, allocations: 8 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2803, allocations: 0 / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2803, allocations: 3.984 kB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.2803, allocations: 0 / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2803, allocations: 4 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.2804, allocations: 15.91 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2804, allocations: 4 kB / 1.097 GB, free: 7.867 MB / 0.8575 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.000114/0.2805, allocations: 157.8 kB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.2805, allocations: 23.8 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.2808, allocations: 252.4 kB / 1.098 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2809, allocations: 7.938 kB / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2809, allocations: 0 / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2809, allocations: 0 / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.2811, allocations: 285.9 kB / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2811, allocations: 32 / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.2811, allocations: 4 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2811, allocations: 0 / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.2811, allocations: 0 / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2811, allocations: 4 kB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2811, allocations: 0 / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.2814, allocations: 268.8 kB / 1.098 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/0.2815, allocations: 100.9 kB / 1.098 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.2815, allocations: 4 kB / 1.098 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/0.2815, allocations: 7.969 kB / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.2816, allocations: 7.922 kB / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2816, allocations: 0 / 1.098 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001641/0.2817, allocations: 188.5 kB / 1.098 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2817, allocations: 0 / 1.098 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006071/0.2823, allocations: 211.4 kB / 1.099 GB, free: 6.273 MB / 0.8575 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.001269/0.2836, allocations: 1.029 MB / 1.1 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.2839, allocations: 261.6 kB / 1.1 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2839, allocations: 3.938 kB / 1.1 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.2841, allocations: 181.6 kB / 1.1 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.2844, allocations: 16.53 kB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.2871, allocations: 2.576 MB / 1.103 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.2874, allocations: 0.7749 MB / 1.103 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.2875, allocations: 4 kB / 1.103 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.2875, allocations: 51.42 kB / 1.103 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of SimCode: time 6.31e-07/0.2875, allocations: 0 / 1.103 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05768/0.3452, allocations: 7.733 MB / 1.111 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.386, allocations: 23.55 kB / 1.111 GB, free: 9.711 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.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 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)