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.0007769/0.0007769, allocations: 80.52 kB / 19.96 MB, free: 4.602 MB / 18.57 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.0007617/0.0007617, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 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.8581/0.8581, allocations: 177.2 MB / 203.6 MB, free: 5.738 MB / 186.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.823/1.823, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.593e-06/1.593e-06, allocations: 0 / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.533e-05, allocations: 2.281 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001325/0.00134, allocations: 0.5637 MB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002021/0.001543, allocations: 95.73 kB / 1.001 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.00157, allocations: 0 / 1.001 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.901e-05/0.001659, allocations: 15.92 kB / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.619e-05/0.001705, allocations: 0 / 1.001 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.004834, allocations: 39.84 kB / 1.001 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.022e-05/0.004925, allocations: 27.92 kB / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.017e-05/0.004965, allocations: 0 / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.005012, allocations: 23.97 kB / 1.001 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.005073, allocations: 11.98 kB / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.005093, allocations: 4 kB / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.079e-05/0.005134, allocations: 7.938 kB / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.005146, allocations: 0 / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.005176, allocations: 23.97 kB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.005289, allocations: 35.89 kB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.005291, allocations: 0 / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.82e-07/0.005292, allocations: 4 kB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.005296, allocations: 0 / 1.002 GB, free: 12.64 MB / 0.9636 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.0003234/0.005619, allocations: 276.1 kB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.005662, allocations: 9.344 kB / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.005695, allocations: 38.69 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.005726, allocations: 4.938 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.442e-05/0.005821, allocations: 109.8 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.005833, allocations: 4.375 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.005845, allocations: 4.375 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.005961, allocations: 79.94 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.005969, allocations: 4.188 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.00598, allocations: 8.312 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.005985, allocations: 4.125 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.963e-05/0.006024, allocations: 37.69 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.006134, allocations: 124.8 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.836e-05/0.006202, allocations: 52.25 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.006242, allocations: 46.61 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-06/0.006246, allocations: 0 / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.00627, allocations: 34.56 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.00627, allocations: 0 / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0002243/0.006494, allocations: 166.7 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.006534, allocations: 88.98 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/0.006595, allocations: 97.8 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.006608, allocations: 25.7 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.006634, allocations: 84.12 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.006658, allocations: 8 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.006695, allocations: 17.72 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.00678, allocations: 314.8 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.006817, allocations: 37.69 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.006853, allocations: 45.94 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.00692, allocations: 84.2 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006922, allocations: 0 / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001195/0.007041, allocations: 121.1 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.007068, allocations: 37.62 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.007073, allocations: 0 / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.007085, allocations: 0 / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.888e-06/0.007089, allocations: 7.938 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007093, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.772e-05/0.007191, allocations: 8.094 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.007202, allocations: 8 kB / 1.003 GB, free: 10.4 MB / 0.9636 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 7.101e-05/0.007273, allocations: 139.5 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.007284, allocations: 4 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.708e-06/0.007294, allocations: 3.156 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.007295, allocations: 0 / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.007299, allocations: 3.938 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.007302, allocations: 0 / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.91e-05/0.007371, allocations: 128.7 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.007371, allocations: 0 / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-06/0.007373, allocations: 4 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.007374, allocations: 4 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.007382, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.007384, allocations: 4 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.007391, allocations: 3.938 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.007522, allocations: 156.4 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.007526, allocations: 0 / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.00754, allocations: 7.984 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.007598, allocations: 4 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003021/0.01062, allocations: 3.938 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.01063, allocations: 8.031 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.01066, allocations: 79.27 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.01066, allocations: 0 / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001963/0.01086, allocations: 16 kB / 1.004 GB, free: 9.746 MB / 0.9636 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.0004238/0.01128, allocations: 0.6933 MB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.01142, allocations: 150.8 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01142, allocations: 0 / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-05/0.01147, allocations: 93.09 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.01161, allocations: 7.938 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.01221, allocations: 168.2 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.687e-05/0.01225, allocations: 59.34 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.01e-05/0.0123, allocations: 4 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.01232, allocations: 8.5 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/0.01232, allocations: 0 / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09443/0.1067, allocations: 2.656 MB / 1.008 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/7.011, allocations: 17.25 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.44161775894463]