Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.0007876/0.0007876, 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.000826/0.000826, 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.9328/0.9328, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.99/1.99, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 79.88 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8066, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002251/0.8089, allocations: 1.49 MB / 1.354 GB, free: 160 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.8099, allocations: 0.853 MB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.81, allocations: 3.938 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.8103, allocations: 43.72 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 1.825e-05/0.8103, allocations: 15.84 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.8107, allocations: 193 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.366e-05/0.8108, allocations: 51.67 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.8109, allocations: 7.906 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.8109, allocations: 23.86 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.764e-05/0.811, allocations: 15.92 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.811, allocations: 0 / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.8113, allocations: 167.8 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.8113, allocations: 11.94 kB / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.8113, allocations: 7.938 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.8115, allocations: 137.8 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.8115, allocations: 0 / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8115, allocations: 0 / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.8115, allocations: 4 kB / 1.355 GB, free: 14.63 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003652/0.8119, allocations: 293.9 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.8119, allocations: 8.922 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.812, allocations: 114 kB / 1.356 GB, free: 14.19 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.812, allocations: 84.17 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.8122, allocations: 201.7 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.8123, allocations: 154.9 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.8123, allocations: 154.9 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.889e-05/0.8124, allocations: 109.1 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.8124, allocations: 75.28 kB / 1.357 GB, free: 13.39 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.8124, allocations: 150.6 kB / 1.357 GB, free: 13.24 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.8125, allocations: 154.6 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.8125, allocations: 158.4 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.8127, allocations: 437 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.8128, allocations: 173.1 kB / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.8128, allocations: 80.14 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.8128, allocations: 75.28 kB / 1.358 GB, free: 12.13 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.8129, allocations: 113.8 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.8129, allocations: 7.938 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of matching and sorting (n=0): time 8.311e-05/0.813, allocations: 33.7 kB / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.813, allocations: 126.7 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.8132, allocations: 139.6 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.8132, allocations: 29.7 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.8134, allocations: 92.12 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.8134, allocations: 0 / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.8134, allocations: 17.72 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.8135, allocations: 314.8 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.8135, allocations: 8 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.8135, allocations: 11.94 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.338e-05/0.8136, allocations: 12.8 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8136, allocations: 0 / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001116/0.8137, allocations: 53.58 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.8137, allocations: 4 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.8137, allocations: 4 kB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.8137, allocations: 0 / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-06/0.8137, allocations: 0 / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.8137, allocations: 0 / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.8138, allocations: 7.938 kB / 1.359 GB, free: 11.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.8138, allocations: 4 kB / 1.359 GB, free: 11.1 MB / 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 (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.366e-05/0.8138, allocations: 193.2 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.8139, allocations: 124.8 kB / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.8139, allocations: 112.6 kB / 1.359 GB, free: 10.65 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-05/0.814, allocations: 180.3 kB / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.67e-05/0.814, allocations: 180.2 kB / 1.359 GB, free: 10.29 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-05/0.8141, allocations: 184.2 kB / 1.36 GB, free: 10.1 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.8142, allocations: 384.2 kB / 1.36 GB, free: 9.672 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/0.8142, allocations: 104.9 kB / 1.36 GB, free: 9.562 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.8143, allocations: 105 kB / 1.36 GB, free: 9.453 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.332e-05/0.8143, allocations: 188.1 kB / 1.36 GB, free: 9.262 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.8143, allocations: 184.2 kB / 1.361 GB, free: 9.074 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.89e-05/0.8144, allocations: 180.2 kB / 1.361 GB, free: 8.891 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-05/0.8144, allocations: 180.3 kB / 1.361 GB, free: 8.707 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.964e-05/0.8145, allocations: 307.8 kB / 1.361 GB, free: 8.383 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.8145, allocations: 116.9 kB / 1.361 GB, free: 8.262 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.8146, allocations: 180.2 kB / 1.361 GB, free: 8.078 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/0.8146, allocations: 105 kB / 1.362 GB, free: 7.969 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.8147, allocations: 184.2 kB / 1.362 GB, free: 7.781 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.8147, allocations: 105 kB / 1.362 GB, free: 7.672 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.8148, allocations: 101.9 kB / 1.362 GB, free: 7.574 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8148, allocations: 0 / 1.362 GB, free: 7.574 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001907/0.8149, allocations: 35.88 kB / 1.362 GB, free: 7.539 MB / 1.042 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.0004593/0.8154, allocations: 0.8592 MB / 1.363 GB, free: 6.652 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 8.125e-05/0.8155, allocations: 41.69 kB / 1.363 GB, free: 6.605 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8155, allocations: 0 / 1.363 GB, free: 6.605 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-07/0.8155, allocations: 0 / 1.363 GB, free: 6.605 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.8158, allocations: 459.7 kB / 1.363 GB, free: 6.152 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008944/0.8167, allocations: 1.462 MB / 1.365 GB, free: 4.613 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.554e-05/0.8167, allocations: 71.58 kB / 1.365 GB, free: 4.523 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.754e-05/0.8168, allocations: 4 kB / 1.365 GB, free: 4.52 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.8168, allocations: 15.44 kB / 1.365 GB, free: 4.504 MB / 1.042 GB Notification: Performance of SimCode: time 6.41e-07/0.8168, allocations: 0 / 1.365 GB, free: 4.504 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0792/0.896, allocations: 3.305 MB / 1.368 GB, free: 1.352 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/7.773, allocations: 10.97 kB / 1.368 GB, free: 1.348 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu) > Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu) > Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.662423271685839]