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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001894/0.001894, 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.002228/0.002228, allocations: 194.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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 469.4 MB / 0.742 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.34 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3532, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003302/0.3565, allocations: 1.447 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004647/0.3612, allocations: 2.896 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.3613, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.3614, allocations: 3.938 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.3615, allocations: 19.84 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.3659, allocations: 1.585 MB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.3e-05/0.366, allocations: 31.81 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.3661, allocations: 11.92 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.939e-05/0.3661, allocations: 15.92 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.788e-05/0.3661, allocations: 15.88 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3661, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.3685, allocations: 1.459 MB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.3685, allocations: 11.92 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.3685, allocations: 23.86 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.3702, allocations: 1.111 MB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3703, allocations: 4 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3703, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3703, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 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.0006673/0.3709, allocations: 0.5107 MB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.371, allocations: 12.03 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.371, allocations: 106 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.3711, allocations: 84.12 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3713, allocations: 259.5 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.3713, allocations: 150.9 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.3714, allocations: 158.9 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.362e-05/0.3714, allocations: 108.9 kB / 1.073 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.3715, allocations: 75.28 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.3715, allocations: 154.6 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.3716, allocations: 150.6 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.3716, allocations: 158.6 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.3719, allocations: 465.8 kB / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.372, allocations: 173.1 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.372, allocations: 88.12 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.372, allocations: 79.22 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.3721, allocations: 109.8 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3721, allocations: 0 / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.738e-05/0.3722, allocations: 33.69 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.3722, allocations: 130.7 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3724, allocations: 139.5 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3724, allocations: 29.7 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.3724, allocations: 84.14 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.3724, allocations: 0 / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.3725, allocations: 25.7 kB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.3726, allocations: 310.8 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.3726, allocations: 8 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.3726, allocations: 15.88 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.3727, allocations: 16.84 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3727, allocations: 0 / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001262/0.3728, allocations: 53.55 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3728, allocations: 4 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.3729, allocations: 4 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3729, allocations: 3.938 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.3729, allocations: 0 / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3729, allocations: 3.984 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.3729, allocations: 7.984 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3729, allocations: 4.062 kB / 1.076 GB, free: 1.941 MB / 0.8262 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 7.754e-05/0.373, allocations: 181.7 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.3731, allocations: 112.8 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.3731, allocations: 116.8 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.842e-05/0.3732, allocations: 180.2 kB / 1.076 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-05/0.3732, allocations: 180.3 kB / 1.076 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.832e-05/0.3733, allocations: 180.2 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.3735, allocations: 417.2 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/0.3735, allocations: 109 kB / 1.077 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.3736, allocations: 109 kB / 1.077 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.63e-05/0.3736, allocations: 176.3 kB / 1.077 GB, free: 96 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.3737, allocations: 184.2 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.563e-05/0.3737, allocations: 176.3 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.954e-05/0.3738, allocations: 188.2 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.3739, allocations: 307.8 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.374, allocations: 193.9 kB / 1.078 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.374, allocations: 180.3 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.3741, allocations: 108.9 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.3742, allocations: 176.3 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.3742, allocations: 105 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.723e-05/0.3743, allocations: 101 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.312e-06/0.3743, allocations: 0 / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007752/0.3751, allocations: 287.7 kB / 1.079 GB, free: 14.03 MB / 0.8419 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.001439/0.3765, allocations: 1.179 MB / 1.08 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.257e-05/0.3766, allocations: 37.7 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3766, allocations: 0 / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/0.3766, allocations: 3.938 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.377, allocations: 463.6 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.3784, allocations: 1.605 MB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.3786, allocations: 0.6845 MB / 1.083 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.543e-05/0.3786, allocations: 0 / 1.083 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.3787, allocations: 15.44 kB / 1.083 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.3787, allocations: 4.031 kB / 1.083 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.4054, allocations: 7.091 MB / 1.09 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.222, allocations: 6.375 kB / 1.09 GB, free: 3 MB / 0.8419 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)