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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001682/0.001682, 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.002426/0.002426, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.469/1.469, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.907/2.907, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.91 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8092/0.8106, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003243/0.8139, allocations: 1.428 MB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004806/0.8188, allocations: 2.864 MB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.8189, allocations: 4 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.8189, allocations: 7.922 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.819, allocations: 11.86 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005187/0.8242, allocations: 1.561 MB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.875e-05/0.8243, allocations: 35.8 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.8243, allocations: 7.984 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.367e-05/0.8244, allocations: 15.92 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.8244, allocations: 23.81 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.8244, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.8267, allocations: 1.424 MB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.8268, allocations: 8 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.8268, allocations: 15.86 kB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.8287, allocations: 1.088 MB / 1.026 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8287, allocations: 0 / 1.026 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8287, allocations: 0 / 1.026 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.8287, allocations: 0 / 1.026 GB, free: 9.977 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.0008071/0.8295, allocations: 0.5107 MB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.8296, allocations: 12.03 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.8296, allocations: 110 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.8297, allocations: 84.06 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.8299, allocations: 255.5 kB / 1.027 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.276e-05/0.8299, allocations: 150.9 kB / 1.027 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/0.83, allocations: 158.9 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.951e-05/0.8301, allocations: 104.9 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.8301, allocations: 83.22 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/0.8302, allocations: 150.6 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.568e-05/0.8303, allocations: 150.6 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.002e-05/0.8303, allocations: 150.6 kB / 1.028 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.8307, allocations: 461.9 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.8308, allocations: 169.1 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.8308, allocations: 88.08 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.8308, allocations: 83.16 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.8309, allocations: 109.8 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.8309, allocations: 0 / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.167e-05/0.831, allocations: 37.61 kB / 1.029 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.8311, allocations: 130.7 kB / 1.029 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.8312, allocations: 127.9 kB / 1.029 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.8312, allocations: 25.7 kB / 1.029 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.8313, allocations: 96.12 kB / 1.029 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.8313, allocations: 0 / 1.029 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.8314, allocations: 13.72 kB / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.8315, allocations: 322.8 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.8315, allocations: 11.94 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.8315, allocations: 4 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.8316, allocations: 12.86 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8316, allocations: 0 / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001378/0.8317, allocations: 53.53 kB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.8318, allocations: 8 kB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.8318, allocations: 0 / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8318, allocations: 4 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.8318, allocations: 0 / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.8318, allocations: 4.062 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.8319, allocations: 0 / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.8319, allocations: 0 / 1.029 GB, free: 6.117 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 0.0001081/0.832, allocations: 194.1 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.8321, allocations: 108.8 kB / 1.03 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.8321, allocations: 112.9 kB / 1.03 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.768e-05/0.8322, allocations: 184.3 kB / 1.03 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.36e-05/0.8323, allocations: 180.3 kB / 1.03 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-05/0.8323, allocations: 192.2 kB / 1.03 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.8326, allocations: 409.2 kB / 1.031 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.984e-05/0.8326, allocations: 112.9 kB / 1.031 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.8327, allocations: 104.9 kB / 1.031 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.389e-05/0.8327, allocations: 180.3 kB / 1.031 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/0.8328, allocations: 184.2 kB / 1.031 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.774e-05/0.8329, allocations: 180.3 kB / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.374e-05/0.8329, allocations: 176.3 kB / 1.032 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.8331, allocations: 323.5 kB / 1.032 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.8332, allocations: 190.1 kB / 1.032 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.8333, allocations: 176.3 kB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.8334, allocations: 101 kB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.8334, allocations: 184.2 kB / 1.032 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.8335, allocations: 109 kB / 1.033 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.941e-05/0.8335, allocations: 100.8 kB / 1.033 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8335, allocations: 0 / 1.033 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008772/0.8344, allocations: 279.8 kB / 1.033 GB, free: 2.195 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.001651/0.8361, allocations: 1.165 MB / 1.034 GB, free: 1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.8362, allocations: 37.7 kB / 1.034 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8362, allocations: 0 / 1.034 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.8362, allocations: 0 / 1.034 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.8367, allocations: 472.3 kB / 1.035 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.8385, allocations: 1.564 MB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.8388, allocations: 0.6807 MB / 1.037 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.881e-05/0.8389, allocations: 0 / 1.037 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.8389, allocations: 15.44 kB / 1.037 GB, free: 14.13 MB / 0.795 GB Notification: Performance of SimCode: time 6.82e-07/0.8389, allocations: 3.938 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.8666, allocations: 6.877 MB / 1.043 GB, free: 7.441 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.806, allocations: 14.08 kB / 1.043 GB, free: 7.43 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)