Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007834/0.0007834, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008182/0.0008182, allocations: 215.3 kB / 23.03 MB, free: 2.969 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9936/0.9936, allocations: 230.6 MB / 256.8 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.933/1.933, allocations: 0.5045 GB / 0.8104 GB, free: 2.82 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_13_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_13_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009376/0.0009376, allocations: 67.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8167/0.8176, allocations: 180 MB / 1.352 GB, free: 1.711 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003881/0.8215, allocations: 3.814 MB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.8237, allocations: 2.222 MB / 1.358 GB, free: 11.65 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.824, allocations: 12 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.8253, allocations: 0.52 MB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.8255, allocations: 250 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.8257, allocations: 135.9 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0006742/0.8264, allocations: 0.8069 MB / 1.36 GB, free: 9.934 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.8267, allocations: 219 kB / 1.36 GB, free: 9.715 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.827, allocations: 306.9 kB / 1.361 GB, free: 9.414 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.8272, allocations: 278.6 kB / 1.361 GB, free: 9.141 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.8273, allocations: 79.98 kB / 1.361 GB, free: 9.062 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.8274, allocations: 76 kB / 1.361 GB, free: 8.988 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.8275, allocations: 167.4 kB / 1.361 GB, free: 8.824 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.8277, allocations: 314.7 kB / 1.361 GB, free: 8.516 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.8283, allocations: 1.008 MB / 1.362 GB, free: 7.504 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8283, allocations: 3.938 kB / 1.362 GB, free: 7.5 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8283, allocations: 0 / 1.362 GB, free: 7.5 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.8284, allocations: 0 / 1.362 GB, free: 7.5 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001014/0.8294, allocations: 0.886 MB / 1.363 GB, free: 6.582 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.8294, allocations: 12.92 kB / 1.363 GB, free: 6.57 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.064e-05/0.8295, allocations: 90.7 kB / 1.363 GB, free: 6.473 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.374e-05/0.8295, allocations: 72.52 kB / 1.363 GB, free: 6.402 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.83, allocations: 400.2 kB / 1.364 GB, free: 5.984 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.83, allocations: 37.38 kB / 1.364 GB, free: 5.949 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.8301, allocations: 48.38 kB / 1.364 GB, free: 5.902 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.8306, allocations: 422.6 kB / 1.364 GB, free: 5.484 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.8306, allocations: 7.953 kB / 1.364 GB, free: 5.477 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.8306, allocations: 19.98 kB / 1.364 GB, free: 5.457 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.8306, allocations: 12 kB / 1.364 GB, free: 5.445 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.8311, allocations: 367.8 kB / 1.365 GB, free: 5.086 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.8323, allocations: 1.261 MB / 1.366 GB, free: 3.781 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.8327, allocations: 308 kB / 1.366 GB, free: 3.469 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.833, allocations: 288.5 kB / 1.367 GB, free: 3.184 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.833, allocations: 11.94 kB / 1.367 GB, free: 3.172 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.8331, allocations: 38.5 kB / 1.367 GB, free: 3.125 MB / 1.042 GB Notification: Performance of pre-optimization done (n=42): time 2.174e-06/0.8331, allocations: 0 / 1.367 GB, free: 3.125 MB / 1.042 GB Notification: Performance of matching and sorting (n=42): time 0.0008515/0.8339, allocations: 0.4895 MB / 1.367 GB, free: 2.629 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.8339, allocations: 55.41 kB / 1.367 GB, free: 2.562 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.8343, allocations: 489.9 kB / 1.368 GB, free: 2.078 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.8344, allocations: 33.7 kB / 1.368 GB, free: 2.039 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.8345, allocations: 276.7 kB / 1.368 GB, free: 1.762 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/0.8346, allocations: 154.7 kB / 1.368 GB, free: 1.609 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.8347, allocations: 58.08 kB / 1.368 GB, free: 1.543 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8348, allocations: 362.8 kB / 1.368 GB, free: 1.18 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.835, allocations: 120.7 kB / 1.369 GB, free: 1.062 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.8351, allocations: 137.4 kB / 1.369 GB, free: 0.9297 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.8354, allocations: 291 kB / 1.369 GB, free: 0.6445 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.8354, allocations: 0 / 1.369 GB, free: 0.6445 MB / 1.042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004176/0.8359, allocations: 400.5 kB / 1.369 GB, free: 252 kB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.8359, allocations: 4 kB / 1.369 GB, free: 248 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8359, allocations: 4 kB / 1.369 GB, free: 244 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.8359, allocations: 4 kB / 1.369 GB, free: 240 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.8362, allocations: 123.9 kB / 1.369 GB, free: 116 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.8362, allocations: 3.938 kB / 1.369 GB, free: 112 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.867e-05/0.8363, allocations: 35.77 kB / 1.369 GB, free: 76 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.8363, allocations: 15.94 kB / 1.369 GB, free: 60 kB / 1.042 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001502/0.8364, allocations: 194.3 kB / 1.37 GB, free: 15.86 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.8365, allocations: 59.56 kB / 1.37 GB, free: 15.8 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.8365, allocations: 61.09 kB / 1.37 GB, free: 15.74 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.8365, allocations: 8 kB / 1.37 GB, free: 15.73 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8365, allocations: 3.984 kB / 1.37 GB, free: 15.73 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8365, allocations: 0 / 1.37 GB, free: 15.73 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.8369, allocations: 484.1 kB / 1.37 GB, free: 15.21 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.8369, allocations: 7.938 kB / 1.37 GB, free: 15.21 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.8372, allocations: 127.8 kB / 1.37 GB, free: 15.08 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.8372, allocations: 4 kB / 1.37 GB, free: 15.08 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.8372, allocations: 8 kB / 1.37 GB, free: 15.07 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.8372, allocations: 4 kB / 1.37 GB, free: 15.07 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8372, allocations: 4 kB / 1.37 GB, free: 15.06 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.8379, allocations: 0.652 MB / 1.371 GB, free: 14.39 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.8379, allocations: 63.56 kB / 1.371 GB, free: 14.33 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.838, allocations: 8 kB / 1.371 GB, free: 14.32 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.8381, allocations: 12 kB / 1.371 GB, free: 14.31 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.8381, allocations: 27.94 kB / 1.371 GB, free: 14.29 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.8381, allocations: 8 kB / 1.371 GB, free: 14.28 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002619/0.8384, allocations: 355.1 kB / 1.372 GB, free: 13.93 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/0.8384, allocations: 0 / 1.372 GB, free: 13.93 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002441/0.8386, allocations: 147.7 kB / 1.372 GB, free: 13.79 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0008131/0.8395, allocations: 1.2 MB / 1.373 GB, free: 12.56 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0003748/0.8398, allocations: 308.2 kB / 1.373 GB, free: 12.26 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8398, allocations: 4 kB / 1.373 GB, free: 12.25 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.84, allocations: 171.6 kB / 1.373 GB, free: 12.09 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.8404, allocations: 127.8 kB / 1.373 GB, free: 11.96 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.8448, allocations: 4.843 MB / 1.378 GB, free: 7.031 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.8449, allocations: 275.2 kB / 1.378 GB, free: 6.738 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.8451, allocations: 48.38 kB / 1.378 GB, free: 6.688 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.8452, allocations: 191.4 kB / 1.379 GB, free: 6.5 MB / 1.057 GB Notification: Performance of SimCode: time 8.41e-07/0.8452, allocations: 0 / 1.379 GB, free: 6.5 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0848/0.93, allocations: 12.61 MB / 1.391 GB, free: 10.23 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/8.501, allocations: 5.938 kB / 1.391 GB, free: 10.22 MB / 1.073 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu) > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu) > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.437408674508333]