Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.0008329/0.0008329, allocations: 108.3 kB / 19.73 MB, free: 420 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.001394/0.001394, allocations: 212.6 kB / 23.02 MB, free: 2.965 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.9408/0.9408, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.982/1.982, allocations: 0.5046 GB / 0.8104 GB, free: 2.754 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.ExchangeValues,fileNamePrefix="Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 67.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7948, allocations: 180 MB / 1.352 GB, free: 1.684 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001604/0.7964, allocations: 0.5569 MB / 1.353 GB, free: 1.129 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0002036/0.7966, allocations: 111.7 kB / 1.353 GB, free: 1.02 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.7966, allocations: 0 / 1.353 GB, free: 1.02 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.7967, allocations: 4 kB / 1.353 GB, free: 1.016 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 5.193e-05/0.7967, allocations: 0 / 1.353 GB, free: 1.016 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.7969, allocations: 39.91 kB / 1.353 GB, free: 0.9766 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 8.172e-05/0.7969, allocations: 19.98 kB / 1.353 GB, free: 0.957 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.797, allocations: 0 / 1.353 GB, free: 0.957 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.797, allocations: 27.91 kB / 1.353 GB, free: 0.9297 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.7971, allocations: 15.92 kB / 1.353 GB, free: 0.9141 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.7972, allocations: 0 / 1.353 GB, free: 0.9141 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 3.799e-05/0.7972, allocations: 12 kB / 1.353 GB, free: 0.9023 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.7972, allocations: 0 / 1.353 GB, free: 0.9023 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.7972, allocations: 15.98 kB / 1.353 GB, free: 0.8867 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.7974, allocations: 34.14 kB / 1.353 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.403e-06/0.7974, allocations: 0 / 1.353 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7974, allocations: 0 / 1.353 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.7974, allocations: 0 / 1.353 GB, free: 0.8555 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003868/0.7978, allocations: 276.1 kB / 1.354 GB, free: 0.5469 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.7978, allocations: 12.92 kB / 1.354 GB, free: 0.5352 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.7979, allocations: 34.69 kB / 1.354 GB, free: 0.4922 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.7979, allocations: 8.938 kB / 1.354 GB, free: 496 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.798, allocations: 122.5 kB / 1.354 GB, free: 348 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.7981, allocations: 384 / 1.354 GB, free: 348 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.7981, allocations: 8.375 kB / 1.354 GB, free: 340 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.7982, allocations: 79.94 kB / 1.354 GB, free: 248 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7982, allocations: 3.938 kB / 1.354 GB, free: 244 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.7982, allocations: 0 / 1.354 GB, free: 244 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7982, allocations: 0 / 1.354 GB, free: 244 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.384e-05/0.7983, allocations: 41.69 kB / 1.354 GB, free: 196 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.7984, allocations: 120.8 kB / 1.354 GB, free: 32 kB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 9.837e-05/0.7985, allocations: 56.25 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.7986, allocations: 42.61 kB / 1.354 GB, free: 15.91 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-06/0.7986, allocations: 4 kB / 1.354 GB, free: 15.91 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.7986, allocations: 38.56 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.7986, allocations: 0 / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0002006/0.7988, allocations: 162.7 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.7988, allocations: 81.05 kB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.751e-05/0.7989, allocations: 101.8 kB / 1.354 GB, free: 15.47 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.7989, allocations: 25.7 kB / 1.354 GB, free: 15.44 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.038e-05/0.7989, allocations: 84.14 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.7989, allocations: 7.891 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.799, allocations: 21.72 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.799, allocations: 315.1 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.287e-05/0.7991, allocations: 49.62 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/0.7991, allocations: 37.69 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.7992, allocations: 76.27 kB / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.7992, allocations: 0 / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001006/0.7993, allocations: 125 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.7993, allocations: 41.62 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.7993, allocations: 3.938 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7993, allocations: 0 / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.7993, allocations: 0 / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.7993, allocations: 4.094 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-05/0.7994, allocations: 4 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.7994, allocations: 7.984 kB / 1.355 GB, free: 14.61 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: 1 * 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.0001095/0.7995, allocations: 139.5 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.7995, allocations: 7.938 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.017e-05/0.7996, allocations: 7.156 kB / 1.355 GB, free: 14.44 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.7996, allocations: 0 / 1.355 GB, free: 14.44 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7996, allocations: 0 / 1.355 GB, free: 14.44 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.7996, allocations: 0 / 1.355 GB, free: 14.44 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.919e-05/0.7996, allocations: 120.8 kB / 1.355 GB, free: 14.28 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.7996, allocations: 4 kB / 1.355 GB, free: 14.28 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-07/0.7996, allocations: 0 / 1.355 GB, free: 14.28 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7996, allocations: 3.938 kB / 1.355 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.7996, allocations: 8 kB / 1.355 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-07/0.7996, allocations: 0 / 1.355 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7996, allocations: 4 kB / 1.355 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.7998, allocations: 148.5 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.7998, allocations: 7.938 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.7998, allocations: 7.938 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.7999, allocations: 8.031 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.7999, allocations: 8 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.7999, allocations: 3.984 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.315e-05/0.8, allocations: 79.28 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8, allocations: 0 / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001297/0.8001, allocations: 12 kB / 1.356 GB, free: 13.96 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004134/0.8005, allocations: 0.7102 MB / 1.356 GB, free: 13.21 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.8007, allocations: 138.7 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8007, allocations: 0 / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.8007, allocations: 97.08 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.8008, allocations: 6.438 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.8012, allocations: 164.3 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.523e-05/0.8012, allocations: 51.36 kB / 1.357 GB, free: 12.65 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.695e-05/0.8013, allocations: 11.92 kB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.8013, allocations: 11.56 kB / 1.357 GB, free: 12.63 MB / 1.042 GB Notification: Performance of SimCode: time 8.72e-07/0.8013, allocations: 0 / 1.357 GB, free: 12.63 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08492/0.8862, allocations: 2.516 MB / 1.359 GB, free: 10.27 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/8.422, allocations: 9.766 kB / 1.359 GB, free: 10.26 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu) > Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_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_ExchangeValues.fmu) > Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.238632220774889]