Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.01122/0.01122, allocations: 97.36 kB / 15.73 MB, free: 6.035 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.002316/0.002316, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.708/2.708, allocations: 469.4 MB / 0.7421 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3082, allocations: 159.1 MB / 1.22 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002448/0.3107, allocations: 1.454 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004188/0.315, allocations: 2.899 MB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.315, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.3151, allocations: 3.938 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.3152, allocations: 19.84 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004145/0.3193, allocations: 1.588 MB / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.985e-05/0.3194, allocations: 39.75 kB / 1.226 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.3195, allocations: 3.984 kB / 1.226 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.122e-05/0.3195, allocations: 11.94 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.61e-05/0.3196, allocations: 15.88 kB / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3196, allocations: 7.984 kB / 1.226 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.322, allocations: 1.54 MB / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.322, allocations: 0 / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.3221, allocations: 19.88 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002076/0.3242, allocations: 1.122 MB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3242, allocations: 0 / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3242, allocations: 0 / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.3242, allocations: 0 / 1.228 GB, free: 5.836 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.0007988/0.325, allocations: 0.5285 MB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3251, allocations: 12.03 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.3251, allocations: 114 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.3252, allocations: 84.16 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.3253, allocations: 243.6 kB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.3254, allocations: 150.9 kB / 1.229 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.522e-05/0.3254, allocations: 154.9 kB / 1.23 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.202e-05/0.3255, allocations: 108.9 kB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.3255, allocations: 83.28 kB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.3256, allocations: 154.5 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.3256, allocations: 150.6 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.905e-05/0.3257, allocations: 150.6 kB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.326, allocations: 469.8 kB / 1.231 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.3261, allocations: 181.1 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.3261, allocations: 84.12 kB / 1.231 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.3262, allocations: 79.22 kB / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.3262, allocations: 105.8 kB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.3262, allocations: 0 / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.488e-05/0.3263, allocations: 29.7 kB / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.3264, allocations: 130.7 kB / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3265, allocations: 135.5 kB / 1.231 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.3265, allocations: 25.7 kB / 1.231 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.3266, allocations: 100.1 kB / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.3266, allocations: 0 / 1.231 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3266, allocations: 13.72 kB / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.3267, allocations: 326.8 kB / 1.232 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.3267, allocations: 8 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.851e-05/0.3268, allocations: 8 kB / 1.232 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.3268, allocations: 12.92 kB / 1.232 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3268, allocations: 0 / 1.232 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001366/0.327, allocations: 57.53 kB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.327, allocations: 4 kB / 1.232 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.327, allocations: 7.984 kB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.327, allocations: 0 / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-07/0.327, allocations: 0 / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.327, allocations: 3.984 kB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.3271, allocations: 8.062 kB / 1.232 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.3271, allocations: 7.938 kB / 1.232 GB, free: 1.926 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 9.058e-05/0.3272, allocations: 181.1 kB / 1.232 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.3272, allocations: 112.9 kB / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.3273, allocations: 112.8 kB / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-05/0.3273, allocations: 180.2 kB / 1.232 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-05/0.3274, allocations: 184.3 kB / 1.233 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/0.3275, allocations: 180.2 kB / 1.233 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.3277, allocations: 417.1 kB / 1.233 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/0.3277, allocations: 101 kB / 1.233 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.3278, allocations: 104.9 kB / 1.233 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.097e-05/0.3278, allocations: 188.3 kB / 1.234 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/0.3279, allocations: 180.2 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.925e-05/0.328, allocations: 180.3 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.547e-05/0.328, allocations: 180.2 kB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.3282, allocations: 323.6 kB / 1.234 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.3282, allocations: 186 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.3283, allocations: 184.2 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.3284, allocations: 101 kB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.3285, allocations: 180.2 kB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.3285, allocations: 105 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.3286, allocations: 101 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3286, allocations: 4 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008763/0.3295, allocations: 287 kB / 1.236 GB, free: 14.01 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.001544/0.331, allocations: 1.188 MB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.3311, allocations: 41.7 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3311, allocations: 0 / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-06/0.3312, allocations: 0 / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.3316, allocations: 479.6 kB / 1.237 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.333, allocations: 1.602 MB / 1.239 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.3332, allocations: 0.6846 MB / 1.239 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.076e-05/0.3333, allocations: 4 kB / 1.239 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.3333, allocations: 11.44 kB / 1.239 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3333, allocations: 0 / 1.239 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.3597, allocations: 7.085 MB / 1.246 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.245, allocations: 9.375 kB / 1.246 GB, free: 2.98 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)