Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005186/0.005186, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001471/0.001471, allocations: 186.5 kB / 16.67 MB, free: 5.926 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.889/2.889, allocations: 469.8 MB / 0.7425 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.91 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.303, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002451/0.3054, allocations: 1.44 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004288/0.3097, allocations: 2.898 MB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.3098, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.3099, allocations: 3.938 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.3099, allocations: 19.84 kB / 1.225 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.3137, allocations: 1.595 MB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.237e-05/0.3138, allocations: 43.73 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.3138, allocations: 3.984 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.3139, allocations: 15.94 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.948e-05/0.3139, allocations: 15.88 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.3139, allocations: 4 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.3162, allocations: 1.529 MB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.3162, allocations: 11.92 kB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.3162, allocations: 15.88 kB / 1.228 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.3177, allocations: 1.122 MB / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.3177, allocations: 0 / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3178, allocations: 0 / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3178, allocations: 0 / 1.229 GB, free: 5.516 MB / 0.9825 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.0006225/0.3184, allocations: 0.5324 MB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3184, allocations: 8.031 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.649e-05/0.3185, allocations: 106 kB / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.006e-05/0.3186, allocations: 84.17 kB / 1.229 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3187, allocations: 251.6 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.423e-05/0.3188, allocations: 150.9 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.3189, allocations: 154.9 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.225e-05/0.319, allocations: 112.9 kB / 1.23 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.319, allocations: 79.28 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.3191, allocations: 150.6 kB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.427e-05/0.3192, allocations: 154.6 kB / 1.23 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.271e-05/0.3192, allocations: 150.6 kB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.3196, allocations: 469.8 kB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3197, allocations: 169.1 kB / 1.231 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.3198, allocations: 88.14 kB / 1.231 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.3198, allocations: 79.22 kB / 1.231 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.3199, allocations: 113.8 kB / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3199, allocations: 0 / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.175e-05/0.32, allocations: 29.7 kB / 1.232 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.3201, allocations: 130.6 kB / 1.232 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.3202, allocations: 139.7 kB / 1.232 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3203, allocations: 25.7 kB / 1.232 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.3203, allocations: 92.12 kB / 1.232 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.3203, allocations: 0 / 1.232 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.3204, allocations: 17.72 kB / 1.232 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3205, allocations: 314.8 kB / 1.232 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.3206, allocations: 7.984 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.3206, allocations: 7.938 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.3206, allocations: 28.89 kB / 1.232 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3207, allocations: 0 / 1.232 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001305/0.3208, allocations: 57.53 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3208, allocations: 4 kB / 1.232 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.3208, allocations: 4 kB / 1.232 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3209, allocations: 3.984 kB / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-07/0.3209, allocations: 0 / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3209, allocations: 0 / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.3209, allocations: 0 / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.3209, allocations: 4 kB / 1.232 GB, free: 1.617 MB / 0.9825 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.0001146/0.321, allocations: 185.7 kB / 1.232 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.3211, allocations: 112.9 kB / 1.233 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.3212, allocations: 116.8 kB / 1.233 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.47e-05/0.3213, allocations: 184.2 kB / 1.233 GB, free: 1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.859e-05/0.3214, allocations: 176.3 kB / 1.233 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-05/0.3214, allocations: 184.2 kB / 1.233 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.3217, allocations: 417.2 kB / 1.234 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.79e-05/0.3218, allocations: 108.9 kB / 1.234 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.3218, allocations: 101 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.657e-05/0.3219, allocations: 180.3 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.59e-05/0.322, allocations: 180.2 kB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.953e-05/0.3221, allocations: 188.3 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-05/0.3222, allocations: 180.2 kB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.3223, allocations: 311.7 kB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.3224, allocations: 186 kB / 1.235 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.744e-05/0.3225, allocations: 184.2 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.3226, allocations: 108.9 kB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.3227, allocations: 176.3 kB / 1.235 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.3228, allocations: 105 kB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.3228, allocations: 105.4 kB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3228, allocations: 4 kB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007926/0.3236, allocations: 283 kB / 1.236 GB, free: 13.7 MB / 0.9981 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.001448/0.3251, allocations: 1.19 MB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.3252, allocations: 45.7 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3252, allocations: 0 / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.3252, allocations: 3.938 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.3257, allocations: 475.5 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3271, allocations: 1.612 MB / 1.239 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.3275, allocations: 0.6885 MB / 1.24 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.616e-05/0.3275, allocations: 0 / 1.24 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.3275, allocations: 15.44 kB / 1.24 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3275, allocations: 0 / 1.24 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.3591, allocations: 7.074 MB / 1.247 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.645, allocations: 10.98 kB / 1.247 GB, free: 2.672 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)