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.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 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_9_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_9_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.001409/0.001409, allocations: 108 kB / 15.61 MB, free: 152 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.002009/0.002009, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.515/1.515, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.499/2.499, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.91 kB / 0.8127 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7738/0.7754, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002821/0.7783, allocations: 1.426 MB / 0.9512 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004243/0.7825, allocations: 2.886 MB / 0.954 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.7826, allocations: 0 / 0.954 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.7827, allocations: 9.359 kB / 0.954 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.7828, allocations: 17.08 kB / 0.954 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004036/0.7868, allocations: 1.592 MB / 0.9556 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.7869, allocations: 46.42 kB / 0.9556 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.787, allocations: 6.344 kB / 0.9556 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.787, allocations: 19.77 kB / 0.9556 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.7871, allocations: 19.89 kB / 0.9557 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.7871, allocations: 1.062 kB / 0.9557 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.7893, allocations: 1.457 MB / 0.9571 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.7894, allocations: 9.297 kB / 0.9571 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.7894, allocations: 23.86 kB / 0.9571 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.7911, allocations: 1.098 MB / 0.9582 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.7911, allocations: 1.188 kB / 0.9582 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7911, allocations: 0 / 0.9582 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.7912, allocations: 0 / 0.9582 GB, free: 3.176 MB / 0.7169 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.0006095/0.7918, allocations: 0.5062 MB / 0.9587 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.7918, allocations: 9.469 kB / 0.9587 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.7919, allocations: 110 kB / 0.9588 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.792, allocations: 86.31 kB / 0.9589 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.7921, allocations: 265.4 kB / 0.9591 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.7921, allocations: 152.1 kB / 0.9593 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.7922, allocations: 150.9 kB / 0.9594 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.159e-05/0.7923, allocations: 106 kB / 0.9595 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.7923, allocations: 75.28 kB / 0.9596 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.7923, allocations: 155.7 kB / 0.9597 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.7924, allocations: 150.6 kB / 0.9599 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.7924, allocations: 159.7 kB / 0.96 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.7927, allocations: 457.6 kB / 0.9605 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.7927, allocations: 174.1 kB / 0.9606 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.7928, allocations: 80.98 kB / 0.9607 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.7928, allocations: 83.2 kB / 0.9608 GB, free: 432 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.7928, allocations: 106.9 kB / 0.9609 GB, free: 316 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.7928, allocations: 3.938 kB / 0.9609 GB, free: 312 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.963e-05/0.7929, allocations: 37.05 kB / 0.9609 GB, free: 272 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.7929, allocations: 130.7 kB / 0.9611 GB, free: 128 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.7931, allocations: 134 kB / 0.9612 GB, free: 8 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.7931, allocations: 25.7 kB / 0.9612 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.7932, allocations: 95.03 kB / 0.9613 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/0.7932, allocations: 0 / 0.9613 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.7933, allocations: 14.75 kB / 0.9613 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.7934, allocations: 317 kB / 0.9616 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.7935, allocations: 7.203 kB / 0.9616 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.7935, allocations: 10.88 kB / 0.9616 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.7936, allocations: 11.11 kB / 0.9617 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7936, allocations: 0 / 0.9617 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000164/0.7937, allocations: 56.02 kB / 0.9617 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.7938, allocations: 5.562 kB / 0.9617 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.877e-05/0.7938, allocations: 11.08 kB / 0.9617 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.7939, allocations: 0 / 0.9617 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.7939, allocations: 1.062 kB / 0.9617 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.7939, allocations: 0 / 0.9617 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.7939, allocations: 8.938 kB / 0.9617 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.794, allocations: 5.156 kB / 0.9617 GB, free: 15.46 MB / 0.7325 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.0001554/0.7941, allocations: 183.2 kB / 0.9619 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.7942, allocations: 115.7 kB / 0.962 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.468e-05/0.7943, allocations: 115 kB / 0.9621 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001083/0.7944, allocations: 185.3 kB / 0.9623 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.266e-05/0.7945, allocations: 189.4 kB / 0.9625 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.762e-05/0.7946, allocations: 177.4 kB / 0.9627 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.7949, allocations: 415.7 kB / 0.9631 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.808e-05/0.795, allocations: 106 kB / 0.9632 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.7951, allocations: 106 kB / 0.9633 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.684e-05/0.7952, allocations: 181.3 kB / 0.9634 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.7952, allocations: 181.4 kB / 0.9636 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.876e-05/0.7953, allocations: 180.2 kB / 0.9638 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-05/0.7954, allocations: 181.4 kB / 0.9639 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.7956, allocations: 313.3 kB / 0.9642 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.7957, allocations: 188.2 kB / 0.9644 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.7958, allocations: 185.5 kB / 0.9646 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.7959, allocations: 102.3 kB / 0.9647 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.796, allocations: 184.2 kB / 0.9649 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.796, allocations: 105.7 kB / 0.965 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.882e-05/0.7961, allocations: 97.11 kB / 0.9651 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7961, allocations: 0 / 0.9651 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001117/0.7973, allocations: 286.2 kB / 0.9653 GB, free: 11.79 MB / 0.7325 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.001754/0.799, allocations: 1.173 MB / 0.9665 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.7991, allocations: 43.02 kB / 0.9665 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7992, allocations: 0 / 0.9665 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.7992, allocations: 0 / 0.9665 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.7996, allocations: 466.2 kB / 0.967 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.8012, allocations: 1.599 MB / 0.9685 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.8015, allocations: 0.6855 MB / 0.9692 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.726e-05/0.8015, allocations: 0 / 0.9692 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.8016, allocations: 21.77 kB / 0.9692 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8016, allocations: 4.031 kB / 0.9692 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.8346, allocations: 7.067 MB / 0.9761 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.846, allocations: 15.22 kB / 0.9761 GB, free: 4.496 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)