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.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 225.6 MB / 249.3 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.499/2.499, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 67.88 kB / 1.107 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7601, allocations: 168.7 MB / 1.271 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002025/0.7622, allocations: 1.463 MB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00333/0.7655, allocations: 2.931 MB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.7655, allocations: 0 / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.7656, allocations: 6.141 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.128e-05/0.7656, allocations: 16.17 kB / 1.276 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.7687, allocations: 1.599 MB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.693e-05/0.7688, allocations: 41.16 kB / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.7689, allocations: 3.875 kB / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.526e-05/0.7689, allocations: 15.08 kB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.472e-05/0.7689, allocations: 15.97 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-06/0.7689, allocations: 1.406 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.771, allocations: 1.577 MB / 1.279 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.771, allocations: 5.422 kB / 1.279 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.771, allocations: 21.48 kB / 1.279 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.7725, allocations: 1.119 MB / 1.28 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.7725, allocations: 0 / 1.28 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7725, allocations: 0 / 1.28 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.7726, allocations: 0 / 1.28 GB, free: 3.004 MB / 0.9981 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.0004829/0.773, allocations: 0.5253 MB / 1.281 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.7731, allocations: 14.09 kB / 1.281 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.676e-05/0.7731, allocations: 106 kB / 1.281 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.7731, allocations: 94.59 kB / 1.281 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.334e-05/0.7732, allocations: 251.6 kB / 1.281 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.7732, allocations: 150.9 kB / 1.281 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.7733, allocations: 150.9 kB / 1.281 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.623e-05/0.7733, allocations: 105.8 kB / 1.281 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.7733, allocations: 75.98 kB / 1.281 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.7733, allocations: 155.4 kB / 1.282 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.7733, allocations: 150.6 kB / 1.282 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.75e-05/0.7734, allocations: 159.3 kB / 1.282 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.7735, allocations: 470.1 kB / 1.282 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.721e-05/0.7736, allocations: 175.8 kB / 1.283 GB, free: 424 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.268e-05/0.7736, allocations: 88.08 kB / 1.283 GB, free: 332 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.7736, allocations: 80.02 kB / 1.283 GB, free: 252 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.7736, allocations: 108.2 kB / 1.283 GB, free: 136 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.7736, allocations: 0 / 1.283 GB, free: 136 kB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.824e-05/0.7737, allocations: 32.53 kB / 1.283 GB, free: 100 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.7737, allocations: 131.2 kB / 1.283 GB, free: 15.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.7739, allocations: 141.1 kB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.7739, allocations: 26.31 kB / 1.283 GB, free: 15.81 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.7739, allocations: 92.56 kB / 1.283 GB, free: 15.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.7739, allocations: 0 / 1.283 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.774, allocations: 17.28 kB / 1.283 GB, free: 15.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7741, allocations: 318.5 kB / 1.284 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.7741, allocations: 3.531 kB / 1.284 GB, free: 15.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.7741, allocations: 7.703 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.501e-05/0.7741, allocations: 16.09 kB / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7741, allocations: 3.938 kB / 1.284 GB, free: 15.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001136/0.7743, allocations: 53.88 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.7743, allocations: 7.359 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.7743, allocations: 1.906 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.7743, allocations: 0.8438 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.7743, allocations: 1.125 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.7743, allocations: 0 / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.7743, allocations: 2.812 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.7743, allocations: 8.656 kB / 1.284 GB, free: 15.32 MB / 1.014 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.521e-05/0.7744, allocations: 188.9 kB / 1.284 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/0.7745, allocations: 122.9 kB / 1.284 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.7745, allocations: 109.8 kB / 1.284 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.375e-05/0.7746, allocations: 176.9 kB / 1.284 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.788e-05/0.7747, allocations: 186.5 kB / 1.284 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-05/0.7747, allocations: 183.8 kB / 1.285 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.775, allocations: 416.9 kB / 1.285 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.756e-05/0.775, allocations: 101.6 kB / 1.285 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.7751, allocations: 101.5 kB / 1.285 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.751e-05/0.7751, allocations: 186.5 kB / 1.285 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/0.7752, allocations: 181.1 kB / 1.286 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.844e-05/0.7753, allocations: 190.1 kB / 1.286 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.539e-05/0.7753, allocations: 179.1 kB / 1.286 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.7755, allocations: 313.5 kB / 1.286 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.7755, allocations: 186.2 kB / 1.286 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/0.7756, allocations: 183.1 kB / 1.287 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.7757, allocations: 101.7 kB / 1.287 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.18e-05/0.7758, allocations: 177.7 kB / 1.287 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.7758, allocations: 111.4 kB / 1.287 GB, free: 11.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.416e-05/0.7759, allocations: 103.4 kB / 1.287 GB, free: 11.74 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.7759, allocations: 0 / 1.287 GB, free: 11.74 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007208/0.7766, allocations: 293 kB / 1.287 GB, free: 11.66 MB / 1.014 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.001237/0.7778, allocations: 1.179 MB / 1.288 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.248e-05/0.7779, allocations: 44.19 kB / 1.288 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7779, allocations: 0 / 1.288 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.7779, allocations: 3.156 kB / 1.288 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.7783, allocations: 454.9 kB / 1.289 GB, free: 10.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.7796, allocations: 1.62 MB / 1.29 GB, free: 8.793 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.7799, allocations: 0.6824 MB / 1.291 GB, free: 8.098 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.092e-05/0.7799, allocations: 0 / 1.291 GB, free: 8.098 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.7799, allocations: 18.34 kB / 1.291 GB, free: 8.082 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7799, allocations: 1.438 kB / 1.291 GB, free: 8.082 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.8116, allocations: 7.027 MB / 1.298 GB, free: 7.355 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/8.214, allocations: 8.625 kB / 1.298 GB, free: 7.348 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 13.558718013999169]