Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001896/0.001896, allocations: 108 kB / 15.6 MB, free: 132 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.002339/0.002339, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437.1 MB / 0.7104 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 67.88 kB / 0.8694 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7696/0.7713, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002813/0.7742, allocations: 1.43 MB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.7785, allocations: 2.907 MB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.7786, allocations: 3.938 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.7787, allocations: 7.922 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.419e-05/0.7788, allocations: 19.8 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004115/0.7829, allocations: 1.58 MB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.783, allocations: 39.73 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.783, allocations: 15.97 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.7831, allocations: 15.94 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.923e-05/0.7831, allocations: 19.86 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.7831, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.7854, allocations: 1.462 MB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.7854, allocations: 3.984 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.7854, allocations: 19.88 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.7872, allocations: 1.111 MB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7872, allocations: 0 / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.196e-06/0.7872, allocations: 8 kB / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.7872, allocations: 0 / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007538/0.788, allocations: 0.5162 MB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.7881, allocations: 12.03 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/0.7881, allocations: 110 kB / 1.027 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.472e-05/0.7882, allocations: 80.12 kB / 1.027 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.7883, allocations: 251.5 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.7884, allocations: 158.9 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.7885, allocations: 150.9 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.257e-05/0.7885, allocations: 104.9 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.7886, allocations: 75.28 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.7886, allocations: 150.6 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/0.7887, allocations: 154.5 kB / 1.028 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.7887, allocations: 162.5 kB / 1.028 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.789, allocations: 461.9 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.7891, allocations: 169.1 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.7891, allocations: 80.14 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.7892, allocations: 87.16 kB / 1.029 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/0.7892, allocations: 109.8 kB / 1.029 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7893, allocations: 0 / 1.029 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.98e-05/0.7893, allocations: 33.61 kB / 1.029 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.7894, allocations: 126.7 kB / 1.029 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.7895, allocations: 132.8 kB / 1.029 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.7896, allocations: 29.7 kB / 1.029 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.7896, allocations: 96.12 kB / 1.029 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.7896, allocations: 0 / 1.029 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.7897, allocations: 17.72 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.7898, allocations: 318.8 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.7898, allocations: 4 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.7898, allocations: 8.062 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.7899, allocations: 16.8 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7899, allocations: 0 / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00013/0.79, allocations: 65.56 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.79, allocations: 4 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.79, allocations: 4 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.7901, allocations: 0 / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.7901, allocations: 3.938 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.7901, allocations: 0 / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.7901, allocations: 11.84 kB / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.7901, allocations: 0 / 1.029 GB, free: 5.91 MB / 0.7794 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 8.346e-05/0.7902, allocations: 181.1 kB / 1.03 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.295e-05/0.7903, allocations: 116.9 kB / 1.03 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.7903, allocations: 112.9 kB / 1.03 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.465e-05/0.7904, allocations: 184.3 kB / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.583e-05/0.7905, allocations: 184.2 kB / 1.03 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.838e-05/0.7905, allocations: 176.3 kB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.7907, allocations: 425.1 kB / 1.031 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/0.7908, allocations: 101 kB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.7908, allocations: 112.9 kB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.479e-05/0.7909, allocations: 176.3 kB / 1.031 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.7909, allocations: 176.3 kB / 1.031 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.277e-05/0.791, allocations: 184.2 kB / 1.031 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.285e-05/0.791, allocations: 184.3 kB / 1.032 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.7912, allocations: 311.6 kB / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.7912, allocations: 186 kB / 1.032 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-05/0.7913, allocations: 184.2 kB / 1.032 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.7914, allocations: 109 kB / 1.032 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.7915, allocations: 188.2 kB / 1.033 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.7915, allocations: 101 kB / 1.033 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.753e-05/0.7916, allocations: 108.9 kB / 1.033 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7916, allocations: 0 / 1.033 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007481/0.7923, allocations: 283.8 kB / 1.033 GB, free: 1.984 MB / 0.7794 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001442/0.7938, allocations: 1.177 MB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.7939, allocations: 41.69 kB / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7939, allocations: 4.062 kB / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.7939, allocations: 4 kB / 1.034 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.7943, allocations: 460.4 kB / 1.035 GB, free: 276 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.7957, allocations: 1.581 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.7959, allocations: 0.6807 MB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.547e-05/0.7959, allocations: 3.906 kB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.796, allocations: 23.42 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.796, allocations: 0 / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.8198, allocations: 7.074 MB / 1.044 GB, free: 6.992 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.731, allocations: 24.59 kB / 1.044 GB, free: 6.973 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)